diff --git a/src/types/fhir-api-types.ts b/src/types/fhir-api-types.ts index 6a2238ca..c857430e 100644 --- a/src/types/fhir-api-types.ts +++ b/src/types/fhir-api-types.ts @@ -8,6 +8,7 @@ import { Questionnaire, QuestionnaireResponse, ProcedureRequest, + DocumentReference, } from 'fhir/r3'; // These "better" types strongly type the bundle @@ -26,13 +27,14 @@ type BetterBundle = Omit, 'entry'> & { * Add entries to this type to support them in the hooks. */ type FhirResourcesByName = { - Patient: Patient; - Observation: Observation; - Questionnaire: Questionnaire; - QuestionnaireResponse: QuestionnaireResponse; Appointment: Appointment; + DocumentReference: DocumentReference; + Observation: Observation; + Patient: Patient; Practitioner: Practitioner; ProcedureRequest: ProcedureRequest; + Questionnaire: Questionnaire; + QuestionnaireResponse: QuestionnaireResponse; }; /**