@openmrs/esm-api
Version:
The javascript module for interacting with the OpenMRS API
26 lines (24 loc) • 730 B
text/typescript
import { type Concept, type ConceptClass } from './concept-resource';
import { type Encounter } from './encounter-resource';
import { type OpenmrsResource, type OpenmrsResourceStrict } from './openmrs-resource';
import { type Patient } from './patient-resource';
// TODO: make this extends OpenmrsResourceStrict
export interface Diagnosis extends OpenmrsResource {
diagnosis?: {
coded?: {
uuid: string;
display?: string;
name?: Concept;
datatype?: OpenmrsResource;
conceptClass?: ConceptClass;
};
nonCoded?: string;
};
patient?: Patient;
encounter?: Encounter;
certainty?: string;
rank?: number;
formFieldNamespace?: string;
formFieldPath?: string;
voided?: boolean;
}