@documedis/react-components
Version:
React components for Documedis healthcare applications - prescription signing, pharmacy selection, and more
24 lines (23 loc) • 600 B
TypeScript
export * from './components/PharmacySelector';
export * from './components/PrescriptionSign';
export type Environment = 'local' | 'int' | 'demo' | 'prod';
export interface Pharmacy {
id: string;
gln: string;
name: string;
hinEmail?: string;
galenicaChain?: string;
}
export interface DomainError extends Error {
readonly id: string;
readonly timestamp: Date;
readonly code: string;
readonly userMessage: string;
readonly cause?: unknown;
toJSON(): {
type: string;
code: string;
message: string;
};
toHttpStatus(): number;
}