diff --git a/__mocks__/patient.mock.ts b/__mocks__/patient.mock.ts new file mode 100644 index 0000000000..14535779f3 --- /dev/null +++ b/__mocks__/patient.mock.ts @@ -0,0 +1,323 @@ +export const mockFhirPatient: fhir.Patient = { + resourceType: 'Patient', + id: 'bfa09dac-ec9e-47c1-9ad3-e3ebdd5d722d', + meta: { + versionId: '1719312976000', + lastUpdated: '2024-06-25T10:56:16.000+00:00', + }, + text: { + status: 'generated', + div: '
Id: | bfa09dac-ec9e-47c1-9ad3-e3ebdd5d722d |
Identifier: | 100008E |
Active: | true |
Name: | Joshua JOHNSON |
Telecom: | +255777053243 |
Gender: | MALE |
Birth Date: | 25/09/2019 |
Deceased: | false |
Address: | Wakiso Kayunga Uganda |
- {identifier?.type?.text}: {identifier?.value} -
- ); - })} -- {getCoreTranslation('sex', 'Sex')}: {patientDetails.gender} -
-- {t('dob', 'DOB')}: {patientDetails.dateOfBirth} -
-- {getCoreTranslation('age', 'Age')}: {patientDetails.age} -
-