From 31f26a3f41095d877b376e7e511971783901e878 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Tue, 26 May 2026 15:56:15 +0300 Subject: [PATCH 01/10] feat: implement primitive mappings Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 4 +- packages/fhir-eswatini/src/datatypes.ts | 1 + .../src/profiles/SzAppointment.ts | 38 +- .../src/profiles/SzCauseOfDeath.ts | 56 +- .../src/profiles/SzClinicalObservation.ts | 56 +- .../fhir-eswatini/src/profiles/SzCondition.ts | 42 +- .../fhir-eswatini/src/profiles/SzEncounter.ts | 54 +- .../src/profiles/SzEpisodeOfCare.ts | 32 +- .../src/profiles/SzLabRequest.ts | 60 +- .../fhir-eswatini/src/profiles/SzLabResult.ts | 58 +- .../src/profiles/SzLabSpecimen.ts | 34 +- .../fhir-eswatini/src/profiles/SzLocation.ts | 34 +- .../src/profiles/SzMannerOfDeath.ts | 54 +- .../src/profiles/SzMedication.ts | 24 +- .../src/profiles/SzMedicationDispense.ts | 54 +- .../src/profiles/SzMedicationRequest.ts | 60 +- .../src/profiles/SzOrganization.ts | 26 +- .../fhir-eswatini/src/profiles/SzPatient.ts | 67 +- .../src/profiles/SzPractitioner.ts | 26 +- .../fhir-eswatini/src/profiles/SzProcedure.ts | 62 +- .../fhir-eswatini/src/profiles/SzReferral.ts | 64 +- .../src/profiles/SzVitalSigns.ts | 56 +- .../test/resources/Patient.test.ts | 17 + packages/fhir-eswatini/types/builders.d.ts | 793 ++---------------- packages/fhir-eswatini/types/datatypes.d.ts | 10 + tools/generate-fhir/src/generate-code.ts | 128 +++ tools/generate-fhir/src/generate-schema.ts | 21 +- .../generate-fhir/test/generate-code.test.ts | 63 ++ 28 files changed, 788 insertions(+), 1206 deletions(-) create mode 100644 packages/fhir-eswatini/types/datatypes.d.ts diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index 2dabce4013..dd33a754aa 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -15,8 +15,8 @@ "type": "module", "fhir": { "specUrl": "http://172.209.216.154/definitions.json.zip", - "adaptorGeneratedDate": "2026-03-30T13:45:30.759Z", - "generatorVersion": "0.7.7", + "adaptorGeneratedDate": "2026-05-26T12:39:06.711Z", + "generatorVersion": "0.7.8", "options": {} }, "dependencies": { diff --git a/packages/fhir-eswatini/src/datatypes.ts b/packages/fhir-eswatini/src/datatypes.ts index 8c610b36c2..4abe30dd66 100644 --- a/packages/fhir-eswatini/src/datatypes.ts +++ b/packages/fhir-eswatini/src/datatypes.ts @@ -7,6 +7,7 @@ export const { coding, composite, concept, + ensureConceptText, ext, extendSystemMap, extendValues, diff --git a/packages/fhir-eswatini/src/profiles/SzAppointment.ts b/packages/fhir-eswatini/src/profiles/SzAppointment.ts index 97fe518619..f15e12fd7b 100644 --- a/packages/fhir-eswatini/src/profiles/SzAppointment.ts +++ b/packages/fhir-eswatini/src/profiles/SzAppointment.ts @@ -4,41 +4,41 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Appointment_SzAppointment_Props = { - appointmentType?: FHIR.CodeableConcept; - basedOn?: FHIR.Reference[]; - cancelationReason?: FHIR.CodeableConcept; + appointmentType?: CodeableConcept; + basedOn?: Reference[]; + cancelationReason?: CodeableConcept; comment?: string; contained?: any[]; created?: string; description?: string; end?: string; - extension?: FHIR.Extension[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - meta?: FHIR.Meta; + meta?: Meta; minutesDuration?: number; - modifierExtension?: FHIR.Extension[]; - participant?: FHIR.BackboneElement[]; + modifierExtension?: Extension[]; + participant?: BackboneElement[]; patientInstruction?: string; priority?: number; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - requestedPeriod?: FHIR.Period[]; - serviceCategory?: FHIR.CodeableConcept[]; - serviceType?: FHIR.CodeableConcept[]; - slot?: FHIR.Reference[]; - specialty?: FHIR.CodeableConcept[]; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + requestedPeriod?: Period[]; + serviceCategory?: CodeableConcept[]; + serviceType?: CodeableConcept[]; + slot?: Reference[]; + specialty?: CodeableConcept[]; start?: string; status?: string; - supportingInformation?: FHIR.Reference[]; - text?: FHIR.Narrative; + supportingInformation?: Reference[]; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts b/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts index 91b22b99eb..e1c0ecc319 100644 --- a/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts +++ b/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Observation_SzCauseOfDeath_Props = { - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept; - category?: FHIR.CodeableConcept[]; - code?: FHIR.CodeableConcept; - component?: FHIR.BackboneElement[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept; + category?: CodeableConcept[]; + code?: CodeableConcept; + component?: BackboneElement[]; contained?: any[]; - dataAbsentReason?: FHIR.CodeableConcept; - derivedFrom?: FHIR.Reference[]; - device?: FHIR.Reference; - effective?: string | FHIR.Period | FHIR.Timing; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focus?: FHIR.Reference[]; - hasMember?: FHIR.Reference[]; + dataAbsentReason?: CodeableConcept; + derivedFrom?: Reference[]; + device?: Reference; + effective?: string | Period | Timing; + encounter?: Reference; + extension?: Extension[]; + focus?: Reference[]; + hasMember?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - interpretation?: FHIR.CodeableConcept[]; + interpretation?: CodeableConcept[]; issued?: string; language?: string; - meta?: FHIR.Meta; - method?: FHIR.CodeableConcept; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.Reference[]; - referenceRange?: FHIR.BackboneElement[]; - specimen?: FHIR.Reference; + meta?: Meta; + method?: CodeableConcept; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: Reference[]; + referenceRange?: BackboneElement[]; + specimen?: Reference; status?: string; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - value?: FHIR.CodeableConcept; + subject?: Reference; + text?: Narrative; + value?: CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts b/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts index 18b68bb6cb..34fe558682 100644 --- a/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts +++ b/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Observation_SzClinicalObservation_Props = { - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept; - category?: FHIR.CodeableConcept[]; - code?: FHIR.CodeableConcept; - component?: FHIR.BackboneElement[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept; + category?: CodeableConcept[]; + code?: CodeableConcept; + component?: BackboneElement[]; contained?: any[]; - dataAbsentReason?: FHIR.CodeableConcept; - derivedFrom?: FHIR.Reference[]; - device?: FHIR.Reference; - effective?: string | FHIR.Period | FHIR.Timing; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focus?: FHIR.Reference[]; - hasMember?: FHIR.Reference[]; + dataAbsentReason?: CodeableConcept; + derivedFrom?: Reference[]; + device?: Reference; + effective?: string | Period | Timing; + encounter?: Reference; + extension?: Extension[]; + focus?: Reference[]; + hasMember?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - interpretation?: FHIR.CodeableConcept[]; + interpretation?: CodeableConcept[]; issued?: string; language?: string; - meta?: FHIR.Meta; - method?: FHIR.CodeableConcept; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.Reference[]; - referenceRange?: FHIR.BackboneElement[]; - specimen?: FHIR.Reference; + meta?: Meta; + method?: CodeableConcept; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: Reference[]; + referenceRange?: BackboneElement[]; + specimen?: Reference; status?: string; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - value?: FHIR.Quantity | FHIR.CodeableConcept | string | boolean | number | FHIR.Range | FHIR.Ratio | FHIR.SampledData | FHIR.Period; + subject?: Reference; + text?: Narrative; + value?: Quantity | CodeableConcept | string | boolean | number | Range | Ratio | SampledData | Period; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzCondition.ts b/packages/fhir-eswatini/src/profiles/SzCondition.ts index e110ff2fd1..4dbc3f6fe4 100644 --- a/packages/fhir-eswatini/src/profiles/SzCondition.ts +++ b/packages/fhir-eswatini/src/profiles/SzCondition.ts @@ -4,36 +4,36 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Condition_SzCondition_Props = { - abatement?: string | FHIR.Age | FHIR.Period | FHIR.Range; - asserter?: FHIR.Reference; - bodySite?: FHIR.CodeableConcept[]; - category?: FHIR.CodeableConcept[]; - clinicalStatus?: FHIR.CodeableConcept; - code?: FHIR.CodeableConcept; + abatement?: string | Age | Period | Range; + asserter?: Reference; + bodySite?: CodeableConcept[]; + category?: CodeableConcept[]; + clinicalStatus?: CodeableConcept; + code?: CodeableConcept; contained?: any[]; - encounter?: FHIR.Reference; - evidence?: FHIR.BackboneElement[]; - extension?: FHIR.Extension[]; + encounter?: Reference; + evidence?: BackboneElement[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; onset?: string; recordedDate?: string; - recorder?: FHIR.Reference; - severity?: FHIR.CodeableConcept; - stage?: FHIR.BackboneElement[]; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - verificationStatus?: FHIR.CodeableConcept; + recorder?: Reference; + severity?: CodeableConcept; + stage?: BackboneElement[]; + subject?: Reference; + text?: Narrative; + verificationStatus?: CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzEncounter.ts b/packages/fhir-eswatini/src/profiles/SzEncounter.ts index b824626a04..247e0d4a16 100644 --- a/packages/fhir-eswatini/src/profiles/SzEncounter.ts +++ b/packages/fhir-eswatini/src/profiles/SzEncounter.ts @@ -4,42 +4,42 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Encounter_SzEncounter_Props = { - account?: FHIR.Reference[]; - appointment?: FHIR.Reference[]; - basedOn?: FHIR.Reference[]; + account?: Reference[]; + appointment?: Reference[]; + basedOn?: Reference[]; class?: "OPD" | "IPD" | "CO" | "SO" | "Outpatient Department" | "Inpatient Department" | "Community Outreach" | "Schools Outreach"; - classHistory?: FHIR.BackboneElement[]; + classHistory?: BackboneElement[]; contained?: any[]; - diagnosis?: FHIR.BackboneElement[]; - episodeOfCare?: FHIR.Reference[]; - extension?: FHIR.Extension[]; - hospitalization?: FHIR.BackboneElement; + diagnosis?: BackboneElement[]; + episodeOfCare?: Reference[]; + extension?: Extension[]; + hospitalization?: BackboneElement; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - length?: FHIR.Duration; - location?: FHIR.BackboneElement[]; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - partOf?: FHIR.Reference; - participant?: FHIR.BackboneElement[]; - period?: FHIR.Period; - priority?: FHIR.CodeableConcept; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - serviceProvider?: FHIR.Reference; - serviceType?: FHIR.CodeableConcept; + length?: Duration; + location?: BackboneElement[]; + meta?: Meta; + modifierExtension?: Extension[]; + partOf?: Reference; + participant?: BackboneElement[]; + period?: Period; + priority?: CodeableConcept; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + serviceProvider?: Reference; + serviceType?: CodeableConcept; status?: string; - statusHistory?: FHIR.BackboneElement[]; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - type?: FHIR.CodeableConcept[]; + statusHistory?: BackboneElement[]; + subject?: Reference; + text?: Narrative; + type?: CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts b/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts index 30d2ff3324..d54cba34ed 100644 --- a/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts +++ b/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts @@ -4,30 +4,30 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type EpisodeOfCare_SzEpisodeOfCare_Props = { - account?: FHIR.Reference[]; - careManager?: FHIR.Reference; + account?: Reference[]; + careManager?: Reference; contained?: any[]; - diagnosis?: FHIR.BackboneElement[]; - extension?: FHIR.Extension[]; + diagnosis?: BackboneElement[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - managingOrganization?: FHIR.Reference; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - patient?: FHIR.Reference; - period?: FHIR.Period; - referralRequest?: FHIR.Reference[]; + managingOrganization?: Reference; + meta?: Meta; + modifierExtension?: Extension[]; + patient?: Reference; + period?: Period; + referralRequest?: Reference[]; status?: string; - statusHistory?: FHIR.BackboneElement[]; - team?: FHIR.Reference[]; - text?: FHIR.Narrative; + statusHistory?: BackboneElement[]; + team?: Reference[]; + text?: Narrative; type?: "tbds" | "tbdr" | "anc" | "fp" | "art" | "prep" | "TB DS" | "TB DR" | "ANC" | "Family Planning" | "ART" | "PrEP"; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabRequest.ts b/packages/fhir-eswatini/src/profiles/SzLabRequest.ts index e082a43468..11820590ad 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabRequest.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabRequest.ts @@ -4,52 +4,52 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type ServiceRequest_SzLabRequest_Props = { - asNeeded?: boolean | FHIR.CodeableConcept; + asNeeded?: boolean | CodeableConcept; authoredOn?: string; - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept[]; - category?: FHIR.CodeableConcept[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept[]; + category?: CodeableConcept[]; code?: "CD4" | "AST" | "CREA" | "HB" | "LFT" | "HIVVL" | "ICUP" | "GGT" | "KFT" | "CARDE" | "ART" | "ELECT" | "GLUCF" | "GLUCR" | "GTT" | "CL" | "K" | "NA" | "CO2" | "UA" | "CREAC" | "TBIL" | "BILI" | "ALP" | "ALT" | "ALB" | "TPROT" | "CK" | "CKMB" | "MYOG" | "TROPI" | "MAG" | "PO4" | "CAL" | "LDH" | "TRIG" | "LDL" | "HDL" | "CHOL" | "AMY" | "LACT" | "CRP" | "LIPAS" | "HBA1C" | "M-TP" | "FBC" | "DIFF" | "ESR" | "RET" | "COOMB" | "SICKL" | "MAL" | "MALPC" | "MALS" | "PT" | "APTT" | "PI" | "BTIME" | "DDIME" | "TFT" | "T3" | "T4" | "TSH" | "LH" | "FSH" | "E2" | "PROG" | "PRL" | "TESTO" | "CORT" | "PTH" | "HCGSU" | "HCGSB" | "ABORH" | "RPR" | "TPHA" | "PSSA" | "BHCG" | "AFP" | "CA153" | "CA125" | "CEA" | "CA199" | "GRAM" | "MCSF" | "CSF" | "CRINK" | "SEMEN" | "HIVR" | "HIVE" | "HIPOC" | "LCRAG" | "TOXO" | "HELIP" | "HEAG" | "HBCAB" | "HEPC" | "QCRPR" | "WIDAL" | "RF" | "ASOT" | "XMAT" | "HLAX" | "ANISC" | "DCT" | "ICT" | "IGGS" | "ZN1" | "CUBFL" | "HIVGE" | "TROPT" | "UCHEM" | "CRAG" | "CRGLF" | "TBLAM" | "17OPH" | "A1ATR" | "ACA" | "ACE" | "ACERA" | "ACLA" | "ACOLA" | "ACTH" | "ADENO" | "ADNA" | "ALDOS" | "AMITA" | "AMYU" | "ANA" | "ANCA" | "ANDRO" | "ANTBG" | "ANTE" | "AUR1" | "AUR2" | "AUR3" | "AUR4" | "BFCC" | "BG" | "BGAS" | "BGRP" | "BHCG2" | "BM" | "BNP" | "BPARA" | "BPARM" | "C/UP" | "C1EST" | "CA724" | "CAERU" | "CALCI" | "CALCT" | "CARB" | "CATS" | "CHLAM" | "CMP" | "CMV" | "CPEPT" | "CPROT" | "CRPS" | "CSFA" | "CSFAG" | "CSFC" | "CUCSF" | "CULFU" | "CULMY" | "CULPU" | "CULSP" | "CUTUP" | "CYTCO" | "DBILI" | "DBSGE" | "DCRT" | "DIFFM" | "DIFFF" | "DRUGR" | "DRUGS" | "E2M" | "EQAM1" | "FDP" | "FE" | "FERR" | "FERRX" | "FGLU" | "FNA" | "FPROT" | "GLOB" | "GLUC" | "GLUCS" | "GNBST" | "GPCST" | "GROUP" | "GTT2" | "GTT4" | "GYN" | "GYNAE" | "HBELE" | "HBSAB" | "HBSAG" | "HELIC" | "HEPAG" | "HEPAM" | "HEPD" | "HEPE" | "HERP" | "HGH" | "HI2DF" | "HISIN" | "HISSU" | "HISTO" | "HISTX" | "HIV48" | "HIVA" | "HIVC" | "HIVCW" | "HIVLD" | "HIVPC" | "HIVP" | "HIVST" | "HIVWB" | "HSAGR" | "HSV" | "HVART" | "HYS" | "ICD10" | "IGE" | "INR" | "IRONX" | "LALB" | "LCHOL" | "LCOT" | "LCREA" | "LESR" | "LFBC" | "LGGT" | "LGLPF" | "LGLPR" | "LGLUF" | "LGLUR" | "LHBA1" | "LHDL" | "LI" | "LIPO" | "LRF" | "LUPUS" | "LUR" | "MALB" | "MBCAT" | "MBCLT" | "MBFAM" | "MBFAS" | "MBFCA" | "MBFL" | "MBFLU" | "MBFPE" | "MBFPL" | "MBFSY" | "MBTRA" | "MBUCT" | "MBUMC" | "MCES" | "MEAS" | "MENDC" | "MEYE" | "MGAS" | "MICBC" | "MICFL" | "MICNS" | "MICSA" | "MICTS" | "MICU" | "MONO" | "MPEN" | "MPT64" | "MPUS" | "MRCSW" | "MSPUT" | "MSTRS" | "MTISS" | "MUMPS" | "MUPS" | "MWUS" | "MYGT" | "MYMIC" | "MYOB" | "NGYN" | "MFOB" | "PARA" | "PBILI" | "PBS" | "PCRAP" | "PCTR" | "PHENB" | "PHENY" | "PHVS" | "PLAT" | "PM" | "POLIO" | "POSTM" | "POSTX" | "PRD" | "PROT" | "PRT24" | "PSA" | "PTT" | "RA" | "RAPI2" | "RCCHE" | "RH" | "ROTA" | "ROTPC" | "RUB" | "SADA" | "SCREA" | "SEICU" | "SENFA" | "SENGN" | "SENGP" | "SENSA" | "SENST" | "SENSU" | "SHBG" | "STDM" | "STOOL" | "TBA1" | "TBA2" | "TBA3" | "TBBA" | "TBCL" | "TBCL1" | "TBCL2" | "TBCL3" | "TBCON" | "TBEQA" | "TBGEN" | "TBHCG" | "TBILI" | "TBINF" | "TBLP1" | "TBLP2" | "TBLP3" | "TBLP" | "TBLPS" | "TBLSF" | "TBPC1" | "TBPC2" | "TBPC3" | "TBRAP" | "TBRP1" | "TBRP2" | "TBRP3" | "TBSF1" | "TBSF2" | "TBSF3" | "TBSFF" | "TBSS" | "TBSS2" | "TBSS3" | "TBSSF" | "TBZ" | "TBZ1" | "TBZ2" | "TBZ3" | "TBZN" | "TBZN1" | "TBZN2" | "TBZN3" | "THCGB" | "TT3" | "TTA" | "LURIC" | "UBHCG" | "UBJP" | "UCREA" | "UCUL" | "UE" | "UECA" | "UECA+" | "UMAC" | "UMIC" | "UPREG" | "UPROT" | "UREA" | "VALPR" | "VDRL" | "VLPOC" | "VMAC" | "VZV" | "WBCP" | "WCC" | "WF" | "YELLO" | "ZN" | "ZN2" | "ZN3" | "TBSF" | "QHCG" | "CVID" | "CVRP" | "MEASL" | "CD4 Test" | "AST (Aspartate Transaminase)" | "Creatinine " | "Haemoglobin" | "Liver Function Tests - Profile" | "HIV Viral Load (Plasma)" | "ICU- Profile" | "Gamma-Glutamyl Transferase GGT" | "Kidney Function Test - Profile" | "Cardiac Enzymes" | "ART Baseline - Profile" | "Electrolytes - Profile" | "Glucose (Fasting)" | "Glucose (Random)" | "Glucose Tolerance Test" | "S-Chloride" | "S-Potassium" | "S-Sodium" | "S-Carbon Dioxide" | "Uric Acid" | "Creatinine Clearance" | "Total Bilirubin" | "Total and Direct Bilirubin" | "Alkaline Phosphatase" | "ALT (Alanine Aminotransferase)" | "Albumin" | "Total Protein" | "Creatine Kinase (CK)" | "Creatine Kinase (MB-Frac)" | "Myoglobin" | "S-Troponin I" | "S-Magnesium" | "Phosphate" | "S-Calcium" | "Lactate Dehydrogenase (LD)" | "Triglyceride" | "LDL - Cholesterol" | "HDL - Cholesterol" | "Total Cholesterol" | "Serum Amylase" | "Lactate" | "C-Reactive Protein (CRP)" | "Lipase (Serum)" | "Glycated Haemoglobin (HbA1C)" | "Micro Total Protein" | "FBC (Full Blood Count)" | "Differential Count" | "ESR (Westergren)" | "Reticulocyte Studies" | "Coombs Test" | "Sickle Cells Screen" | "Malaria" | "Malaria: PCR" | "Malaria Smear: Parasitemia" | "Prothrombin Time(INR/PI)" | "Partial Thromboplastin Time" | "Prothrombin Time (INR/PI)" | "Bleeding Time" | "D-Dimer" | "Thyroid Function Tests " | "Free Tri-iodothyronine (FT3)" | "Free Thyroxine (T4)" | "Thyroid Stimulating Hormone" | "Luteinising Hormone" | "Follicle Stimulating Hormone" | "17 b Oestradial (E2)" | "Progesterone" | "Prolactin" | "Testosterone" | "Cortisol" | "Parathyroid Hormone" | "Qualitative -HCG (Urine)" | "Qualitative  -HCG" | "ABO + Rh Group" | "Syphilis RPR" | "TPHA" | "ANTIBIOTIC SENS: PSA" | "Beta-HCG (Pregnancy Test)" | "Alfa Feto Protein" | "CA15-3" | "CA125" | "Carcino-embryonic Antigen" | "CA19-9" | "MICROBIOLOGY : GRAM STAIN" | "MICROBIOLOGY : CSF" | "CSF Chem Profile" | "India Ink Stain" | "Semen Analysis" | "HIV Rapid Test" | "HIV ELISA" | "Point of Care DNA PCR" | "LFA Cryptococal Antigen" | "Toxoplasmosis Test" | "MICROBIOLOGY : H.pylori" | "Hepatitis A IgG" | "Hepatitis B Core Antibodies" | "Hepatitis C Antibodies" | "QC RPR" | "Widal" | "Rheumatoid Factor" | "Anti-Streptolysin O Test" | "Cross Match" | "Grouping/Crossmatch" | "Antibody Screening (^Bbloodban" | "Direct Coombs Test" | "Indirect Coomb's Test" | "IMMUNOGLOBULINS" | "Smear Microscopy 1" | "Culture : Body Fuilds" | "HIV GENE XPERT" | "Troponin-T" | "Biochemistry : Urine (Dipstick)" | "CRAG (CSF)" | "CRAG (LFA) Blood" | "TB LAM Ag TEST" | "17 Hydroxyprogesterone" | "Alpha-1-antitrypsin" | "Anti-Centromere Antibodies" | "Angiotensin Converting Enzyme" | "Acetylcholine Receptor Ab's" | "Anti-Cardiolipin Antibodies" | "Anti-Collagen Antibodies" | "Adrenocorticotrophic Hormone" | "ADENO" | "Anti-Double Stranded DNA" | "Aldosterone" | "Anti-Mitochondrial Antibodies" | "Urine Amylase" | "Anti-Nuclear Antibodies" | "Anti-Neutrophil Cytoplasmic Ab" | "Androstenedione" | "Blood Group + Rh" | "Antenatal Screening" | "TB Auramine Specimen 1" | "TB Auramine Specimen 2" | "TB Auramine Specimen 3" | "TB Auramine Specimen 4" | "Cell Count : Body Fluid" | "Blood Group + Rh" | "Blood Gases" | "Blood grouping" | "HCG TOTAL BETA 2" | "Bone Marrow Report" | "B-Type Natriuretic Peptide" | "Blood Parasite Investigation" | "Blood Parasites" | "Cutup" | "C1 Esterase Inhibitor Assay" | "CA 72-4" | "Caeruloplasmin" | "Calcitonin" | "1.25 Dihydroxy Vitamin D" | "S-Carbamazepine" | "U-Catecholamines" | "Antibody test for Chlamydia" | "Calcium,Magnesium,PO4" | "CYTOMEGALOVIRUS" | "C-Peptide" | "CSF PROTEIN" | "CRP Serology" | "CSF Analysis" | "BACTERIAL ANTIGEN TESTS" | "Cell Count : CSF" | "CULTURE : CSF" | "MYCOLOGY" | "Mycology Culture" | "Culture : PUS" | "Culture : Sputum" | "Histo Cut Up (Dummy)" | "Gynaecological Detail" | "Conjugated Bilirubin (Direct)" | "Dry Blood Spot Gene Xpert" | "1:20 Diluted CRT" | "Differential Count" | "Diff Micro" | "Drug Resistance Testing" | "DRUG SCREEN" | "Oestradiol" | "Microbiology EQA" | "Fibrinogen Deg. Products (FDP)" | "S-Iron" | "Ferritin" | "S-Ferritin" | "Fluid-Glucose" | "Fine Needle Biopsy" | "F-Total Protein" | "Globulin" | "Glucose" | "Glucose Strip" | "GNB Sensitivity Testing" | "GPC Sensitivity testing" | "Blood Group Serology" | "GTT - 2 hourly" | "GTT Prolonged" | "Gynaecological Cytology" | "MICROSCOPIC EXAMINATION" | "Haemoglobin Electrophoresis" | "Hepatitis B Surface Antibody" | "Hepatitis B Surface Antigen" | "Helicobacter pylori Antibodies" | "Hepatitis A (IgG)(Immunity)" | "Hepatitis A IgM" | "HEPATITIS D INVESTIGATION" | "HEPATITIS E INVESTIGATION" | "Herpes simplex virus" | "Human Growth Hormone" | "HIV Viral Load (DBS)" | "CLINICAL HISTORY" | "Supplementary Report" | "MACROSCOPIC EXAMINATION" | "Histo Extended text" | "CD4 + CD8*" | "HIV ASANTE" | "HIV Ag/Ab Combo" | "Child Welfare Number" | "HIV Viral Load*" | "HIV DNA PCR" | "HIV RAPID TEST" | "HIV EID Information" | "HIV DNA PCR : Whole Blood" | "HepB surface antigen Rapid" | "Herpes simplex Virus" | "ART Number" | "Homocysteine" | "ICD10" | "Total IgE" | "INR" | "S-IRON STUDIES" | "ALBUMIN" | "S-Cholesterol" | "Cotinine ELISA" | "Creatinine" | "ESR (Westergren)" | "Full Blood Count" | "Gamma Glutamyl Transferase" | "P-Glucose (Fasting)" | "P-Glucose (Random)" | "S-Glucose (Fasting)" | "S-Glucose (Random)" | "HbA1C" | "HDL Cholesterol" | "S-Lithium" | "Lipogram" | "Rheumatoid factor" | "Lupus anticoagulant" | "Urea" | "Micro-albumin" | "Microbiology: Catheter Tip" | "Microbiology: Catheter Line Ti" | "MICROBIOLOGY:AMNIOTIC FLUID" | "MICROBIOLOGY : ASCITIC FLUID" | "MICROBIOLOGY:PERICARDIAL FLUID" | "Microbiology:Body Fluid" | "Microbiology:Body Fluid" | "MICROBIOLOGY:PERITONEAL FLUID" | "MICROBIOLOGY:PLEURAL FLUID" | "MICROBIOLOGY:SYNOVIAL FLUID" | "Microbiology: Tracheal Tip" | "Microbiology: Urinary Catheter" | "Microbiology:Umbilical Cathete" | "MICROBIOLOGY : CERVICAL SWAB" | "MICROBIOLOGY : EAR SWAB" | "MICROBIOLOGY:ENDOCERVICAL SWAB" | "MICROBIOLOGY : EYE SWAB" | "MICROBIOLOGY : GASTRIC ASP" | "MICROBIOLOGY: BLOOD CULTURE" | "MICROBIOLOGY : FLUID" | "MICROBIOLOGY : NASAL SWAB" | "Microscopy - Sexual Assault" | "MICROBIOLOGY : THROAT SWAB" | "MICROBIOLOGY: URINE" | "Epstein Barr Ser-Mono Test" | "MICROBIOLOGY : PENILE SWAB" | "MPT64 Rapid" | "MICROBIOLOGY : PUS" | "MICROBIOLOGY : RECTAL SWAB" | "MICROBIOLOGY : SPUTUM" | "MICROBIOLOGY : STOOL CULTURE" | "MICROBIOLOGY : TISSUE" | "Mumps Serology (ELISA)" | "MICROBIOLOGY : URETHRAL SWAB" | "MICROBILOLOGY: Wound Swab" | "Germ Tube Test" | "Microscopy for Fungi" | "Myogloblin (Serum)" | "Non-Gynaecological Cytology" | "Faecal Occult Blood" | "Parasitology:Urine" | "Neonatal Bilirubin" | "Peripheral Blood Smear" | "Factor V Leiden Mutation" | "Procalcitonin" | "Phenobarbitone" | "S-Phenytoin" | "PARASITOLOGY: VAGINAL SWAB" | "Platelets" | "Post-Mortem Examination" | "Polio Neutralisation Serology" | "POST MORTEM REPORT" | "Postmorten Supplement" | "Pregnandiol" | "Total Protein & Albumin" | "Urine Protein (24 hr)" | "Prostate Specific Antigen" | "Part Thromboplastin Time (PTT)" | "RA Latex Test" | "HIV Rapid Repeat" | "Cholinesterase" | "RHESUS FACTOR" | "Rotavirus Antigen EIA Test" | "Rotavirus: PCR" | "Rubella Serology" | "Adenosine Deaminase" | "Creatinine Clearance" | "SENS ICU" | "ANTIBIOTIC SUSCEPTIBILITY" | "ANTIBIOTIC SENS: GN" | "ANTIBIOTIC SENS: GP" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: URINE" | "Sex Hormone Binding Globulin" | "Direct Microscopy : Stool" | "Stool Microscopy" | "TB Microscopy Auramine 1" | "TB Microscopy Auramine 2" | "TB Microscopy Specimen 3" | "TB Blood Agar (TB Nat Ref)" | "TB Culture" | "TB Culture 1" | "TB Culture 2" | "TB Culture 3" | "TB Control" | "TB EQA" | "TB Genexpert" | "S-HCG Total Beta" | "S-Total Bilirubin" | "TB Diagnosis Information" | "TB Line Probe SP1" | "TB Line Probe SP2" | "TB Line Probe SP3" | "TB First Line -Line Probe Assay" | "TB Second Line -Line Probe Assay" | "2nd Line Probe Assay Final" | "TB PCR Specimen 1" | "TB PCR Specimen 2" | "TB PCR Specimen 3" | "TB Capilia Rapid Test" | "TB Capilia Rapid ID Test SP1" | "TB Capilia Rapid ID Test SP2" | "TB Capilia Rapid ID Test SP3" | "TB First Line Sens 1" | "TB First Line Sens 2" | "TB First Line Sens 3" | "TB First Line Sens Final" | "TB Second Line DST" | "TB Seconde Line Sens 2" | "TB Seconde Line Sens 3" | "TB Second Line Final" | "TBZN TB National Ref Lab" | "TB Direct Microscopy Spec. 1" | "TB Direct Microscopy Spec. 2" | "TB Direct Microscopy Spec. 3" | "TB Smear Microscopy" | "TBZN SP1" | "TBZN SP2" | "TBZN SP3" | "S-TOTAL HCG Beta" | "Total Tri-iodothyronine (TT3)" | "Tetanus Serology" | "Uric Acid" | "Urine Beta-HCG (Preg Test)" | "Urine Bence Jones Protein" | "Creatine Clearance" | "CULTURE : Urine" | "Urea & electrolytes" | "Urea, Electrolytes & Creatinin" | "Urea, Elec, Creat & eGFR" | "MACROSCOPY : Urine" | "MICROSCOPY : Urine" | "Urine Pregnancy Test" | "Total Protein (Urine)" | "Urea" | "S-Valproate" | "VDRL" | "HIV VIRAL LOAD (POC)" | "Vanillylmandelic Acid" | "VARICELLA-ZOSTER SEROLOGY" | "White Cell Count + Platelets" | "White Cell Count" | "WEIL FELIX" | "Yellow Fever" | "TBZN" | "Smear Microscopy 2" | "TBZN Specimen 3" | "TB First Line DST" | "Quantitative Beta-HCG (Blood)" | "PCR SARS-CoV-2" | "COVID-19 Ag Rapid Test" | "Measles"; contained?: any[]; doNotPerform?: boolean; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; + encounter?: Reference; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: FHIR.Reference[]; + insurance?: Reference[]; intent?: string; language?: string; - locationCode?: FHIR.CodeableConcept[]; - locationReference?: FHIR.Reference[]; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - occurrence?: string | FHIR.Period | FHIR.Timing; - orderDetail?: FHIR.CodeableConcept[]; + locationCode?: CodeableConcept[]; + locationReference?: Reference[]; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + occurrence?: string | Period | Timing; + orderDetail?: CodeableConcept[]; patientInstruction?: string; - performer?: FHIR.Reference[]; - performerType?: FHIR.CodeableConcept; + performer?: Reference[]; + performerType?: CodeableConcept; priority?: string; - quantity?: FHIR.Quantity | FHIR.Ratio | FHIR.Range; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - relevantHistory?: FHIR.Reference[]; - replaces?: FHIR.Reference[]; - requester?: FHIR.Reference; - requisition?: FHIR.Identifier; - specimen?: FHIR.Reference[]; + quantity?: Quantity | Ratio | Range; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + relevantHistory?: Reference[]; + replaces?: Reference[]; + requester?: Reference; + requisition?: Identifier; + specimen?: Reference[]; status?: string; - subject?: FHIR.Reference; - supportingInfo?: FHIR.Reference[]; - text?: FHIR.Narrative; + subject?: Reference; + supportingInfo?: Reference[]; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabResult.ts b/packages/fhir-eswatini/src/profiles/SzLabResult.ts index b0f8e994d3..c09d7afd32 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabResult.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabResult.ts @@ -4,45 +4,45 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Observation_SzLabResult_Props = { - authorizer?: FHIR.Reference[]; - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept; - category?: FHIR.CodeableConcept[]; + authorizer?: Reference[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept; + category?: CodeableConcept[]; code?: "NIT" | "UG" | "UP" | "UPH" | "UBILI" | "UKET" | "ULEST" | "N/A" | "#BAND" | "#BASO" | "#EOS" | "#IG" | "#LYM" | "#META" | "#MONO" | "#MYEL" | "#NEUT" | "#PROM" | "%BJP" | "%BSAT" | "%HBA1" | "%SAT" | "17AHQ" | "1ST" | "2ND" | "A1ATR" | "A1CEL" | "A2CEL" | "ABAC" | "ABNO" | "ABO" | "ABRH" | "ABRH1" | "ABRH2" | "ABRH3" | "ABRH4" | "ACA" | "ACAS" | "ACEA" | "ACEAB" | "ACLA" | "ACLAG" | "ACLAM" | "ACOLA" | "ACTH" | "ACTHI" | "ACTHO" | "ADATE" | "ADENO" | "ADNA" | "ADNAM" | "ADNAR" | "ADNAS" | "AFB" | "AFP" | "AGHT" | "AHE" | "AHEAL" | "AHG" | "AK" | "AK1" | "ALDOQ" | "ALDOS" | "AMC" | "AMIK" | "AMITA" | "AMITT" | "AMOX" | "AMOX1" | "AMP" | "AMPHE" | "AMPIC" | "ANAH" | "ANCN" | "ANCP" | "ANDRS" | "ANION" | "ANTAB" | "ANTIA" | "ANTIB" | "ANTID" | "APCA" | "APP" | "APPEA" | "APPET" | "APPF" | "APPS" | "APTC" | "APTT" | "ARTN" | "ARTTX" | "ARVID" | "ARVO" | "ARVO1" | "ARVO2" | "ARVO3" | "ARVS" | "ARVT1" | "ARVT2" | "ARVT3" | "ASKMA" | "ASL" | "ASMA" | "ASOT" | "ASPR" | "AST" | "AUG" | "AUG1" | "B2GPG" | "B2GPM" | "BACET" | "BACT" | "SALB" | "BAND#" | "BAND%" | "BARB" | "BARES" | "BASA#" | "BASA%" | "BASO#" | "BASO%" | "BAUTO" | "BBCOM" | "BBTXT" | "BCEL" | "BCULT" | "BE" | "BENZO" | "BENZV" | "BG" | "BHCG2" | "BIOCH" | "BIRON" | "BLST#" | "BLST%" | "BMTXT" | "BPH" | "BPROC" | "BREAS" | "BROMS" | "BS1" | "BS2" | "BSA" | "BSCR1" | "BSCR2" | "BSCR3" | "BTFN" | "BTIME" | "BTNP" | "BTYPE" | "BUA" | "BV" | "C125B" | "C15-3" | "C1EI" | "C1ESC" | "C1ESI" | "C3" | "C4" | "C6" | "CA199" | "CA724" | "CABCO" | "CABFL" | "CABVA" | "CACOR" | "CAERU" | "CALCL" | "CALCN" | "CALCO" | "CANN" | "CANNQ" | "CAPIL" | "CAPP" | "CARB" | "CAREH" | "CASTS" | "CATSC" | "CATSO" | "CBAC" | "CCL" | "CCLEA" | "CCNT" | "CCOM" | "CCON" | "CCOO" | "CCREM" | "CCULT" | "CD3" | "CD3L" | "CD4" | "CD45" | "CD4L" | "CD8" | "CD8L" | "CEFAZ" | "CEFO1" | "CEFOT" | "CEFOX" | "CEFTA" | "CEPHA" | "CEPHR" | "CERYT" | "CGLOB" | "CGLU" | "CHEMC" | "CHEMF" | "CHEMH" | "CHEMO" | "CHEMU" | "CHILD" | "CHIST" | "CHLDN" | "CHLET" | "CHLLV" | "CHLO1" | "CHLOG" | "CHLOR" | "CHLPN" | "CHLPS" | "CHLTR" | "CHM" | "CHR" | "CIPR1" | "CIPRO" | "CLAR" | "CLIND" | "CLOD" | "CLODA" | "CLTR" | "CLTRE" | "CLUE" | "CMGFL" | "CMGVA" | "CMMFL" | "CMMVA" | "COCAI" | "COL" | "COLI" | "COLM" | "COM" | "COMAL" | "COMCL" | "CONCE" | "CONSE" | "COOMB" | "CORWC" | "COTR" | "COTR1" | "COTRI" | "COUN" | "COXVI" | "CPEP2" | "CPROT" | "CRES" | "CRINK" | "CRO" | "CROSM" | "CRP" | "CRPS" | "CRPT" | "CRYLF" | "CRYP" | "CRYST" | "CRYTI" | "CSOB" | "CTIME" | "CTITR" | "CTX" | "CTXT" | "CUTC" | "CUTP" | "CUTS" | "CWBC" | "CWTX" | "CYADE" | "CYADH" | "CYBGH" | "CYBGR" | "CYCYT" | "CYINF" | "CYINH" | "CYINT" | "CYNAH" | "CYNAT" | "CYNFH" | "CYNTH" | "CYRCH" | "CYREC" | "CYSS" | "CYSTS" | "CYTC" | "CYTCH" | "CYTLA" | "CYTLM" | "CYTNA" | "CYTPA" | "CYTPR" | "CYTTY" | "CYTXT" | "DATEP" | "DATEQ" | "DATER" | "DATET" | "DCC3" | "DCC3C" | "DCC3T" | "DCEA" | "DCIGA" | "DCIGG" | "DCIGM" | "DCIGT" | "DCOOH" | "DCOOM" | "DCOT" | "DCRT" | "DDATE" | "DDIME" | "DEATH" | "DHEAS" | "DIAMT" | "DIBN" | "DID" | "DIDA" | "DIFCN" | "DIGO2" | "DIGOX" | "DOA" | "DONG" | "DONN" | "DOXY" | "DOXY1" | "DPROT" | "DRSNO" | "DRTH" | "DRUGI" | "DTIME" | "DUR" | "DUVMA" | "E2" | "E2C" | "EBREA" | "ECOTH" | "ECOTR" | "ECURR" | "EDNAP" | "EEC" | "EFAVI" | "EGFRI" | "EIDCM" | "EIDCN" | "EIDCP" | "EIFS" | "EIFY" | "EMTRI" | "ENVPB" | "ENVPS" | "ENZYM" | "EOS#" | "EOS%" | "EOSA#" | "EOSA%" | "EOTHE" | "EPI" | "EPRE" | "EPRED" | "EPRER" | "EPRES" | "EQAC1" | "EQAC2" | "EQAC3" | "EQAC4" | "EQAC5" | "EQAHS" | "EQAHU" | "EQAMT" | "EQAN2" | "EQAN3" | "EQANP" | "EQAR1" | "EQAR2" | "EQAR3" | "EQAR4" | "EQAR5" | "EQAS1" | "EQAS2" | "EQASC" | "EQCAB" | "EQCAC" | "EQCDI" | "EQCLM" | "EQCPC" | "EQHCT" | "EQHGB" | "EQHPC" | "EQHPE" | "EQHPK" | "EQHPM" | "EQHSD" | "EQHST" | "EQMCH" | "EQMCN" | "EQMCV" | "EQMF2" | "EQMF3" | "EQMFA" | "EQMIC" | "EQMPC" | "EQPF" | "EQPLT" | "EQPO" | "EQRBC" | "EQRDW" | "EQSED" | "EQSLN" | "EQSP1" | "EQSP2" | "EQSP3" | "EQSS1" | "EQSS2" | "EQSS3" | "EQSS4" | "EQSS5" | "EQSS6" | "EQST" | "EQSTM" | "EQWB2" | "EQWB3" | "EQWBC" | "EQWC2" | "EQWC3" | "EQWCC" | "EREGA" | "ERSLT" | "ERTP" | "ERY" | "ERY1" | "ERYT" | "ERYTH" | "ESR" | "ESTBR" | "ESTOB" | "ETRAV" | "EXHYS" | "EXPD" | "EXSTD" | "FCLI" | "FEP" | "FERM2" | "FERM3" | "FERR" | "FERRM" | "FERRR" | "FERRX" | "FERX2" | "FHYS" | "FILAG" | "FINR" | "FLN" | "FLQNS" | "FOB" | "FPORI" | "FPORQ" | "FPROT" | "FRF" | "FROTA" | "FSHC" | "F-T3" | "F-T4" | "FUNGI" | "FWBC" | "G6PD" | "G6PDS" | "GCLUE" | "GCPRD" | "GELNO" | "GENO" | "GENT" | "GENT1" | "GENTA" | "GERMT" | "GL120" | "GL150" | "GL180" | "GL210" | "GL240" | "GL270" | "GL30" | "GL300" | "GL360" | "GL480" | "GL60" | "GL90" | "GLOB" | "GLUCS" | "GNB" | "GNC" | "GNCB" | "GNDC" | "GNPB" | "GPB" | "GPBB" | "GPC" | "GPCC" | "GPCCL" | "GPCP" | "GPDC" | "GPFB" | "GRAMS" | "GREPI" | "GRERY" | "GRWC" | "GTBA" | "GTDOS" | "GTXT" | "GVC" | "GVINC" | "GXRIF" | "GXTB" | "GXTBR" | "H2RL" | "H2VRS" | "HAEM" | "HAEMI" | "HAUTO" | "HBA" | "HBA1" | "HBA1C" | "HBA2" | "HBA2D" | "HBF1" | "HBFD" | "HBH" | "HBSB1" | "HBU" | "HCBCO" | "HCBFL" | "HCBVA" | "HCG" | "HCGS" | "HCO3" | "HCOM" | "HCT" | "HEAL" | "HELPV" | "HELPY" | "HEPD" | "HEPE" | "HERG1" | "HERG2" | "HERPG" | "HERPM" | "HFLU" | "HGB" | "HGH" | "HISTD" | "HISTS" | "HISTT" | "HIV-1" | "HIVA" | "HIVAR" | "HIVBL" | "HIVBR" | "HIVCO" | "HIVD" | "HIVE" | "HIVL" | "HIVL2" | "HIVLA" | "HIVLC" | "HIVLL" | "HIVML" | "HIVP" | "HIVPC" | "HIVPL" | "HIVPR" | "HIVQL" | "HIVR" | "HIVRL" | "HIVRT" | "HIVSI" | "HIVTL" | "HIVTM" | "HIVU" | "HIVVA" | "HIVVB" | "HIVVC" | "HIVVD" | "HIVVM" | "HIVVP" | "HIVVQ" | "HIVVR" | "HLAXB" | "HLB27" | "HPRL" | "HSVG" | "HSVM" | "HT" | "HTSTB" | "HTXT" | "HVVRS" | "HYS0H" | "HYS6H" | "HYSIN" | "HYSUH" | "ICD10" | "ICOM" | "ICOOH" | "ICOOM" | "ICT" | "IG#" | "IGA" | "IHYS" | "IMFIX" | "IMI" | "IMMA" | "IMMSP" | "INCLU" | "INJCS" | "INK" | "INR" | "INTXT" | "IPROT" | "IS" | "ISI" | "ITIME" | "ITITR" | "ITXT" | "IV" | "JRF" | "LA1:2" | "LA1NP" | "LA2NP" | "LACTT" | "LAMIV" | "LCHOL" | "LCRYP" | "LEUCO" | "LHC" | "LI" | "LINE0" | "LINE1" | "LISS" | "LJDAT" | "LJDT" | "LJRES" | "LLA1" | "LLA2" | "LN1:2" | "LPRIF" | "LSD" | "LTIME" | "LUPN" | "LUPP" | "LYM#" | "LYM%" | "LYMA%" | "LYMP" | "MAAG" | "MACS" | "MAL" | "MALF" | "MALRT" | "MALTH" | "MAPP" | "MASS" | "MBILH" | "MCEA" | "MCH" | "MCHC" | "MCM2" | "MCOM" | "MCV" | "MEASG" | "MEASM" | "MEM" | "MET" | "META#" | "META%" | "METH" | "METHD" | "METQ" | "MFIL" | "MGMSA" | "MGMSB" | "MGMSC" | "MGMSD" | "MGMSE" | "MGMSF" | "MGSMH" | "MGSRH" | "MGSSA" | "MGSSB" | "MGSSC" | "MGSSD" | "MGSSE" | "MGSSF" | "MHEAD" | "MIC" | "MICH" | "MICIN" | "MICRE" | "MICRO" | "MLDL" | "MLEUD" | "MMACR" | "MOART" | "MON" | "MONA#" | "MONA%" | "MONO" | "MONO#" | "MONO%" | "MONTH" | "MORPH" | "MOTIL" | "MPCR" | "MPROT" | "MPV" | "M-TP" | "MTRIC" | "MTXT" | "MTZ" | "MUCUS" | "MUMPG" | "MUMPM" | "MUP" | "MXD#" | "MXD%" | "MYCH" | "MYCUL" | "MYEAS" | "MYEL#" | "MYEL%" | "MYGIE" | "MYGT" | "MYKIN" | "MYMIC" | "MYOG" | "MYPAS" | "MZNS" | "NALID" | "NEI" | "NEICO" | "NEUA#" | "NEUA%" | "NEUT#" | "NEUT%" | "NEVI" | "NITR" | "NITRO" | "NNRTI" | "NONNU" | "NORM" | "NOS" | "NRBC" | "NRTIR" | "NUCLE" | "OB" | "OCEA" | "OCEL" | "OOCYS" | "OPIAT" | "ORGS" | "ORGSV" | "ORGSW" | "ORGSX" | "ORGSY" | "OSAT" | "OTERM" | "OTHER" | "OTHR#" | "OTHR%" | "OVA" | "OVA1" | "OVA2" | "OWCC" | "OX19" | "OX2" | "OXAC1" | "OXACI" | "OXK" | "P/N" | "PADIS" | "PAN" | "PARAC" | "PARAS" | "PARS" | "PATH" | "PATHH" | "PATT" | "PB/CR" | "PBNP" | "PCO2" | "PCRAP" | "PCRH" | "PCRQ" | "PCRR" | "PCTR" | "PCULT" | "PCV" | "PDBIL" | "PDW" | "PEN" | "PENG" | "PENG1" | "PER" | "PFAL" | "PGRP" | "PH" | "PHB" | "PHD" | "PHENB" | "PHENC" | "PHENY" | "PHN" | "PHT" | "PHTXT" | "PHYS" | "PHYS0" | "PHYS6" | "PHYSU" | "PIPER" | "PLAC" | "PLT" | "PLTAB" | "PMTCH" | "PMTMO" | "PNEUM" | "PO/CR" | "PO2" | "POCVR" | "POLI1" | "POLI2" | "POLI3" | "POLY" | "POLYM" | "PORL" | "PREG" | "PRLC" | "PROGC" | "PROM#" | "PROM%" | "PROTC" | "PROTS" | "PRTCF" | "PSA" | "PSCHE" | "PSHY" | "PSTD0" | "PSTD6" | "PSTDU" | "PT" | "PTBIL" | "PTC" | "PTH" | "PTHA" | "PTHM" | "PTHP" | "PTTR" | "PVIV" | "QBAS%" | "QCD3" | "QCD3L" | "QCD4" | "QCD4L" | "QCD8" | "QCD8L" | "QCWBC" | "QEOS%" | "QHBG" | "QHCG" | "QHRG" | "QLYM%" | "QMCHC" | "QMON%" | "QNEU%" | "QPEHE" | "QRPR1" | "QRPRT" | "QRPRW" | "RAPI2" | "RATIO" | "RBC" | "RBCA" | "RCC" | "RCCHE" | "RCELU" | "RCOM" | "RDW" | "RECR" | "REJCT" | "REM" | "RENIC" | "REQTS" | "RESLT" | "RETA" | "RETIC" | "RETM" | "RF" | "RF13" | "RF14" | "RF2" | "RF3" | "RF4" | "RF8" | "RFQM" | "RFR" | "RFT" | "RG" | "RGLU" | "RH" | "RHAB" | "RHABC" | "RHABI" | "RHABT" | "RHNEG" | "RIFTB" | "RILPI" | "RINHS" | "RJREA" | "RJREM" | "ROTA" | "ROTAG" | "ROTRT" | "RPCR" | "RPI" | "RPR1" | "RPRT" | "RPRW" | "RRF1" | "RRF4" | "RTTBP" | "RUGFL" | "RUGT" | "RUMFL" | "RUMT" | "SABCO" | "SABFL" | "SABNI" | "SABVA" | "SACE" | "SACT2" | "SACTH" | "SADA" | "SAGCO" | "SAGFL" | "SAGVA" | "SALC" | "SALHT" | "SALP" | "SALT" | "SAMY" | "SAPP" | "SAST" | "SIBIL" | "SCHOL" | "SCK2" | "SCKMB" | "SCO2" | "SCORT" | "SCOUN" | "SCRN" | "SCRT" | "SDBIL" | "SERY" | "SGGT" | "SGLU" | "SHDL" | "SIRON" | "SK" | "SLDH" | "SLDL" | "SLGIE" | "SLPAP" | "SMG" | "SMOT2" | "SMOT3" | "SMOT6" | "SMOTI" | "SMYO" | "SNA" | "SNPP" | "SPEM" | "SPH" | "SPO4" | "SRATE" | "SSMEL" | "STACP" | "STBIL" | "STP" | "STRIG" | "SUREA" | "SVISC" | "SVITA" | "SVOL" | "SWBC" | "TBADT" | "TBAMI" | "TBAR1" | "TBAR2" | "TBARM" | "TBBAC" | "TBBCM" | "TBBDT" | "TBC1D" | "TBCLO" | "TBCN1" | "TBETM" | "TBINH" | "TBLEV" | "TBMOF" | "TBODT" | "TBORG" | "TBP-A" | "TBRCM" | "TBRIF" | "TBRP" | "TEST" | "TETRA" | "THSR" | "TMP" | "TPHA" | "TROP" | "TROPI" | "TRYP" | "TS" | "TSH" | "TWBCC" | "TXMFL" | "TZP" | "UAMY" | "UBACT" | "UBL" | "UCRT" | "UHB" | "UMA" | "UMAER" | "UPREG" | "USG" | "UUBGN" | "UVOL" | "VALPR" | "VANCO" | "VCULT" | "VDRLS" | "VDRLT" | "VEPI" | "VGLU" | "VITD" | "VOL" | "VZG" | "WBACT" | "WBC" | "WDU" | "WEPI" | "WERY" | "WET" | "WFH" | "WPSHY" | "WWBC" | "WYST" | "XGLUC" | "YEAST" | "ZIN" | "COV19" | "CVCOM" | "CA15-3" | "SCA" | "SCL" | "XMATC" | "!GXMT" | "SUA" | "SUAA" | "VCRT" | "DLM" | "LZD" | "BDQ" | "TBETH" | "TBISO" | "TBZCM" | "TBZDT" | "TBZH" | "TBZN" | "TBZNI" | "TBLIN" | "WBCA" | "SALTH" | "SALOT" | "LYMA#" | "CVRP" | "CT" | "NG" | "RCHOL" | "DSYTP" | "TBAU" | "TBCM" | "TBRI2" | "TBMOX" | "TBSF" | "TBLP" | "HIVPS" | "PSC2" | "PSCD" | "SCOM" | "Nitrate" | "Glucose" | "Protein" | "pH" | "Bilirubin" | "Ketones" | "Leucocyte Esterase" | "Urobilirubin" | "Band Cells" | "Basophils" | "Eosinophils" | "IG" | "Lymphocytes" | "Metamyelocytes" | "Monocytes" | "Myelocytes" | "Neutrophils" | "Promyelocytes" | "% Bence Jones Protein" | "Transferrin Saturation" | "% HBA1C" | "Transferrin Saturation" | "17 Alpha-hydroxyprogesterone" | "First Line" | "Second Line" | "S-ƒ -1-antitrypsin" | "A1 Cells" | "A2 Cells" | "Abacavir (ABC)" | "%Abnormal" | "Blood Group" | "or Group" | "Donor Unit 1" | "Donor Unit 2" | "Donor Unit 3" | "Donor Unit 4" | "i-Centromere Antibodies" | "Anti-Centromere Antibodies" | "Carcinoembryonic Antigen" | "Acetylcholine Receptor Ab`s" | "i-Cardiolipin Ab (IgG)" | "i-Cardiolipin Ab`s IgG" | "i-Cardiolipin Ab`s IgM" | "i-Collagen Antibodies" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "Autopsy Date" | "Fecal adenovirus" | "i-Double Stranded DNA" | "Anti-Double Stranded DNA (EIA)" | "dsDNA Rule" | "Anti-Double Stranded DNA" | "Zeihl-Neelsen" | "Alpa Feto Protein" | "Anti-human globulin testing" | "ormal Haemoglobin" | "ANC Health Facility" | "i-human globulin" | "Amikacin" | "Amikacin" | "Aldosterone" | "Aldosterone" | "Amoxilin/Clavulanic Acid" | "Amikacin" | "i-Mitochondrial Antibodies/A-Mit Ab" | "Titre" | "Amoxicillin" | "Amoxicillin" | "Ampicillin" | "hetamine" | "Ampicillin" | "i-Nuclear Ab (Hep-2)" | "ANC Number" | "From ANC (Pink) card" | "Androstenedione" | "Anion Gap" | "Anti AB" | "Anti A" | "Anti B" | "Rhesus D" | "i-Parietal Cell Antibodies" | "Appearance" | "Naked Eye Appearance" | "Naked eye appearance" | "Fluid" | "Supernatant Appearance" | "T (Control)" | "T (Patient)" | "ART Number" | "ART Number" | "ARV ID Number" | "Other ARV treatment" | "Other Drugs (1)" | "Other Drugs (2)" | "Other Drugs (3)" | "ARV Programme status" | "ARV treatment (1)" | "ARV treatment (2)" | "ARV treatment (3)" | "i-skeletal muscle Ab`s" | "i-Streptolysin O Latex" | "i-Smooth Muscle Antibodies" | "i-Streptolysin O Titre" | "ASPIRATOR" | "Antimicrobial Sensitivity Test" | "Co-amoxiclav" | "Augmentin" | "Beta-2 Glycoprotein IgG" | "Beta-2 Glycoprotein IgM" | "S-Acetaminophen" | "0rganisms Seen" | "Albumin" | "Band Cells" | "Band Cells" | "Barbiturate" | "Result" | "Basophils" | "Basophils" | "Basoophils" | "Basophils" | "Auto Control" | "Comment:" | "Remarks:" | "B Cells" | "TURE RESULT" | "Base Excess" | "Benzodiazepine" | "BZD Value" | "Blood Group" | "HCG TOTAL BETA (TUMOR MARKER)*" | "BIO-CHEMISTRY (Dipstick)" | "Iron" | "Blasts" | "Blasts" | "Remarks" | "pH" | "Product" | "Breastfeeding" | "Bromelin Screening" | "S1" | "S2" | "y Surface Area" | "Bromelin Screen Cell 1" | "Bromelin Screen Cell 2" | "Bromelin Screen Cell 3" | "Transferrin" | "Bleeding Time" | "B-Type Natriuretic Peptide" | "Bottle Type" | "Uric Acid" | "Interpretation" | "CA125" | "CA15-3" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "Complement Component C3" | "Complement Component C4" | "Complement Component C6" | "CA19-9" | "CA 72-4" | "Cut-off : Core antibodies" | "atitis B core ab (Total)" | "Value : Core antibodies" | "S-Calcium (Corrected)" | "Caeruloplasmin" | "Calculated Clearance" | "Calcitonin" | "cofluor Stain" | "U-Cannabinoids" | "U-Cannabinoids" | "ID Rapid Test" | "Specimen Appearance" | "S-Carbamazepine" | "Caregiver Details" | "Casts" | "U-Catecholamines" | "dU-Catecholamines" | "Control Bead Abs Cnt" | "CSF Chloride" | "Corrected Clearance" | "CELL COUNT" | "COMMENT" | "Conclusion" | "Coomb's control" | "Recommendation" | "CULTURE RESULT" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD45 Count" | "CD4%" | "CD 8 Count" | "CD8%" | "Cefazolin" | "Cefotaxime" | "Cefotaxime/Ceftriazone" | "Cefoxitin" | "Ceftazidime" | "Cephalexin" | "Cephradine" | "Red Blood Cells" | "Globulin" | "CSF Glucose" | "Concentrations" | "CAL RESULTS" | "CSF CHEMISTRY" | "AL URINE OUTPUT" | "NE RESULTS" | "From Child Health Card" | "CLINICAL HISTORY" | "Child No" | "Endemic Trachoma" | "phogranuloma venereum" | "Chloramphenicol" | "Oculo genital" | "Chloramphenicol" | "Chlamydia pneumoniae" | "Chlamydia psittaci" | "Chlamydia trachomatis" | "CHm (Mature RBC HB Content)" | "CHr (Reticulocyte HB Content)" | "Ciprofloxacin" | "Ciprofloxacin" | "Clarity" | "Clindamycin" | "C. difficile Toxin A Test" | "C. difficile Toxin A" | "Pathogen Identified" | "Culture Results" | "CLUE CELLS" | "Cytomegalovirus IgG" | "Value : CMG IgG" | "Cytomegalovirus IgM" | "Value : CMG IgM" | "Cocaine" | "Colour" | "Colistin" | "TBCOL Other Months" | "Comment:" | "Alternate Pathway" | "Classical Pathway" | "Antibiotic Concentrations" | "Consent to Contact" | "Indirect Coomb's Test" | "Comment" | "Cotrimoxazole" | "Cotrimoxazole" | "Co-trimoxazole" | "Count" | "Coxsackie virus IgM" | "C-Peptide" | "CSF Protein" | "Remarks" | "INDIA INK" | "Ceftriaxone" | "Crossmatch" | "CRP Quantitative" | "CRP Serology" | "CRP Titre" | "Cryptococcal LFA" | "Cryptococcal Latex" | "Crystals" | "Cryptococcal Titre" | "Occult Blood" | "Whole blood Clotting Time" | "Titre" | "Cefotaxime" | "Remarks" | "Cutup by" | "Pathologist" | "Cutup sites" | "White Blood cells" | "Child Welfare Number" | "Specimen Adequacy" | "Specimen Adequacy" | "Background" | "Cytology Background" | "SCREENER" | "Cytology Infection" | "Interpretation" | "Interpretation" | "Nature of Specimen" | "Cellular Changes" | "Infection" | "Cellular Changes" | "Recommendation" | "Cytology Recommendation" | "Cytology Special Stains" | "Cysts" | "Contraception" | "CLINICAL HISTORY" | "Last Pregnancy" | "LMP" | "Nature Of Specimen" | "Parity" | "Clinical History" | "Type" | "Remarks" | "Date reported" | "Date Required" | "Date Claim" | "Date Taken" | "C3" | "C3c" | "C3d Titre" | "Carcinoembryonic Antigen" | "IgA" | "IgG" | "IgM" | "IgG Titre" | "Direct Coomb" | "Polyspecific" | "Direct Coomb's Test" | "1:20 DILUTED CRT" | "Expiry" | "D-Dimer" | "Date of Death" | "Dehydroepiandrosterone Sulph" | "Zone Diametre" | "Dibucaine Number" | "Donor ID" | "Didanosine (DDI)" | "DIFFERENTIAL COUNT" | "S-Digoxin" | "S-Digoxin" | "Date of Admission" | "Donor Group" | "Donor Number" | "Doxycycline" | "Doxycycline" | "F-Total Protein" | "DR Survey Number" | "DRUG RESISTANCE TESTING" | "Drug Resistance Interpretation" | "Time of Death" | "Duration of collection" | "dU-Vanillylmandelic Acid" | "Oestradiol" | "Oestrodial" | "Child Breastfed" | "Other" | "Cotrimoxazole(CTX)for infant" | "Current Regimen" | "DNA PCR Test" | "Enteropathogenic E.coli" | "Efavirenz (EFV)" | "MDRD eGFR" | "Caregiver Name" | "Caregiver NRC Number" | "Caregiver Phone Number" | "If stopped why?" | "IF yes which apply" | "Emtricitabine (FTC)" | "NVP for full 6w after birth" | "When did child stop NVP" | "Enzyme" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Other" | "Epithelial Cells" | "Previous DNA PCR Barcode no" | "Date Previous PCR" | "Pregnancy Regimen" | "Previous PCR Result" | "EQA Unstained 1" | "EQA Unstained 2" | "EQA Unstained 3" | "EQA Unstained 4" | "EQA Unstained 5" | "Stained Slides" | "Unstained Slides" | "Method" | "No Parasites" | "No Parasites" | "No Parasites" | "EQA Result 1" | "EQA Result 2" | "EQA Result 3" | "EQA Result 4" | "EQA Result 5" | "EQA Stain" | "EQA Stain" | "Screener" | "Absolute Count Beads" | "Antibody Combination" | "Instrument" | "Lysing Method" | "Problem Code" | "Haematocrit" | "Haemoglobin" | "Problem Code" | "Processing equipment:" | "Processing Kit/Reagent:" | "Processing Microscope" | "Microscope service date:" | "Stain used:" | "EQMCH" | "Challenge Number" | "EQMCV" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Microscopy" | "Final Answer" | "Tested by" | "Platelet Count" | "Supervisor" | "Red Blood Cells" | "EQRDW" | "Expiration Date" | "Lot Number" | "Specimen 1" | "Specimen 2" | "Specimen 3" | "HIV PT 1" | "HIV PT 2" | "HIV PT 3" | "HIV PT 4" | "HIV PT 5" | "A-6" | "Person who Stained" | "Test Name" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "White cell count" | "Regimen given after birth" | "Result" | "ERTAPENEM" | "Red Blood Cells" | "Erythromycin" | "Erythrocytes" | "Erythromycin" | "ESR" | "Child still breatfeeding" | "Stopped breastbeeding at" | "Etravirine (ETR)" | "External Standard - Hys Peak" | "Expiry Date" | "External Standard-Int Std Peak" | "Follow-up Clinic" | "CEFEPIME" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Homocysteine Fasting" | "Microfilariae Antigen" | "Final Result" | "Fluoride Number" | "Flouroquinolones" | "Ocult Blood" | "Identification" | "F-Porphyrin" | "F-Total Protein" | "Rheumatoid Factor (Pleural Fl)" | "Rotavirus" | "Follicle Stimulating Hormone" | "S-Free Tri-iodothyronine" | "S-Free Thyroxine (Direct)" | "Fungi" | "White Blood cells" | "G6PD Assay" | "D Screen Test" | "GRAM STAIN :CLUE CELLS" | "Pregnandiol" | "Number" | "Genotyping" | "Gentamicin" | "Gentamycin" | "Gentamicin" | "Result" | "Glucose - 2 Hours" | "Glucose - 2.5 Hours" | "Glucose - 3 Hours" | "Glucose - 3.5 Hours" | "Glucose - 4 Hours" | "Glucose - 4.5 Hours" | "Glucose - 30 mins" | "Glucose - 5 Hours" | "Glucose - 6 hrs" | "Glucose - 8 hr" | "Glucose - 1 Hour" | "Glucose - 1.5 Hours" | "Globulin" | "Glucose (POCT)" | "Gram Negative Bacilli" | "Gram Negative Cocci" | "Gram Negative Coccobacilli" | "Gram Negative Dipplococci" | "GN Pleomorphic Bacilli" | "Gram Positive Bacilli" | "GP Branching Beaded Bacilli" | "Gram Positive Cocci" | "Gram Positive Cocci Chains" | "Gram Positive Cocci Clusters" | "Gram Positive Cocci Pairs" | "Gram Positive Diplococci" | "GP Filamentous Bacilli" | "GRAM STAIN" | "Epithelial Cells" | "Erythrocytes" | "White Blood cells" | "Glucose - Basal" | "Glucose Dose" | "Text" | "Gram Variable Coccobacilli" | "Vincent's Orgnisms" | "Rifampicin" | "PCR result" | "PCR result (raw data)" | "log value" | "HIV: Viral Load (Cap/CTM)" | "Specimen Haemolysed" | "Haemolysis index" | "Please note:" | "Haemoglobin A" | "Average Glucose (calculated)" | "Hb A1c (Glycosylated)" | "Haemoglobin A2" | "Haemoglobin A2" | "Haemoglobin F" | "Haemoglobin F" | "Haemoglobin" | "Hep B surface Antibody Titre" | "Unstable Haemoglobin" | "Cut off : Hepatitis C" | "Hepatitis C Antibodies" | "Value : Hepatitis C" | "Beta HCG" | "Serum ß-HCG Pregnancy Screen" | "Bicarbonate (actual)" | "Comment" | "Haematocrit" | "Health Facility" | "OD Value" | "Helicobacter pylori IgG" | "Hepatitis D Antibodies" | "Hepatitis E Antibodies" | "Herpes simplex Type 1 IgM" | "Herpes simplex Type 2 IgG" | "Herpes simplex virus IgG" | "Herpes simplex virus IgM" | "Haemophilus influenzae" | "Haemoglobin" | "Human Growth Hormone" | "Pathologist" | "Special Stain" | "Specimen" | "HIV-1" | "HIV ASANTE" | "HIV: Viral Load (ART)" | "log value" | "HIV: Viral Load (BIO/CEN)" | "CUT-OFF : HIV" | "HIV Determine" | "HIV Antibodies: ELISA Method" | "HIV: Viral load (LCx)" | "HIV: Viral load (LCx)" | "Log Value" | "HIV: Viral Load (LCx)" | "Log Value" | "Log Value" | "HIV Rapid" | "Infant HIV DNA PCR" | "Log Value" | "HIV: Viral Load (PANTHER)" | "Log Value" | "HIV 1/2 Rapid Screening Test" | "log value" | "HIV-1 resistance" | "Sequence ID" | "Log Value" | "HIV: Viral Load (Taqman)" | "HIV Unigold" | "HIV VALUE" | "HIV: Viral Load" | "HIV : Viral load (low value)" | "HIV: Viral Load" | "HIV : VIRAL LOAD" | "HIV: Viral Load (Ampliprep)" | "HIV : Viral Load (NASBA)" | "HIV: Viral Load (CAP/CTM)" | "Crossmatching B-Cells" | "HLA B27" | "log value" | "HERPES SIMPLEX VIRUS IgG" | "Herpes simplex Virus IgM" | "Patient`s Height" | "Heat Stability Test" | "Haematology Text" | "HIV: Viral Load (CAP/CTM)" | "Homocysteine Fasting" | "Homocysteine 6H Postmethionine" | "Homocysteine Increase" | "Homocysteine Unknown Time" | "ICD10" | "Comment" | "Indirect Coomb" | "Abnormal Antibodies" | "Indirect coomb's test" | "IG" | "Total IgA" | "Homocysteine Increase" | "Immunofixation" | "Imipenem" | "%Immature" | "Immediate Spin" | "Inclusions" | "Injectibles" | "India Ink" | "Int Normalised Ratio (INR)" | "Remarks" | "F-Total Protein" | "Immediate spin" | "ISI" | "Incubation Time" | "Titre" | "Remarks" | "Index Value" | "Rheumatoid Factor- Joint Fluid" | "LA-1:LA-2" | "LA-1 with normal plasma" | "LA-2 with normal plasma" | "Lactate" | "Lamivudine (3TC)" | "Cholesterol" | "LFA Cryptococcal Antigen" | "White Blood Cells" | "Luteinising Hormone (L)" | "Lithium" | "LINE0" | "LINE1" | "LISS-IAT" | "Date" | "LJ Date" | "LJ Result" | "Lupus anticoagulant 1" | "Lupus anticoagulant 2" | "LA-1 NP:LA-2 NP" | "Rifampicin" | "Lysergic Acid Diethylamide" | "Liquefaction time" | "Lupus anticoagulant" | "Lupus anticoagulant (KCT)" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Malaria Antigen" | "Macroscopic supernatant" | "Malaria" | "Plasmodium Antigen" | "Malaria: PCR Results" | "Malaria(Thin film prep.)" | "Macroscopic Apprearance" | "Patient`s Mass" | "istosoma haematobium" | "Carcinoembryonic Antigen" | "MCH" | "MCHC" | "Comment" | "Comment" | "MCV" | "Measles IgG" | "Measles IgM" | "MEROPENEM" | "Methicillin" | "Metamyelocytes" | "Metamyelocyte" | "Methicillin" | "Methadone" | "Methaqualone (Mandrax)" | "Microfilariae" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Microscopic Morphology" | "Microscopic Gram Stain Reactio" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Morphology and Comment" | "Microscope #" | "Microbiology:" | "Microscopic Examination" | "MICROSCOPIC EXAMINATION" | "Microscope Used" | "LDL Cholesterol" | "Leucocytes" | "MACROSCOPIC" | "Months since starting ARV" | "Monoclonal Band" | "Monocytes" | "Monocytes" | "Epstein Barr Heterophile Ab's" | "Monocytes" | "Monocytes" | "Stopped at month" | "Morphology" | "Motility" | "Malaria: PCR" | "U-Protein" | "Mean Platelet Volume" | "Micro Total Protein" | "TRICHOMONAS VAGINALIS" | "Remarks" | "Metranidazole" | "Mucus Threads" | "Mumps IgG" | "Mumps IgM" | "MUPIROCIN" | "Mixed Cells" | "Mixed Cells" | "Culture" | "Result" | "Yeast Cells" | "Myelocytes" | "Myelocytes" | "Giemsa Stain" | "Germ Tube" | "Kinyoun Stain" | "MICROSCOPIC EXAMINATION" | "MYOGLOBIN" | "PAS Stain" | "MODIFIED ZIELH-NEELSEN STAIN" | "Nalidixic Acid" | "N meningitides A,C,Y,W135" | "N meningitides B/E coli:" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Nevirapine (NVP)" | "Nitrofurantoin" | "Nitrofurantoin" | "NNRTI Resistance Mutations" | "Non-Nucleoside RTI" | "%Normal" | "Organisms Seen" | "Nucleated Red Cells" | "NRTI Resistance Mutations" | "Nucleoside RTI" | "Stool Occult Blood Test" | "Carcinoembryonic Antigen" | "O Cells" | "Oocysts" | "Opiates" | "Organism Identification" | "Organism" | "Organism" | "Organism" | "Organism" | "Saturation" | "Other Mutations" | "Other" | "Other" | "Other" | "Ova" | "Ova /Cysts" | "Ova/Cysts" | "White Cell Count (Uncorrected)" | "Proteus OX19 antibody" | "Proteus OX2 antibody" | "Oxacillin" | "Oxacillin" | "Proteus OXK antibody" | "Pos/Neg" | "PRESUMPTIVE TB#/TB REGISTER#" | "PAN Antigen" | "Paracetamol" | "Parasites" | "Parasitemia Count" | "Pathologist" | "Pathologist(s):" | "Type of Pattern" | "Porphobilinogen/Creatinine" | "proBNP" | "pCO2" | "Factor V Leiden Mutation" | "DNA PCR Test Information" | "Quantitative" | "PCR Result" | "Procalcitonin - Rapid Test" | "CULTURE RESULT" | "PCV" | "Conjuagted Bilirubin (Paeds)" | "Platelet Distribution Width" | "Penicillin G" | "Penicillin G" | "Penicillin G" | "Creat. Clearance Period" | "Plasmodium Falciparum Ag" | "Patient Group" | "Ph" | "Phoned by" | "Date Phoned" | "Phenobarbitone" | "Phencyclidine" | "Phenytoin" | "Phoned to" | "Time phoned" | "Message" | "Homocysteine 6H Postmethionine" | "Patient - Hys Peak 0 hr" | "Patient - Hys Peak 6 hr" | "Patient - Hys Peak Unknown" | "Piperacillin" | "p-Lactic Acid" | "Platelet Count" | "Platelet Antibodies" | "PMTCT Infant" | "PMTCT Mother" | "Streptococcus pneumoniae" | "Porphyrin/Creatinine" | "pO2" | "HIV: Viral Load (GENEX)" | "Poliovirus Type 1 Abs" | "Poliovirus Type 2 Abs" | "Poliovirus Type 3 Abs" | "Polymorphonuclear cells" | "Polymyxin B" | "log value" | "Pregnancy Test" | "Prolactin (PRL)" | "Progesterone" | "Promyelocytes" | "Promyelocytes" | "Protein C (Chromogenic)" | "Protein S (Functional)" | "Protein C" | "Prostate Specific Antigen" | "Pseudocholinesterase" | "Pseudohyphae" | "Patient - Int Std Peak 0 hr" | "Patient - Int Std Peak 6 hr" | "Patient-Int Std Peak Unknown" | "Prothrombin Time (Patient)" | "Total Bilirubin (Paediatric)" | "Prothrombin Time (Control)" | "Parathyroid Hormone" | "Parathyroid Hormone" | "Parathyroid Hormone (mass)" | "p-Parathyroid Hormone" | "PTT Ratio" | "Plasmodium Vivax Ag" | "Basophils" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD4%" | "CD8 Count" | "CD8%" | "Leucocyte Count" | "Eosinophils" | "ABO Blood group" | "Quantitative á-HCG" | "Rhesus status" | "Lymphocytes" | "EQMCHC" | "Monocytes" | "Neutrophils" | "CTROPHORETIC PATTERN" | "RPR" | "RPR titre" | "RPR Titre Wells" | "HIV 1/2 Rapid Repeat" | "RATIOS" | "Erythrocyte Count" | "RBC" | "Erythrocyte Count" | "Red Cell Cholinesterase" | "Red Cell Eluate" | "Red Cell Morphology" | "RDW" | "Recepient Result" | "Specimen Rejected" | "Remarks" | "Renin" | "Test/s requested" | "Mgit Reading (for Controls)" | "Absolute Reticulocyte Count" | "Reticulocyte Count" | "Maturation Time" | "Rheumatoid Factor(Screen)" | "IgE to Peanuts" | "IgE to Soya Bean" | "IgE to Cow`s Milk" | "IgE to Fish (Cod)" | "Rheumatoid Factor Titre" | "to Maize" | "Rheumatoid Factor" | "RF Rule" | "Rheumatoid Factor Titre" | "Rhesus Type" | "Glucose Random" | "Rhesus (D)" | "Atypical Antibodies" | "Anribody Identification" | "Antibody Identification" | "Antibody Titre" | "Negative" | "Rifampicin" | "Rilpivirine (RPV)" | "Inhalant Screen Test" | "Reject Reason" | "Remarks" | "Rotavirus Antigen" | "Rotavirus Antigen" | "Rotavirus PCR Results" | "Rotavirus: PCR" | "Reticulocyte Production Index" | "RPR" | "RPR Titre" | "RPR Titre Wells" | "IgE to Egg White" | "IgE to Wheat" | "Real-time PCR for M tubercul" | "Rubella IgG" | "Rubella IgG Titre" | "Rubella IgM" | "Rubella IgM Titre" | "Cut off : Surface antibody" | "Hepatitis B surface Antibodies" | "Abnormal forms include:" | "Value : Surface antibody" | "Angiotensin Converting Enzyme" | "Adreno-corticotrophic Hormone" | "Adreno-corticotrophic Hormone" | "Adenosine Deaminase" | "Cut off : Surface antigen" | "Hepatitis B Surface Antigen" | "Value : Surface antigen" | "S-Salicylate" | "Salmonella typhi H titre" | "Alkaline Phosphatase (ALP)" | "Alanine Transaminase (ALT)" | "Serum Amylase" | "Appearance (fresh semen)" | "Aspartate Transaminase (AST)" | "Bilirubin (indirect)" | "S-Cholesterol" | "Creatine Kinase (CK)" | "CKMB" | "Carbon dioxide" | "Cortisol" | "Count" | "ABO Screening" | "S-Creatinine" | "Bilirubin (direct)" | "Red Blood Cells" | "g-Glutamyl Transferase (GGT)" | "Glucose" | "S-HDL Cholesterol" | "Iron" | "Potassium" | "Lactate Dehydrogenase (LD)" | "S-LDL Cholesterol" | "Slides GIEMSA Stain" | "Slides PAP Stain" | "S-Magnesium" | "%Progressive motility 2nd hour" | "%Progressive motility 3rd hour" | "%Progressive motility 6th hour" | "Motility Studies" | "S-Myoglobin" | "Sodium" | "S-Acid Phos. Non-Prostatic" | "Spermatozoa" | "Reaction (pH)" | "S-Phosphate Inorganic" | "Rate of forward progression" | "Smell" | "S-Acid Phosphatase (Total)" | "Bilirubin (Total)" | "S-Total Protein" | "S-Triglycerides" | "Blood urea nitrogen" | "Viscosity after liquefaction" | "Vitality after 2 hours" | "Volume of collection" | "White Blood cells" | "Tuberculosis investigation" | "Amikacin (1ug/ml)" | "Result" | "Grading" | "Remarks" | "Mgit Reading" | "Bactec Comment" | "Instrument Date" | "Reprocessed Date" | "Clofazimine (1ug/ml)" | "Reprocessed" | "Ethambutol" | "Isoniazid" | "Levofloxacin (1ug/ml)" | "Moxifloxacin (0.25ug/ml)" | "Date" | "Org Isolated" | "P-Aminosalicylic Acid (4ug/ml)" | "TB Rapid Comment" | "Rifampicin" | "TB Rapid ID" | "Testosterone" | "Tetracycline" | "T H/S Ratio" | "Trimethoprim" | "TPHA" | "Troponin T" | "S-TROPONIN I" | "Trypanosomes" | "Co-trimoxazole" | "S-TSH" | "Total White Blood Cell Count" | "Toxoplasma IgM" | "Piperacillin/Tazobactam" | "Amylase" | "Bacteria" | "Blood" | "U-Creatinine" | "Haemoglobin" | "U-Microalbumin" | "Microalbumin excretion rate" | "Pregnancy Test" | "Specific Gravity" | "Urobilinogen" | "U-Volume" | "S-Valproate" | "Vancomycin" | "CULTURE RESULT" | "VDRL Screen" | "VDRL Titre" | "Epithelial Cells" | "F-Glucose" | "1.25 Dihydroxy Vitamin D" | "Volume of collection" | "Varicella-Zoster IgG" | "0rganisms Seen" | "Leucocyte Count" | "Weak D" | "EPITHELIAL CELLS" | "RED BLOOD CELLS" | "WET PREPARATION" | "FUNGAL HYPHAE" | "PSEUDOHYPHAE" | "WHITE BLOOD CELLS" | "YEAST CELLS" | "P-Glucose (Fasting)" | "Yeast Cells" | "Zinate" | "SARS-CoV-2" | "SARS-CoV-2" | "CA153" | "S-Calcium total" | "Chloride" | "Cross Match Result" | "GeneXpert MTB Rule" | "Uric acid" | "Uric acid" | "Creatinine" | "Delamanid" | "Linezolid" | "Bedaquiline" | "Ethionamide" | "Isoniazid" | "ZN Comment" | "Zn Date" | "ZEIHL-NEELSEN STAIN" | "Ziehl-Neelsen Stain" | "TBZN Internal" | "Linezolid" | "WBC" | "Salmonella typhi H antibodies" | "Salmonella typhi O titre" | "Lymphocytes" | "COVID-19 Ag Rapid Test" | "Chlamydia Trachomatis" | "Neisseria Gonorrhoeae" | "RCHOL-Result" | "Determinate Syphilis TP" | "Auramine Result" | "Auramine Comment" | "Rifampicin (0.5ug/ml)" | "Moxifloxacin (1ug/ml)" | "TB First Line Comment" | "TB Line Probe Comment" | "HIV Viral Load (PSC)" | "Log Value" | "HIV Viral Load" | "Comment"; - component?: FHIR.BackboneElement[]; + component?: BackboneElement[]; contained?: any[]; - dataAbsentReason?: FHIR.CodeableConcept; - derivedFrom?: FHIR.Reference[]; - device?: FHIR.Reference; - effective?: string | FHIR.Period | FHIR.Timing; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focus?: FHIR.Reference[]; - hasMember?: FHIR.Reference[]; + dataAbsentReason?: CodeableConcept; + derivedFrom?: Reference[]; + device?: Reference; + effective?: string | Period | Timing; + encounter?: Reference; + extension?: Extension[]; + focus?: Reference[]; + hasMember?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - interpretation?: FHIR.CodeableConcept[]; + interpretation?: CodeableConcept[]; issued?: string; language?: string; - meta?: FHIR.Meta; - method?: FHIR.CodeableConcept; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.Reference[]; - referenceRange?: FHIR.BackboneElement[]; - specimen?: FHIR.Reference; + meta?: Meta; + method?: CodeableConcept; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: Reference[]; + referenceRange?: BackboneElement[]; + specimen?: Reference; status?: string; - subject?: FHIR.Reference; - testingLaboratory?: FHIR.Reference[]; - text?: FHIR.Narrative; - value?: FHIR.Quantity | FHIR.CodeableConcept | string | boolean | number | FHIR.Range | FHIR.Ratio | FHIR.SampledData | FHIR.Period; + subject?: Reference; + testingLaboratory?: Reference[]; + text?: Narrative; + value?: Quantity | CodeableConcept | string | boolean | number | Range | Ratio | SampledData | Period; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts b/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts index 7d770e6f35..d2a09d8ed0 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts @@ -4,32 +4,32 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Specimen_SzLabSpecimen_Props = { - accessionIdentifier?: FHIR.Identifier; - collection?: FHIR.BackboneElement; - condition?: FHIR.CodeableConcept[]; + accessionIdentifier?: Identifier; + collection?: BackboneElement; + condition?: CodeableConcept[]; contained?: any[]; - container?: FHIR.BackboneElement[]; - extension?: FHIR.Extension[]; + container?: BackboneElement[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - parent?: FHIR.Reference[]; - processing?: FHIR.BackboneElement[]; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + parent?: Reference[]; + processing?: BackboneElement[]; receivedTime?: string; - request?: FHIR.Reference[]; + request?: Reference[]; status?: string; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - type?: FHIR.CodeableConcept; + subject?: Reference; + text?: Narrative; + type?: CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLocation.ts b/packages/fhir-eswatini/src/profiles/SzLocation.ts index 9bd838bdeb..ebc7e0ab68 100644 --- a/packages/fhir-eswatini/src/profiles/SzLocation.ts +++ b/packages/fhir-eswatini/src/profiles/SzLocation.ts @@ -4,36 +4,36 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Location_SzLocation_Props = { - address?: FHIR.Address; + address?: Address; alias?: string[]; availabilityExceptions?: string; contained?: any[]; description?: string; - endpoint?: FHIR.Reference[]; - extension?: FHIR.Extension[]; - hoursOfOperation?: FHIR.BackboneElement[]; + endpoint?: Reference[]; + extension?: Extension[]; + hoursOfOperation?: BackboneElement[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - managingOrganization?: FHIR.Reference; - meta?: FHIR.Meta; + managingOrganization?: Reference; + meta?: Meta; mode?: string; - modifierExtension?: FHIR.Extension[]; + modifierExtension?: Extension[]; name?: string; - operationalStatus?: FHIR.Coding; - partOf?: FHIR.Reference; - physicalType?: FHIR.CodeableConcept; - position?: FHIR.BackboneElement; + operationalStatus?: Coding; + partOf?: Reference; + physicalType?: CodeableConcept; + position?: BackboneElement; status?: string; - telecom?: FHIR.ContactPoint[]; - text?: FHIR.Narrative; - type?: FHIR.CodeableConcept[]; + telecom?: ContactPoint[]; + text?: Narrative; + type?: CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts b/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts index b89eba0743..a5fd5c453d 100644 --- a/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts +++ b/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts @@ -4,42 +4,42 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Observation_SzMannerOfDeath_Props = { - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept; - category?: FHIR.CodeableConcept[]; - code?: FHIR.CodeableConcept; - component?: FHIR.BackboneElement[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept; + category?: CodeableConcept[]; + code?: CodeableConcept; + component?: BackboneElement[]; contained?: any[]; - dataAbsentReason?: FHIR.CodeableConcept; - derivedFrom?: FHIR.Reference[]; - device?: FHIR.Reference; - effective?: string | FHIR.Period | FHIR.Timing; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focus?: FHIR.Reference[]; - hasMember?: FHIR.Reference[]; + dataAbsentReason?: CodeableConcept; + derivedFrom?: Reference[]; + device?: Reference; + effective?: string | Period | Timing; + encounter?: Reference; + extension?: Extension[]; + focus?: Reference[]; + hasMember?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - interpretation?: FHIR.CodeableConcept[]; + interpretation?: CodeableConcept[]; issued?: string; language?: string; - meta?: FHIR.Meta; - method?: FHIR.CodeableConcept; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.Reference[]; - referenceRange?: FHIR.BackboneElement[]; - specimen?: FHIR.Reference; + meta?: Meta; + method?: CodeableConcept; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: Reference[]; + referenceRange?: BackboneElement[]; + specimen?: Reference; status?: string; - subject?: FHIR.Reference; - text?: FHIR.Narrative; + subject?: Reference; + text?: Narrative; value?: string; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMedication.ts b/packages/fhir-eswatini/src/profiles/SzMedication.ts index f5bc48b534..14899c0d1c 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedication.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedication.ts @@ -4,27 +4,27 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Medication_SzMedication_Props = { - amount?: FHIR.Ratio; - batch?: FHIR.BackboneElement; + amount?: Ratio; + batch?: BackboneElement; code?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; contained?: any[]; - extension?: FHIR.Extension[]; - form?: FHIR.CodeableConcept; + extension?: Extension[]; + form?: CodeableConcept; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - ingredient?: FHIR.BackboneElement[]; + ingredient?: BackboneElement[]; language?: string; - manufacturer?: FHIR.Reference; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; + manufacturer?: Reference; + meta?: Meta; + modifierExtension?: Extension[]; status?: string; - text?: FHIR.Narrative; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts b/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts index 5aecd79133..fd2e071682 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts @@ -4,41 +4,41 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type MedicationDispense_SzMedicationDispense_Props = { - authorizingPrescription?: FHIR.Reference[]; - category?: FHIR.CodeableConcept; + authorizingPrescription?: Reference[]; + category?: CodeableConcept; contained?: any[]; - context?: FHIR.Reference; - daysSupply?: FHIR.Quantity; - destination?: FHIR.Reference; - detectedIssue?: FHIR.Reference[]; - dosageInstruction?: FHIR.Dosage[]; - eventHistory?: FHIR.Reference[]; - extension?: FHIR.Extension[]; + context?: Reference; + daysSupply?: Quantity; + destination?: Reference; + detectedIssue?: Reference[]; + dosageInstruction?: Dosage[]; + eventHistory?: Reference[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - location?: FHIR.Reference; - medication?: FHIR.CodeableConcept; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.BackboneElement[]; - quantity?: FHIR.Quantity; - receiver?: FHIR.Reference[]; + location?: Reference; + medication?: CodeableConcept; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: BackboneElement[]; + quantity?: Quantity; + receiver?: Reference[]; status?: string; - statusReason?: FHIR.CodeableConcept | FHIR.Reference; - subject?: FHIR.Reference; - substitution?: FHIR.BackboneElement; - supportingInformation?: FHIR.Reference[]; - text?: FHIR.Narrative; - type?: FHIR.CodeableConcept; + statusReason?: CodeableConcept | Reference; + subject?: Reference; + substitution?: BackboneElement; + supportingInformation?: Reference[]; + text?: Narrative; + type?: CodeableConcept; whenHandedOver?: string; whenPrepared?: string; [key: string]: any; diff --git a/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts b/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts index c0e0520530..a55182f1b3 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts @@ -4,51 +4,51 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type MedicationRequest_SzMedicationRequest_Props = { authoredOn?: string; - basedOn?: FHIR.Reference[]; - category?: FHIR.CodeableConcept[]; + basedOn?: Reference[]; + category?: CodeableConcept[]; contained?: any[]; - courseOfTherapyType?: FHIR.CodeableConcept; - detectedIssue?: FHIR.Reference[]; - dispenseRequest?: FHIR.BackboneElement; + courseOfTherapyType?: CodeableConcept; + detectedIssue?: Reference[]; + dispenseRequest?: BackboneElement; doNotPerform?: boolean; - dosageInstruction?: FHIR.Dosage[]; - encounter?: FHIR.Reference; - eventHistory?: FHIR.Reference[]; - extension?: FHIR.Extension[]; - groupIdentifier?: FHIR.Identifier; + dosageInstruction?: Dosage[]; + encounter?: Reference; + eventHistory?: Reference[]; + extension?: Extension[]; + groupIdentifier?: Identifier; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: FHIR.Reference[]; + insurance?: Reference[]; intent?: string; language?: string; medication?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - performer?: FHIR.Reference; - performerType?: FHIR.CodeableConcept; - priorPrescription?: FHIR.Reference; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + performer?: Reference; + performerType?: CodeableConcept; + priorPrescription?: Reference; priority?: string; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - recorder?: FHIR.Reference; - reported?: boolean | FHIR.Reference; - requester?: FHIR.Reference; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + recorder?: Reference; + reported?: boolean | Reference; + requester?: Reference; status?: string; - statusReason?: FHIR.CodeableConcept; - subject?: FHIR.Reference; - substitution?: FHIR.BackboneElement; - supportingInformation?: FHIR.Reference[]; - text?: FHIR.Narrative; + statusReason?: CodeableConcept; + subject?: Reference; + substitution?: BackboneElement; + supportingInformation?: Reference[]; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzOrganization.ts b/packages/fhir-eswatini/src/profiles/SzOrganization.ts index 6b08bd686b..a66daef27a 100644 --- a/packages/fhir-eswatini/src/profiles/SzOrganization.ts +++ b/packages/fhir-eswatini/src/profiles/SzOrganization.ts @@ -4,29 +4,29 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Organization_SzOrganization_Props = { active?: boolean; - address?: FHIR.Address[]; + address?: Address[]; alias?: string[]; - contact?: FHIR.BackboneElement[]; + contact?: BackboneElement[]; contained?: any[]; - endpoint?: FHIR.Reference[]; - extension?: FHIR.Extension[]; + endpoint?: Reference[]; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; + meta?: Meta; + modifierExtension?: Extension[]; name?: string; - partOf?: FHIR.Reference; - telecom?: FHIR.ContactPoint[]; - text?: FHIR.Narrative; - type?: FHIR.CodeableConcept[]; + partOf?: Reference; + telecom?: ContactPoint[]; + text?: Narrative; + type?: CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzPatient.ts b/packages/fhir-eswatini/src/profiles/SzPatient.ts index aa253ef445..82f16edb87 100644 --- a/packages/fhir-eswatini/src/profiles/SzPatient.ts +++ b/packages/fhir-eswatini/src/profiles/SzPatient.ts @@ -4,39 +4,39 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Patient_SzPatient_Props = { active?: boolean; - address?: FHIR.Address[]; + address?: Address[]; birthDate?: string; chiefdom?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "61" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "69" | "70" | "71" | "72" | "73" | "74" | "75" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "83" | "84" | "85" | "86" | "87" | "88" | "89" | "90" | "91" | "92" | "93" | "94" | "95" | "96" | "97" | "98" | "99" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "113" | "114" | "115" | "116" | "117" | "118" | "119" | "120" | "121" | "122" | "123" | "124" | "125" | "126" | "127" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "138" | "139" | "140" | "141" | "142" | "143" | "144" | "145" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "156" | "157" | "158" | "159" | "160" | "161" | "162" | "163" | "164" | "165" | "166" | "167" | "168" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "191" | "192" | "193" | "194" | "195" | "196" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "214" | "215" | "216" | "217" | "218" | "219" | "220" | "221" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "230" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "244" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "255" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "310" | "311" | "312" | "313" | "314" | "315" | "316" | "317" | "318" | "319" | "320" | "321" | "322" | "323" | "324" | "325" | "326" | "327" | "328" | "329" | "330" | "331" | "332" | "333" | "334" | "335" | "336" | "337" | "338" | "340" | "-99" | "Lamgabhi " | "Dlangeni" | "Kasiko" | "Sitseni" | "Zulwini" | "ELangeni" | "Lobamba " | "Nkhanini" | "Zabeni" | "Zandondo" | "Gucuka " | "Tfuntini/Buhlebuyeza " | "Dvokolwako / Ekuphakameni" | "Ekukhulumeni/ Mandlangempisi" | "Nyonyane/ Maguga" | "Mavula" | "Maphalaleni" | "Dlozini" | "Mcengeni" | "Madlolo" | "Nsingweni" | "Mfeni" | "Mkhuzweni" | "Mfasini" | "Mkhweni" | "Mavula" | "Herefords" | "Msunduza" | "Fontein" | "Sidwashini" | "Mdzimba/Lofokati" | "Manzana" | "Nkwalini " | "Mangwaneni " | "Mangweni" | "Ndvwabangeni" | "Nhlanguyavuka" | "Zinyane " | "Emalibeni " | "Sidvwashini" | "Nyakatfo" | "Mphofu" | "Mgungundlovu" | "Nkamanzi" | "Ludlawini " | "Mvuma" | "Bulandzeni" | "Ndzingeni" | "Kwaliweni" | "Meleti" | "Ntsanjeni" | "Ejubukweni" | "Malanti" | "Nkhaba" | "Kuvinjelweni" | "Vusweni" | "Mshingishingini" | "ka-Hhohho" | "Lomshiyo" | "Emvembili" | "Kandwandwa" | "Hhelehhele" | "Bulembu (Luhhumaneni 1)" | "Luhhumaneni/kaNdeva" | "Luhlangotsini" | "Piggs Peak" | "Nginamadvolo" | "Nsangwini" | "Siphocosini" | "Sigangeni" | "Luhlendlweni" | "Mantabeni" | "Mashobeni North" | "Mvembili" | "Ludzibini" | "Hhohho" | "Hlane" | "Malindza" | "Mdumezulu" | "Njabulweni" | "Ntandweni (Malindza)" | "Etjedze" | "Sigcaweni West" | "Macetjeni (Mabondvweni)" | "Hlutse" | "Macetjeni" | "Vikizijula" | "Bulunga" | "Lomahasha" | "Shewula" | "kaVuma" | "Canter berry" | "Mabantaneni" | "Ntuthwakazi" | "kaLanga" | "Makhewu" | "Mlindazwe" | "Sitsatsaweni" | "Lukhetseni" | "Mambane" | "Maphungwane" | "Tikhuba" | "Mafucula" | "Mhlume" | "Simunye" | "Tambankulu" | "Tshaneni" | "Vuvulane" | "Tsambokhulu" | "kaShoba" | "Mpolonjeni" | "Ndzangu" | "Ngcina" | "Sigcaweni East" | "Crooks Plantations" | "Gamula" | "Lunkuntfu" | "Nkhanini/Lusabeni" | "Illovo/Mayaluka" | "Phafeni" | "Madlenya" | "Maphilingo" | "kaMkhweli" | "Mphumakudze" | "Nceka" | "Ngevini" | "Tambuti" | "Luhlanyeni" | "Mamisa" | "Nkonjwa" | "Nokwane" | "Nyakeni" | "Nkiliji" | "Bhekinkhosi" | "Nswaceni" | "Mkhulamini" | "Maliyaduma" | "Mbeka" | "Kwaluseni" | "Logoba" | "Mhlane" | "Lamgabhi" | "Dvudvusini" | "Luhleko" | "Emhlangeni" | "Nhlulweni" | "Kufinyeni" | "Luyengo" | "Mahlanya" | "Ngwenyameni" | "Mbekelweni" | "Zombodze" | "Lozitha" | "Nkamanzi" | "Kudzeni" | "Ngculwini" | "Ka-Nkhambule" | "Mafutseni" | "Luhlokohla" | "Timbutini" | "Bhudla" | "Mgomfelweni" | "Luzelweni" | "Mambatfweni" | "Nsangwini" | "Mpolonjeni" | "Ludvondvolweni" | "KaZulu" | "Nciniselweni" | "Ndzeleni" | "Sigcineni " | "Bhahwini" | "Mangcongco/Zenukeni" | "Sandlane/Ekuthuleni" | "Mabhukwini" | "Dwalile" | "Makholweni" | "St Pauls" | "Mnyenyweni" | "Manzini Central" | "Dwaleni" | "Mzimnene" | "Mhobodleni" | "Mjingo " | "Moneni" | "Ticancweni" | "Zakhele" | "Ngwane Park" | "Zondwako" | "Lundzi" | "Dingizwe" | "Mlindazwe" | "Mbangave" | "Bhunya" | "Dvokolwako" | "Mbelebeleni" | "Kutsimuleni" | "Khuphuka" | "Likima" | "Gundvwini" | "Gundvwini/Lesibovu" | "Lwandle" | "Ndlandlameni" | "Hlane/Bulunga" | "Dladleni" | "Ngcoseni" | "Bhadzeni 1" | "Velezizweni" | "Macudvulwini" | "Ngonini" | "Njelu" | "Mphankhomo" | "Masundvwini" | "Sibuyeni" | "Vusweni" | "Sigombeni" | "Ntunja" | "Eni" | "Ngcayini" | "Sankolweni" | "Nsenga" | "Nsingweni" | "Ntondozi" | "Ncabaneni" | "Khalangilile" | "Mphini" | "Ndinda" | "Ndlinilembi" | "Gebeni" | "Mgazini" | "Bhadzeni 2" | "Mahhashini" | "Lushikishini" | "Khabonina" | "Dilini" | "KaDinga" | "kaTsambekwako" | "Mashobeni" | "Mhlahlweni " | "Mlindazwe" | "Nshamanti" | "Nsukazi " | "Sidwala" | "Sisingeni" | "Siyendle" | "Bufaneni" | "Hhohho Emuva" | "kaLiba" | "Lushini" | "Manyiseni" | "Nsingizini" | "Ondiyaneni" | "Ezishineni/ Manyeveni" | "Kaphunga" | "KaNdlovu" | "Ngobelweni" | "Nhlalabantfu" | "KaKholwane" | "kaMbhoke" | "kaGwebu" | "Gasa" | "Khamsile" | "Lomfa" | "Mbabane" | "Mbangweni" | "Nkalaneni" | "Nzameya" | "Nkomonye" | "KaDlovunga " | "KaMzizi" | "Masibini" | "Mbilaneni" | "Simemeni " | "Vusweni" | "Bambitje" | "Dinabanye" | "Kwaluseni" | "Nkonka" | "Nsalitje" | "Qomintaba" | "Benezer" | "Bhanganoma" | "Kwendzeni" | "Magele" | "Zenzile" | "KaMbiko" | "KaMhawu" | "KaMshengu" | "Lusitini" | "Mphini" | "Ndushulweni" | "Nokwane" | "Phobane" | "Buseleni" | "Hlobane" | "Kuphumuleni" | "Nkwene" | "kaGwegwe" | "Ezibondeni/Kashiba" | "Nhletjeni" | "Nkhungwini" | "Ngololweni" | "Dumenkhungwini" | "Eposini" | "Hhuhhuma" | "Mabonabulawe" | "Manyandzeni " | "Mchinsweni " | "Zikhotheni " | "Mahlalini" | "Mbabala" | "Mbeka" | "Makhwelela" | "Mpangisweni" | "Mbangweni" | "Mathendele" | "Mkhitsini" | "Sikhotseni" | "Lulakeni" | "Kuphumleni " | "Ndunayithini" | "Nyatsini" | "Ezindwendweni" | "Luhlekweni" | "Maplotini" | "Ntuthwakazi" | "Nsubane" | "Phangweni" | "Vimbizibuko" | "Bulekeni" | "Mampondweni" | "Ngwenyameni " | "Zombodze " | "Nduma" | "Kupheleni" | "Mpolonjeni" | "Nhlalabantfu" | "Mhlangatane" | "Mhawini" | "Unspecified"; - communication?: FHIR.BackboneElement[]; - contact?: FHIR.BackboneElement[]; + communication?: BackboneElement[]; + contact?: BackboneElement[]; contained?: any[]; deceased?: boolean | string; - extension?: FHIR.Extension[]; + extension?: Extension[]; gender?: string; - generalPractitioner?: FHIR.Reference[]; + generalPractitioner?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; inkhundla?: "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "-99" | "HHUKWINI" | "LOBAMBA" | "MADLANGEMPISI" | "MAPHALALENI" | "MAYIWANE" | "MBABANE EAST" | "MBABANE WEST" | "MHLANGATANE" | "NDZINGENI" | "NKHABA" | "NTFONJENI" | "PIGGS PEAK" | "SIPHOCOSINI" | "TIMPHISINI" | "DVOKODVWENI" | "GILGALI" | "LOMAHASHA" | "LUBULI" | "LUGONGOLWENI" | "MATSANJENI NORTH" | "MHLUME" | "MPOLONJENI" | "NKILONGO" | "SIPHOFANENI" | "SITHOBELA" | "KUKHANYENI" | "KWALUSENI" | "LAMGABHI" | "LOBAMBA LOMDZALA" | "LUDZELUDZE" | "MAFUTSENI" | "MAHLANGATSHA" | "MANGCONGCO" | "MANZINI NORTH" | "MANZINI SOUTH" | "MHLAMBANYATSI" | "MKHIWENI" | "MTFONGWANENI" | "NGWEMPISI" | "NHLAMBENI" | "NKOMIYAHLABA" | "NTONDOZI" | "PHONDO" | "GEGE" | "HOSEA" | "KUBUTA" | "KUMETHULA" | "MASEYISINI" | "MATSANJENI SOUTH" | "MTSAMBAMA" | "NGUDZENI" | "NKWENE" | "SANDLENI" | "SHISELWENI I" | "SHISELWENI II" | "SIGWE" | "SOMNTONGO" | "ZOMBODZE EMUVA" | "MOTSHANE" | "Unspecified"; language?: string; - link?: FHIR.BackboneElement[]; - managingOrganization?: FHIR.Reference; - maritalStatus?: FHIR.CodeableConcept; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; + link?: BackboneElement[]; + managingOrganization?: Reference; + maritalStatus?: CodeableConcept; + meta?: Meta; + modifierExtension?: Extension[]; multipleBirth?: boolean | number; - name?: FHIR.HumanName[]; - nationality?: FHIR.Extension[]; - photo?: FHIR.Attachment[]; + name?: HumanName[]; + nationality?: Extension[]; + photo?: Attachment[]; registrationDate?: string[]; - telecom?: FHIR.ContactPoint[]; - text?: FHIR.Narrative; + telecom?: ContactPoint[]; + text?: Narrative; [key: string]: any; }; @@ -135,6 +135,37 @@ export default function(props: Partial) { } } + { + if (!_.isNil(props._birthDate)) { + if (_.isPlainObject(props._birthDate)) { + resource._birthDate = Object.assign({}, props._birthDate); + } else { + delete resource._birthDate; + resource._birthDate = {}; + + dt.addExtension( + resource._birthDate, + "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + props._birthDate + ); + } + } + + if (!_.isNil(props._birthTime)) { + delete resource._birthTime; + + if (!resource._birthDate) { + resource._birthDate = {}; + } + + dt.addExtension( + resource._birthDate, + "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + props._birthTime + ); + } + } + if (!_.isNil(props.deceased)) { delete resource.deceased; dt.composite(resource, "deceased", props.deceased); diff --git a/packages/fhir-eswatini/src/profiles/SzPractitioner.ts b/packages/fhir-eswatini/src/profiles/SzPractitioner.ts index ae20c767be..e6a7f9d57a 100644 --- a/packages/fhir-eswatini/src/profiles/SzPractitioner.ts +++ b/packages/fhir-eswatini/src/profiles/SzPractitioner.ts @@ -4,29 +4,29 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Practitioner_SzPractitioner_Props = { active?: boolean; - address?: FHIR.Address[]; + address?: Address[]; birthDate?: string; - communication?: FHIR.CodeableConcept[]; + communication?: CodeableConcept[]; contained?: any[]; - extension?: FHIR.Extension[]; + extension?: Extension[]; gender?: string; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; language?: string; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - name?: FHIR.HumanName[]; - photo?: FHIR.Attachment[]; - qualification?: FHIR.BackboneElement[]; - telecom?: FHIR.ContactPoint[]; - text?: FHIR.Narrative; + meta?: Meta; + modifierExtension?: Extension[]; + name?: HumanName[]; + photo?: Attachment[]; + qualification?: BackboneElement[]; + telecom?: ContactPoint[]; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzProcedure.ts b/packages/fhir-eswatini/src/profiles/SzProcedure.ts index 0de0ff6862..022c569622 100644 --- a/packages/fhir-eswatini/src/profiles/SzProcedure.ts +++ b/packages/fhir-eswatini/src/profiles/SzProcedure.ts @@ -4,47 +4,47 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Procedure_SzProcedure_Props = { - asserter?: FHIR.Reference; - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept[]; - category?: FHIR.CodeableConcept; - code?: FHIR.CodeableConcept; - complication?: FHIR.CodeableConcept[]; - complicationDetail?: FHIR.Reference[]; + asserter?: Reference; + basedOn?: Reference[]; + bodySite?: CodeableConcept[]; + category?: CodeableConcept; + code?: CodeableConcept; + complication?: CodeableConcept[]; + complicationDetail?: Reference[]; contained?: any[]; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focalDevice?: FHIR.BackboneElement[]; - followUp?: FHIR.CodeableConcept[]; + encounter?: Reference; + extension?: Extension[]; + focalDevice?: BackboneElement[]; + followUp?: CodeableConcept[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; language?: string; - location?: FHIR.Reference; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - outcome?: FHIR.CodeableConcept; - partOf?: FHIR.Reference[]; - performed?: string | FHIR.Period | FHIR.Age | FHIR.Range; - performer?: FHIR.BackboneElement[]; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - recorder?: FHIR.Reference; - report?: FHIR.Reference[]; + location?: Reference; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + outcome?: CodeableConcept; + partOf?: Reference[]; + performed?: string | Period | Age | Range; + performer?: BackboneElement[]; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + recorder?: Reference; + report?: Reference[]; status?: string; - statusReason?: FHIR.CodeableConcept; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - usedCode?: FHIR.CodeableConcept[]; - usedReference?: FHIR.Reference[]; + statusReason?: CodeableConcept; + subject?: Reference; + text?: Narrative; + usedCode?: CodeableConcept[]; + usedReference?: Reference[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzReferral.ts b/packages/fhir-eswatini/src/profiles/SzReferral.ts index 310634bb6f..0e7ef673b5 100644 --- a/packages/fhir-eswatini/src/profiles/SzReferral.ts +++ b/packages/fhir-eswatini/src/profiles/SzReferral.ts @@ -4,53 +4,53 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type ServiceRequest_SzReferral_Props = { - asNeeded?: boolean | FHIR.CodeableConcept; + asNeeded?: boolean | CodeableConcept; authoredOn?: string; - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept[]; - category?: FHIR.CodeableConcept[]; - code?: FHIR.CodeableConcept; + basedOn?: Reference[]; + bodySite?: CodeableConcept[]; + category?: CodeableConcept[]; + code?: CodeableConcept; contained?: any[]; doNotPerform?: boolean; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; + encounter?: Reference; + extension?: Extension[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: FHIR.Reference[]; + insurance?: Reference[]; intent?: string; language?: string; - locationCode?: FHIR.CodeableConcept[]; - locationReference?: FHIR.Reference[]; - meta?: FHIR.Meta; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - occurrence?: string | FHIR.Period | FHIR.Timing; - orderDetail?: FHIR.CodeableConcept[]; + locationCode?: CodeableConcept[]; + locationReference?: Reference[]; + meta?: Meta; + modifierExtension?: Extension[]; + note?: Annotation[]; + occurrence?: string | Period | Timing; + orderDetail?: CodeableConcept[]; patientInstruction?: string; - performer?: FHIR.Reference[]; - performerType?: FHIR.CodeableConcept; + performer?: Reference[]; + performerType?: CodeableConcept; priority?: string; - quantity?: FHIR.Quantity | FHIR.Ratio | FHIR.Range; - reasonCode?: FHIR.CodeableConcept[]; - reasonReference?: FHIR.Reference[]; - recipient?: any[] | boolean[] | string[] | number[] | FHIR.Address[] | FHIR.Age[] | FHIR.Annotation[] | FHIR.Attachment[] | FHIR.CodeableConcept[] | FHIR.Coding[] | FHIR.ContactPoint[] | FHIR.Count[] | FHIR.Distance[] | FHIR.Duration[] | FHIR.HumanName[] | FHIR.Identifier[] | FHIR.Money[] | FHIR.Period[] | FHIR.Quantity[] | FHIR.Range[] | FHIR.Ratio[] | FHIR.Reference[] | FHIR.SampledData[] | FHIR.Signature[] | FHIR.Timing[] | FHIR.ContactDetail[] | FHIR.Contributor[] | FHIR.DataRequirement[] | FHIR.Expression[] | FHIR.ParameterDefinition[] | FHIR.RelatedArtifact[] | FHIR.TriggerDefinition[] | FHIR.UsageContext[] | FHIR.Dosage[] | FHIR.Meta[]; - relevantHistory?: FHIR.Reference[]; - replaces?: FHIR.Reference[]; - requester?: FHIR.Reference; - requisition?: FHIR.Identifier; - specimen?: FHIR.Reference[]; + quantity?: Quantity | Ratio | Range; + reasonCode?: CodeableConcept[]; + reasonReference?: Reference[]; + recipient?: any[] | boolean[] | string[] | number[] | Address[] | Age[] | Annotation[] | Attachment[] | CodeableConcept[] | Coding[] | ContactPoint[] | Count[] | Distance[] | Duration[] | HumanName[] | Identifier[] | Money[] | Period[] | Quantity[] | Range[] | Ratio[] | Reference[] | SampledData[] | Signature[] | Timing[] | ContactDetail[] | Contributor[] | DataRequirement[] | Expression[] | ParameterDefinition[] | RelatedArtifact[] | TriggerDefinition[] | UsageContext[] | Dosage[] | Meta[]; + relevantHistory?: Reference[]; + replaces?: Reference[]; + requester?: Reference; + requisition?: Identifier; + specimen?: Reference[]; status?: string; - subject?: FHIR.Reference; - supportingInfo?: FHIR.Reference[]; - text?: FHIR.Narrative; + subject?: Reference; + supportingInfo?: Reference[]; + text?: Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts b/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts index 57c1ed4ee9..d5efb18143 100644 --- a/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts +++ b/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import { b as dt } from "@openfn/language-fhir-4"; -import type { builders as FHIR } from "@openfn/language-fhir-4"; +import * as dt from "../datatypes"; +import type * as FHIR from "../fhir"; type MaybeArray = T | T[]; export type Observation_SzVitalSigns_Props = { - basedOn?: FHIR.Reference[]; - bodySite?: FHIR.CodeableConcept; - category?: FHIR.CodeableConcept[]; - code?: FHIR.CodeableConcept; - component?: FHIR.BackboneElement[]; + basedOn?: Reference[]; + bodySite?: CodeableConcept; + category?: CodeableConcept[]; + code?: CodeableConcept; + component?: BackboneElement[]; contained?: any[]; - dataAbsentReason?: FHIR.CodeableConcept; - derivedFrom?: FHIR.Reference[]; - device?: FHIR.Reference; - effective?: string | FHIR.Period; - encounter?: FHIR.Reference; - extension?: FHIR.Extension[]; - focus?: FHIR.Reference[]; - hasMember?: FHIR.Reference[]; + dataAbsentReason?: CodeableConcept; + derivedFrom?: Reference[]; + device?: Reference; + effective?: string | Period; + encounter?: Reference; + extension?: Extension[]; + focus?: Reference[]; + hasMember?: Reference[]; id?: string; - identifier?: FHIR.Identifier[]; + identifier?: Identifier[]; implicitRules?: string; - interpretation?: FHIR.CodeableConcept[]; + interpretation?: CodeableConcept[]; issued?: string; language?: string; - meta?: FHIR.Meta; - method?: FHIR.CodeableConcept; - modifierExtension?: FHIR.Extension[]; - note?: FHIR.Annotation[]; - partOf?: FHIR.Reference[]; - performer?: FHIR.Reference[]; - referenceRange?: FHIR.BackboneElement[]; - specimen?: FHIR.Reference; + meta?: Meta; + method?: CodeableConcept; + modifierExtension?: Extension[]; + note?: Annotation[]; + partOf?: Reference[]; + performer?: Reference[]; + referenceRange?: BackboneElement[]; + specimen?: Reference; status?: string; - subject?: FHIR.Reference; - text?: FHIR.Narrative; - value?: FHIR.Quantity; + subject?: Reference; + text?: Narrative; + value?: Quantity; [key: string]: any; }; diff --git a/packages/fhir-eswatini/test/resources/Patient.test.ts b/packages/fhir-eswatini/test/resources/Patient.test.ts index 2f124d2e58..3ab2fb236f 100644 --- a/packages/fhir-eswatini/test/resources/Patient.test.ts +++ b/packages/fhir-eswatini/test/resources/Patient.test.ts @@ -439,4 +439,21 @@ describe('SzPatient', () => { valueDateTime: '2025-06-01T10:00:00Z', }); }); + it('should map primitive values', ()=>{ + const state = {}; + + const resource = b.patient('SzPatient',{ + birthDate:'10/07/1990', + _birthDate:'2000-01-01T14:35:45-05:00' + }); + + assert.deepEqual(resource._birthDate, { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2000-01-01T14:35:45-05:00" + } + ] + }) +}); }); diff --git a/packages/fhir-eswatini/types/builders.d.ts b/packages/fhir-eswatini/types/builders.d.ts index 381cbeb2d7..208b47f628 100644 --- a/packages/fhir-eswatini/types/builders.d.ts +++ b/packages/fhir-eswatini/types/builders.d.ts @@ -1,705 +1,25 @@ - -// THIS FILE WAS AUTO-GENERATED -// DO NOT MAKE CHANGES MANUALLY OR THEY WILL BE LOST -// SEE THE README FILE FOR DETAILS - -import { builders } from '@openfn/language-fhir-4'; - -declare type Appointment_SzAppointment_Props = { - appointmentType?: builders.CodeableConcept; - basedOn?: builders.Reference[]; - cancelationReason?: builders.CodeableConcept; - comment?: string; - contained?: any[]; - created?: string; - description?: string; - end?: string; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - meta?: builders.Meta; - minutesDuration?: number; - modifierExtension?: builders.Extension[]; - participant?: builders.BackboneElement[]; - patientInstruction?: string; - priority?: number; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - requestedPeriod?: builders.Period[]; - serviceCategory?: builders.CodeableConcept[]; - serviceType?: builders.CodeableConcept[]; - slot?: builders.Reference[]; - specialty?: builders.CodeableConcept[]; - start?: string; - status?: string; - supportingInformation?: builders.Reference[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type Condition_SzCondition_Props = { - abatement?: string | builders.Age | builders.Period | builders.Range; - asserter?: builders.Reference; - bodySite?: builders.CodeableConcept[]; - category?: builders.CodeableConcept[]; - clinicalStatus?: builders.CodeableConcept; - code?: builders.CodeableConcept; - contained?: any[]; - encounter?: builders.Reference; - evidence?: builders.BackboneElement[]; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - onset?: string; - recordedDate?: string; - recorder?: builders.Reference; - severity?: builders.CodeableConcept; - stage?: builders.BackboneElement[]; - subject?: builders.Reference; - text?: builders.Narrative; - verificationStatus?: builders.CodeableConcept; - [key: string]: any; -}; - -declare type Encounter_SzEncounter_Props = { - account?: builders.Reference[]; - appointment?: builders.Reference[]; - basedOn?: builders.Reference[]; - class?: "OPD" | "IPD" | "CO" | "SO" | "Outpatient Department" | "Inpatient Department" | "Community Outreach" | "Schools Outreach"; - classHistory?: builders.BackboneElement[]; - contained?: any[]; - diagnosis?: builders.BackboneElement[]; - episodeOfCare?: builders.Reference[]; - extension?: builders.Extension[]; - hospitalization?: builders.BackboneElement; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - length?: builders.Duration; - location?: builders.BackboneElement[]; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - partOf?: builders.Reference; - participant?: builders.BackboneElement[]; - period?: builders.Period; - priority?: builders.CodeableConcept; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - serviceProvider?: builders.Reference; - serviceType?: builders.CodeableConcept; - status?: string; - statusHistory?: builders.BackboneElement[]; - subject?: builders.Reference; - text?: builders.Narrative; - type?: builders.CodeableConcept[]; - [key: string]: any; -}; - -declare type EpisodeOfCare_SzEpisodeOfCare_Props = { - account?: builders.Reference[]; - careManager?: builders.Reference; - contained?: any[]; - diagnosis?: builders.BackboneElement[]; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - managingOrganization?: builders.Reference; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - patient?: builders.Reference; - period?: builders.Period; - referralRequest?: builders.Reference[]; - status?: string; - statusHistory?: builders.BackboneElement[]; - team?: builders.Reference[]; - text?: builders.Narrative; - type?: "tbds" | "tbdr" | "anc" | "fp" | "art" | "prep" | "TB DS" | "TB DR" | "ANC" | "Family Planning" | "ART" | "PrEP"; - [key: string]: any; -}; - -declare type Location_SzLocation_Props = { - address?: builders.Address; - alias?: string[]; - availabilityExceptions?: string; - contained?: any[]; - description?: string; - endpoint?: builders.Reference[]; - extension?: builders.Extension[]; - hoursOfOperation?: builders.BackboneElement[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - managingOrganization?: builders.Reference; - meta?: builders.Meta; - mode?: string; - modifierExtension?: builders.Extension[]; - name?: string; - operationalStatus?: builders.Coding; - partOf?: builders.Reference; - physicalType?: builders.CodeableConcept; - position?: builders.BackboneElement; - status?: string; - telecom?: builders.ContactPoint[]; - text?: builders.Narrative; - type?: builders.CodeableConcept[]; - [key: string]: any; -}; - -declare type Medication_SzMedication_Props = { - amount?: builders.Ratio; - batch?: builders.BackboneElement; - code?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; - contained?: any[]; - extension?: builders.Extension[]; - form?: builders.CodeableConcept; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - ingredient?: builders.BackboneElement[]; - language?: string; - manufacturer?: builders.Reference; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - status?: string; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type MedicationDispense_SzMedicationDispense_Props = { - authorizingPrescription?: builders.Reference[]; - category?: builders.CodeableConcept; - contained?: any[]; - context?: builders.Reference; - daysSupply?: builders.Quantity; - destination?: builders.Reference; - detectedIssue?: builders.Reference[]; - dosageInstruction?: builders.Dosage[]; - eventHistory?: builders.Reference[]; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - location?: builders.Reference; - medication?: builders.CodeableConcept; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.BackboneElement[]; - quantity?: builders.Quantity; - receiver?: builders.Reference[]; - status?: string; - statusReason?: builders.CodeableConcept | builders.Reference; - subject?: builders.Reference; - substitution?: builders.BackboneElement; - supportingInformation?: builders.Reference[]; - text?: builders.Narrative; - type?: builders.CodeableConcept; - whenHandedOver?: string; - whenPrepared?: string; - [key: string]: any; -}; - -declare type MedicationRequest_SzMedicationRequest_Props = { - authoredOn?: string; - basedOn?: builders.Reference[]; - category?: builders.CodeableConcept[]; - contained?: any[]; - courseOfTherapyType?: builders.CodeableConcept; - detectedIssue?: builders.Reference[]; - dispenseRequest?: builders.BackboneElement; - doNotPerform?: boolean; - dosageInstruction?: builders.Dosage[]; - encounter?: builders.Reference; - eventHistory?: builders.Reference[]; - extension?: builders.Extension[]; - groupIdentifier?: builders.Identifier; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - instantiatesCanonical?: any[]; - instantiatesUri?: string[]; - insurance?: builders.Reference[]; - intent?: string; - language?: string; - medication?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - performer?: builders.Reference; - performerType?: builders.CodeableConcept; - priorPrescription?: builders.Reference; - priority?: string; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - recorder?: builders.Reference; - reported?: boolean | builders.Reference; - requester?: builders.Reference; - status?: string; - statusReason?: builders.CodeableConcept; - subject?: builders.Reference; - substitution?: builders.BackboneElement; - supportingInformation?: builders.Reference[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type Observation_SzCauseOfDeath_Props = { - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept; - category?: builders.CodeableConcept[]; - code?: builders.CodeableConcept; - component?: builders.BackboneElement[]; - contained?: any[]; - dataAbsentReason?: builders.CodeableConcept; - derivedFrom?: builders.Reference[]; - device?: builders.Reference; - effective?: string | builders.Period | builders.Timing; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focus?: builders.Reference[]; - hasMember?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - interpretation?: builders.CodeableConcept[]; - issued?: string; - language?: string; - meta?: builders.Meta; - method?: builders.CodeableConcept; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.Reference[]; - referenceRange?: builders.BackboneElement[]; - specimen?: builders.Reference; - status?: string; - subject?: builders.Reference; - text?: builders.Narrative; - value?: builders.CodeableConcept; - [key: string]: any; -}; - -declare type Observation_SzClinicalObservation_Props = { - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept; - category?: builders.CodeableConcept[]; - code?: builders.CodeableConcept; - component?: builders.BackboneElement[]; - contained?: any[]; - dataAbsentReason?: builders.CodeableConcept; - derivedFrom?: builders.Reference[]; - device?: builders.Reference; - effective?: string | builders.Period | builders.Timing; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focus?: builders.Reference[]; - hasMember?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - interpretation?: builders.CodeableConcept[]; - issued?: string; - language?: string; - meta?: builders.Meta; - method?: builders.CodeableConcept; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.Reference[]; - referenceRange?: builders.BackboneElement[]; - specimen?: builders.Reference; - status?: string; - subject?: builders.Reference; - text?: builders.Narrative; - value?: builders.Quantity | builders.CodeableConcept | string | boolean | number | builders.Range | builders.Ratio | builders.SampledData | builders.Period; - [key: string]: any; -}; - -declare type Observation_SzLabResult_Props = { - authorizer?: builders.Reference[]; - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept; - category?: builders.CodeableConcept[]; - code?: "NIT" | "UG" | "UP" | "UPH" | "UBILI" | "UKET" | "ULEST" | "N/A" | "#BAND" | "#BASO" | "#EOS" | "#IG" | "#LYM" | "#META" | "#MONO" | "#MYEL" | "#NEUT" | "#PROM" | "%BJP" | "%BSAT" | "%HBA1" | "%SAT" | "17AHQ" | "1ST" | "2ND" | "A1ATR" | "A1CEL" | "A2CEL" | "ABAC" | "ABNO" | "ABO" | "ABRH" | "ABRH1" | "ABRH2" | "ABRH3" | "ABRH4" | "ACA" | "ACAS" | "ACEA" | "ACEAB" | "ACLA" | "ACLAG" | "ACLAM" | "ACOLA" | "ACTH" | "ACTHI" | "ACTHO" | "ADATE" | "ADENO" | "ADNA" | "ADNAM" | "ADNAR" | "ADNAS" | "AFB" | "AFP" | "AGHT" | "AHE" | "AHEAL" | "AHG" | "AK" | "AK1" | "ALDOQ" | "ALDOS" | "AMC" | "AMIK" | "AMITA" | "AMITT" | "AMOX" | "AMOX1" | "AMP" | "AMPHE" | "AMPIC" | "ANAH" | "ANCN" | "ANCP" | "ANDRS" | "ANION" | "ANTAB" | "ANTIA" | "ANTIB" | "ANTID" | "APCA" | "APP" | "APPEA" | "APPET" | "APPF" | "APPS" | "APTC" | "APTT" | "ARTN" | "ARTTX" | "ARVID" | "ARVO" | "ARVO1" | "ARVO2" | "ARVO3" | "ARVS" | "ARVT1" | "ARVT2" | "ARVT3" | "ASKMA" | "ASL" | "ASMA" | "ASOT" | "ASPR" | "AST" | "AUG" | "AUG1" | "B2GPG" | "B2GPM" | "BACET" | "BACT" | "SALB" | "BAND#" | "BAND%" | "BARB" | "BARES" | "BASA#" | "BASA%" | "BASO#" | "BASO%" | "BAUTO" | "BBCOM" | "BBTXT" | "BCEL" | "BCULT" | "BE" | "BENZO" | "BENZV" | "BG" | "BHCG2" | "BIOCH" | "BIRON" | "BLST#" | "BLST%" | "BMTXT" | "BPH" | "BPROC" | "BREAS" | "BROMS" | "BS1" | "BS2" | "BSA" | "BSCR1" | "BSCR2" | "BSCR3" | "BTFN" | "BTIME" | "BTNP" | "BTYPE" | "BUA" | "BV" | "C125B" | "C15-3" | "C1EI" | "C1ESC" | "C1ESI" | "C3" | "C4" | "C6" | "CA199" | "CA724" | "CABCO" | "CABFL" | "CABVA" | "CACOR" | "CAERU" | "CALCL" | "CALCN" | "CALCO" | "CANN" | "CANNQ" | "CAPIL" | "CAPP" | "CARB" | "CAREH" | "CASTS" | "CATSC" | "CATSO" | "CBAC" | "CCL" | "CCLEA" | "CCNT" | "CCOM" | "CCON" | "CCOO" | "CCREM" | "CCULT" | "CD3" | "CD3L" | "CD4" | "CD45" | "CD4L" | "CD8" | "CD8L" | "CEFAZ" | "CEFO1" | "CEFOT" | "CEFOX" | "CEFTA" | "CEPHA" | "CEPHR" | "CERYT" | "CGLOB" | "CGLU" | "CHEMC" | "CHEMF" | "CHEMH" | "CHEMO" | "CHEMU" | "CHILD" | "CHIST" | "CHLDN" | "CHLET" | "CHLLV" | "CHLO1" | "CHLOG" | "CHLOR" | "CHLPN" | "CHLPS" | "CHLTR" | "CHM" | "CHR" | "CIPR1" | "CIPRO" | "CLAR" | "CLIND" | "CLOD" | "CLODA" | "CLTR" | "CLTRE" | "CLUE" | "CMGFL" | "CMGVA" | "CMMFL" | "CMMVA" | "COCAI" | "COL" | "COLI" | "COLM" | "COM" | "COMAL" | "COMCL" | "CONCE" | "CONSE" | "COOMB" | "CORWC" | "COTR" | "COTR1" | "COTRI" | "COUN" | "COXVI" | "CPEP2" | "CPROT" | "CRES" | "CRINK" | "CRO" | "CROSM" | "CRP" | "CRPS" | "CRPT" | "CRYLF" | "CRYP" | "CRYST" | "CRYTI" | "CSOB" | "CTIME" | "CTITR" | "CTX" | "CTXT" | "CUTC" | "CUTP" | "CUTS" | "CWBC" | "CWTX" | "CYADE" | "CYADH" | "CYBGH" | "CYBGR" | "CYCYT" | "CYINF" | "CYINH" | "CYINT" | "CYNAH" | "CYNAT" | "CYNFH" | "CYNTH" | "CYRCH" | "CYREC" | "CYSS" | "CYSTS" | "CYTC" | "CYTCH" | "CYTLA" | "CYTLM" | "CYTNA" | "CYTPA" | "CYTPR" | "CYTTY" | "CYTXT" | "DATEP" | "DATEQ" | "DATER" | "DATET" | "DCC3" | "DCC3C" | "DCC3T" | "DCEA" | "DCIGA" | "DCIGG" | "DCIGM" | "DCIGT" | "DCOOH" | "DCOOM" | "DCOT" | "DCRT" | "DDATE" | "DDIME" | "DEATH" | "DHEAS" | "DIAMT" | "DIBN" | "DID" | "DIDA" | "DIFCN" | "DIGO2" | "DIGOX" | "DOA" | "DONG" | "DONN" | "DOXY" | "DOXY1" | "DPROT" | "DRSNO" | "DRTH" | "DRUGI" | "DTIME" | "DUR" | "DUVMA" | "E2" | "E2C" | "EBREA" | "ECOTH" | "ECOTR" | "ECURR" | "EDNAP" | "EEC" | "EFAVI" | "EGFRI" | "EIDCM" | "EIDCN" | "EIDCP" | "EIFS" | "EIFY" | "EMTRI" | "ENVPB" | "ENVPS" | "ENZYM" | "EOS#" | "EOS%" | "EOSA#" | "EOSA%" | "EOTHE" | "EPI" | "EPRE" | "EPRED" | "EPRER" | "EPRES" | "EQAC1" | "EQAC2" | "EQAC3" | "EQAC4" | "EQAC5" | "EQAHS" | "EQAHU" | "EQAMT" | "EQAN2" | "EQAN3" | "EQANP" | "EQAR1" | "EQAR2" | "EQAR3" | "EQAR4" | "EQAR5" | "EQAS1" | "EQAS2" | "EQASC" | "EQCAB" | "EQCAC" | "EQCDI" | "EQCLM" | "EQCPC" | "EQHCT" | "EQHGB" | "EQHPC" | "EQHPE" | "EQHPK" | "EQHPM" | "EQHSD" | "EQHST" | "EQMCH" | "EQMCN" | "EQMCV" | "EQMF2" | "EQMF3" | "EQMFA" | "EQMIC" | "EQMPC" | "EQPF" | "EQPLT" | "EQPO" | "EQRBC" | "EQRDW" | "EQSED" | "EQSLN" | "EQSP1" | "EQSP2" | "EQSP3" | "EQSS1" | "EQSS2" | "EQSS3" | "EQSS4" | "EQSS5" | "EQSS6" | "EQST" | "EQSTM" | "EQWB2" | "EQWB3" | "EQWBC" | "EQWC2" | "EQWC3" | "EQWCC" | "EREGA" | "ERSLT" | "ERTP" | "ERY" | "ERY1" | "ERYT" | "ERYTH" | "ESR" | "ESTBR" | "ESTOB" | "ETRAV" | "EXHYS" | "EXPD" | "EXSTD" | "FCLI" | "FEP" | "FERM2" | "FERM3" | "FERR" | "FERRM" | "FERRR" | "FERRX" | "FERX2" | "FHYS" | "FILAG" | "FINR" | "FLN" | "FLQNS" | "FOB" | "FPORI" | "FPORQ" | "FPROT" | "FRF" | "FROTA" | "FSHC" | "F-T3" | "F-T4" | "FUNGI" | "FWBC" | "G6PD" | "G6PDS" | "GCLUE" | "GCPRD" | "GELNO" | "GENO" | "GENT" | "GENT1" | "GENTA" | "GERMT" | "GL120" | "GL150" | "GL180" | "GL210" | "GL240" | "GL270" | "GL30" | "GL300" | "GL360" | "GL480" | "GL60" | "GL90" | "GLOB" | "GLUCS" | "GNB" | "GNC" | "GNCB" | "GNDC" | "GNPB" | "GPB" | "GPBB" | "GPC" | "GPCC" | "GPCCL" | "GPCP" | "GPDC" | "GPFB" | "GRAMS" | "GREPI" | "GRERY" | "GRWC" | "GTBA" | "GTDOS" | "GTXT" | "GVC" | "GVINC" | "GXRIF" | "GXTB" | "GXTBR" | "H2RL" | "H2VRS" | "HAEM" | "HAEMI" | "HAUTO" | "HBA" | "HBA1" | "HBA1C" | "HBA2" | "HBA2D" | "HBF1" | "HBFD" | "HBH" | "HBSB1" | "HBU" | "HCBCO" | "HCBFL" | "HCBVA" | "HCG" | "HCGS" | "HCO3" | "HCOM" | "HCT" | "HEAL" | "HELPV" | "HELPY" | "HEPD" | "HEPE" | "HERG1" | "HERG2" | "HERPG" | "HERPM" | "HFLU" | "HGB" | "HGH" | "HISTD" | "HISTS" | "HISTT" | "HIV-1" | "HIVA" | "HIVAR" | "HIVBL" | "HIVBR" | "HIVCO" | "HIVD" | "HIVE" | "HIVL" | "HIVL2" | "HIVLA" | "HIVLC" | "HIVLL" | "HIVML" | "HIVP" | "HIVPC" | "HIVPL" | "HIVPR" | "HIVQL" | "HIVR" | "HIVRL" | "HIVRT" | "HIVSI" | "HIVTL" | "HIVTM" | "HIVU" | "HIVVA" | "HIVVB" | "HIVVC" | "HIVVD" | "HIVVM" | "HIVVP" | "HIVVQ" | "HIVVR" | "HLAXB" | "HLB27" | "HPRL" | "HSVG" | "HSVM" | "HT" | "HTSTB" | "HTXT" | "HVVRS" | "HYS0H" | "HYS6H" | "HYSIN" | "HYSUH" | "ICD10" | "ICOM" | "ICOOH" | "ICOOM" | "ICT" | "IG#" | "IGA" | "IHYS" | "IMFIX" | "IMI" | "IMMA" | "IMMSP" | "INCLU" | "INJCS" | "INK" | "INR" | "INTXT" | "IPROT" | "IS" | "ISI" | "ITIME" | "ITITR" | "ITXT" | "IV" | "JRF" | "LA1:2" | "LA1NP" | "LA2NP" | "LACTT" | "LAMIV" | "LCHOL" | "LCRYP" | "LEUCO" | "LHC" | "LI" | "LINE0" | "LINE1" | "LISS" | "LJDAT" | "LJDT" | "LJRES" | "LLA1" | "LLA2" | "LN1:2" | "LPRIF" | "LSD" | "LTIME" | "LUPN" | "LUPP" | "LYM#" | "LYM%" | "LYMA%" | "LYMP" | "MAAG" | "MACS" | "MAL" | "MALF" | "MALRT" | "MALTH" | "MAPP" | "MASS" | "MBILH" | "MCEA" | "MCH" | "MCHC" | "MCM2" | "MCOM" | "MCV" | "MEASG" | "MEASM" | "MEM" | "MET" | "META#" | "META%" | "METH" | "METHD" | "METQ" | "MFIL" | "MGMSA" | "MGMSB" | "MGMSC" | "MGMSD" | "MGMSE" | "MGMSF" | "MGSMH" | "MGSRH" | "MGSSA" | "MGSSB" | "MGSSC" | "MGSSD" | "MGSSE" | "MGSSF" | "MHEAD" | "MIC" | "MICH" | "MICIN" | "MICRE" | "MICRO" | "MLDL" | "MLEUD" | "MMACR" | "MOART" | "MON" | "MONA#" | "MONA%" | "MONO" | "MONO#" | "MONO%" | "MONTH" | "MORPH" | "MOTIL" | "MPCR" | "MPROT" | "MPV" | "M-TP" | "MTRIC" | "MTXT" | "MTZ" | "MUCUS" | "MUMPG" | "MUMPM" | "MUP" | "MXD#" | "MXD%" | "MYCH" | "MYCUL" | "MYEAS" | "MYEL#" | "MYEL%" | "MYGIE" | "MYGT" | "MYKIN" | "MYMIC" | "MYOG" | "MYPAS" | "MZNS" | "NALID" | "NEI" | "NEICO" | "NEUA#" | "NEUA%" | "NEUT#" | "NEUT%" | "NEVI" | "NITR" | "NITRO" | "NNRTI" | "NONNU" | "NORM" | "NOS" | "NRBC" | "NRTIR" | "NUCLE" | "OB" | "OCEA" | "OCEL" | "OOCYS" | "OPIAT" | "ORGS" | "ORGSV" | "ORGSW" | "ORGSX" | "ORGSY" | "OSAT" | "OTERM" | "OTHER" | "OTHR#" | "OTHR%" | "OVA" | "OVA1" | "OVA2" | "OWCC" | "OX19" | "OX2" | "OXAC1" | "OXACI" | "OXK" | "P/N" | "PADIS" | "PAN" | "PARAC" | "PARAS" | "PARS" | "PATH" | "PATHH" | "PATT" | "PB/CR" | "PBNP" | "PCO2" | "PCRAP" | "PCRH" | "PCRQ" | "PCRR" | "PCTR" | "PCULT" | "PCV" | "PDBIL" | "PDW" | "PEN" | "PENG" | "PENG1" | "PER" | "PFAL" | "PGRP" | "PH" | "PHB" | "PHD" | "PHENB" | "PHENC" | "PHENY" | "PHN" | "PHT" | "PHTXT" | "PHYS" | "PHYS0" | "PHYS6" | "PHYSU" | "PIPER" | "PLAC" | "PLT" | "PLTAB" | "PMTCH" | "PMTMO" | "PNEUM" | "PO/CR" | "PO2" | "POCVR" | "POLI1" | "POLI2" | "POLI3" | "POLY" | "POLYM" | "PORL" | "PREG" | "PRLC" | "PROGC" | "PROM#" | "PROM%" | "PROTC" | "PROTS" | "PRTCF" | "PSA" | "PSCHE" | "PSHY" | "PSTD0" | "PSTD6" | "PSTDU" | "PT" | "PTBIL" | "PTC" | "PTH" | "PTHA" | "PTHM" | "PTHP" | "PTTR" | "PVIV" | "QBAS%" | "QCD3" | "QCD3L" | "QCD4" | "QCD4L" | "QCD8" | "QCD8L" | "QCWBC" | "QEOS%" | "QHBG" | "QHCG" | "QHRG" | "QLYM%" | "QMCHC" | "QMON%" | "QNEU%" | "QPEHE" | "QRPR1" | "QRPRT" | "QRPRW" | "RAPI2" | "RATIO" | "RBC" | "RBCA" | "RCC" | "RCCHE" | "RCELU" | "RCOM" | "RDW" | "RECR" | "REJCT" | "REM" | "RENIC" | "REQTS" | "RESLT" | "RETA" | "RETIC" | "RETM" | "RF" | "RF13" | "RF14" | "RF2" | "RF3" | "RF4" | "RF8" | "RFQM" | "RFR" | "RFT" | "RG" | "RGLU" | "RH" | "RHAB" | "RHABC" | "RHABI" | "RHABT" | "RHNEG" | "RIFTB" | "RILPI" | "RINHS" | "RJREA" | "RJREM" | "ROTA" | "ROTAG" | "ROTRT" | "RPCR" | "RPI" | "RPR1" | "RPRT" | "RPRW" | "RRF1" | "RRF4" | "RTTBP" | "RUGFL" | "RUGT" | "RUMFL" | "RUMT" | "SABCO" | "SABFL" | "SABNI" | "SABVA" | "SACE" | "SACT2" | "SACTH" | "SADA" | "SAGCO" | "SAGFL" | "SAGVA" | "SALC" | "SALHT" | "SALP" | "SALT" | "SAMY" | "SAPP" | "SAST" | "SIBIL" | "SCHOL" | "SCK2" | "SCKMB" | "SCO2" | "SCORT" | "SCOUN" | "SCRN" | "SCRT" | "SDBIL" | "SERY" | "SGGT" | "SGLU" | "SHDL" | "SIRON" | "SK" | "SLDH" | "SLDL" | "SLGIE" | "SLPAP" | "SMG" | "SMOT2" | "SMOT3" | "SMOT6" | "SMOTI" | "SMYO" | "SNA" | "SNPP" | "SPEM" | "SPH" | "SPO4" | "SRATE" | "SSMEL" | "STACP" | "STBIL" | "STP" | "STRIG" | "SUREA" | "SVISC" | "SVITA" | "SVOL" | "SWBC" | "TBADT" | "TBAMI" | "TBAR1" | "TBAR2" | "TBARM" | "TBBAC" | "TBBCM" | "TBBDT" | "TBC1D" | "TBCLO" | "TBCN1" | "TBETM" | "TBINH" | "TBLEV" | "TBMOF" | "TBODT" | "TBORG" | "TBP-A" | "TBRCM" | "TBRIF" | "TBRP" | "TEST" | "TETRA" | "THSR" | "TMP" | "TPHA" | "TROP" | "TROPI" | "TRYP" | "TS" | "TSH" | "TWBCC" | "TXMFL" | "TZP" | "UAMY" | "UBACT" | "UBL" | "UCRT" | "UHB" | "UMA" | "UMAER" | "UPREG" | "USG" | "UUBGN" | "UVOL" | "VALPR" | "VANCO" | "VCULT" | "VDRLS" | "VDRLT" | "VEPI" | "VGLU" | "VITD" | "VOL" | "VZG" | "WBACT" | "WBC" | "WDU" | "WEPI" | "WERY" | "WET" | "WFH" | "WPSHY" | "WWBC" | "WYST" | "XGLUC" | "YEAST" | "ZIN" | "COV19" | "CVCOM" | "CA15-3" | "SCA" | "SCL" | "XMATC" | "!GXMT" | "SUA" | "SUAA" | "VCRT" | "DLM" | "LZD" | "BDQ" | "TBETH" | "TBISO" | "TBZCM" | "TBZDT" | "TBZH" | "TBZN" | "TBZNI" | "TBLIN" | "WBCA" | "SALTH" | "SALOT" | "LYMA#" | "CVRP" | "CT" | "NG" | "RCHOL" | "DSYTP" | "TBAU" | "TBCM" | "TBRI2" | "TBMOX" | "TBSF" | "TBLP" | "HIVPS" | "PSC2" | "PSCD" | "SCOM" | "Nitrate" | "Glucose" | "Protein" | "pH" | "Bilirubin" | "Ketones" | "Leucocyte Esterase" | "Urobilirubin" | "Band Cells" | "Basophils" | "Eosinophils" | "IG" | "Lymphocytes" | "Metamyelocytes" | "Monocytes" | "Myelocytes" | "Neutrophils" | "Promyelocytes" | "% Bence Jones Protein" | "Transferrin Saturation" | "% HBA1C" | "Transferrin Saturation" | "17 Alpha-hydroxyprogesterone" | "First Line" | "Second Line" | "S-ƒ -1-antitrypsin" | "A1 Cells" | "A2 Cells" | "Abacavir (ABC)" | "%Abnormal" | "Blood Group" | "or Group" | "Donor Unit 1" | "Donor Unit 2" | "Donor Unit 3" | "Donor Unit 4" | "i-Centromere Antibodies" | "Anti-Centromere Antibodies" | "Carcinoembryonic Antigen" | "Acetylcholine Receptor Ab`s" | "i-Cardiolipin Ab (IgG)" | "i-Cardiolipin Ab`s IgG" | "i-Cardiolipin Ab`s IgM" | "i-Collagen Antibodies" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "Autopsy Date" | "Fecal adenovirus" | "i-Double Stranded DNA" | "Anti-Double Stranded DNA (EIA)" | "dsDNA Rule" | "Anti-Double Stranded DNA" | "Zeihl-Neelsen" | "Alpa Feto Protein" | "Anti-human globulin testing" | "ormal Haemoglobin" | "ANC Health Facility" | "i-human globulin" | "Amikacin" | "Amikacin" | "Aldosterone" | "Aldosterone" | "Amoxilin/Clavulanic Acid" | "Amikacin" | "i-Mitochondrial Antibodies/A-Mit Ab" | "Titre" | "Amoxicillin" | "Amoxicillin" | "Ampicillin" | "hetamine" | "Ampicillin" | "i-Nuclear Ab (Hep-2)" | "ANC Number" | "From ANC (Pink) card" | "Androstenedione" | "Anion Gap" | "Anti AB" | "Anti A" | "Anti B" | "Rhesus D" | "i-Parietal Cell Antibodies" | "Appearance" | "Naked Eye Appearance" | "Naked eye appearance" | "Fluid" | "Supernatant Appearance" | "T (Control)" | "T (Patient)" | "ART Number" | "ART Number" | "ARV ID Number" | "Other ARV treatment" | "Other Drugs (1)" | "Other Drugs (2)" | "Other Drugs (3)" | "ARV Programme status" | "ARV treatment (1)" | "ARV treatment (2)" | "ARV treatment (3)" | "i-skeletal muscle Ab`s" | "i-Streptolysin O Latex" | "i-Smooth Muscle Antibodies" | "i-Streptolysin O Titre" | "ASPIRATOR" | "Antimicrobial Sensitivity Test" | "Co-amoxiclav" | "Augmentin" | "Beta-2 Glycoprotein IgG" | "Beta-2 Glycoprotein IgM" | "S-Acetaminophen" | "0rganisms Seen" | "Albumin" | "Band Cells" | "Band Cells" | "Barbiturate" | "Result" | "Basophils" | "Basophils" | "Basoophils" | "Basophils" | "Auto Control" | "Comment:" | "Remarks:" | "B Cells" | "TURE RESULT" | "Base Excess" | "Benzodiazepine" | "BZD Value" | "Blood Group" | "HCG TOTAL BETA (TUMOR MARKER)*" | "BIO-CHEMISTRY (Dipstick)" | "Iron" | "Blasts" | "Blasts" | "Remarks" | "pH" | "Product" | "Breastfeeding" | "Bromelin Screening" | "S1" | "S2" | "y Surface Area" | "Bromelin Screen Cell 1" | "Bromelin Screen Cell 2" | "Bromelin Screen Cell 3" | "Transferrin" | "Bleeding Time" | "B-Type Natriuretic Peptide" | "Bottle Type" | "Uric Acid" | "Interpretation" | "CA125" | "CA15-3" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "Complement Component C3" | "Complement Component C4" | "Complement Component C6" | "CA19-9" | "CA 72-4" | "Cut-off : Core antibodies" | "atitis B core ab (Total)" | "Value : Core antibodies" | "S-Calcium (Corrected)" | "Caeruloplasmin" | "Calculated Clearance" | "Calcitonin" | "cofluor Stain" | "U-Cannabinoids" | "U-Cannabinoids" | "ID Rapid Test" | "Specimen Appearance" | "S-Carbamazepine" | "Caregiver Details" | "Casts" | "U-Catecholamines" | "dU-Catecholamines" | "Control Bead Abs Cnt" | "CSF Chloride" | "Corrected Clearance" | "CELL COUNT" | "COMMENT" | "Conclusion" | "Coomb's control" | "Recommendation" | "CULTURE RESULT" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD45 Count" | "CD4%" | "CD 8 Count" | "CD8%" | "Cefazolin" | "Cefotaxime" | "Cefotaxime/Ceftriazone" | "Cefoxitin" | "Ceftazidime" | "Cephalexin" | "Cephradine" | "Red Blood Cells" | "Globulin" | "CSF Glucose" | "Concentrations" | "CAL RESULTS" | "CSF CHEMISTRY" | "AL URINE OUTPUT" | "NE RESULTS" | "From Child Health Card" | "CLINICAL HISTORY" | "Child No" | "Endemic Trachoma" | "phogranuloma venereum" | "Chloramphenicol" | "Oculo genital" | "Chloramphenicol" | "Chlamydia pneumoniae" | "Chlamydia psittaci" | "Chlamydia trachomatis" | "CHm (Mature RBC HB Content)" | "CHr (Reticulocyte HB Content)" | "Ciprofloxacin" | "Ciprofloxacin" | "Clarity" | "Clindamycin" | "C. difficile Toxin A Test" | "C. difficile Toxin A" | "Pathogen Identified" | "Culture Results" | "CLUE CELLS" | "Cytomegalovirus IgG" | "Value : CMG IgG" | "Cytomegalovirus IgM" | "Value : CMG IgM" | "Cocaine" | "Colour" | "Colistin" | "TBCOL Other Months" | "Comment:" | "Alternate Pathway" | "Classical Pathway" | "Antibiotic Concentrations" | "Consent to Contact" | "Indirect Coomb's Test" | "Comment" | "Cotrimoxazole" | "Cotrimoxazole" | "Co-trimoxazole" | "Count" | "Coxsackie virus IgM" | "C-Peptide" | "CSF Protein" | "Remarks" | "INDIA INK" | "Ceftriaxone" | "Crossmatch" | "CRP Quantitative" | "CRP Serology" | "CRP Titre" | "Cryptococcal LFA" | "Cryptococcal Latex" | "Crystals" | "Cryptococcal Titre" | "Occult Blood" | "Whole blood Clotting Time" | "Titre" | "Cefotaxime" | "Remarks" | "Cutup by" | "Pathologist" | "Cutup sites" | "White Blood cells" | "Child Welfare Number" | "Specimen Adequacy" | "Specimen Adequacy" | "Background" | "Cytology Background" | "SCREENER" | "Cytology Infection" | "Interpretation" | "Interpretation" | "Nature of Specimen" | "Cellular Changes" | "Infection" | "Cellular Changes" | "Recommendation" | "Cytology Recommendation" | "Cytology Special Stains" | "Cysts" | "Contraception" | "CLINICAL HISTORY" | "Last Pregnancy" | "LMP" | "Nature Of Specimen" | "Parity" | "Clinical History" | "Type" | "Remarks" | "Date reported" | "Date Required" | "Date Claim" | "Date Taken" | "C3" | "C3c" | "C3d Titre" | "Carcinoembryonic Antigen" | "IgA" | "IgG" | "IgM" | "IgG Titre" | "Direct Coomb" | "Polyspecific" | "Direct Coomb's Test" | "1:20 DILUTED CRT" | "Expiry" | "D-Dimer" | "Date of Death" | "Dehydroepiandrosterone Sulph" | "Zone Diametre" | "Dibucaine Number" | "Donor ID" | "Didanosine (DDI)" | "DIFFERENTIAL COUNT" | "S-Digoxin" | "S-Digoxin" | "Date of Admission" | "Donor Group" | "Donor Number" | "Doxycycline" | "Doxycycline" | "F-Total Protein" | "DR Survey Number" | "DRUG RESISTANCE TESTING" | "Drug Resistance Interpretation" | "Time of Death" | "Duration of collection" | "dU-Vanillylmandelic Acid" | "Oestradiol" | "Oestrodial" | "Child Breastfed" | "Other" | "Cotrimoxazole(CTX)for infant" | "Current Regimen" | "DNA PCR Test" | "Enteropathogenic E.coli" | "Efavirenz (EFV)" | "MDRD eGFR" | "Caregiver Name" | "Caregiver NRC Number" | "Caregiver Phone Number" | "If stopped why?" | "IF yes which apply" | "Emtricitabine (FTC)" | "NVP for full 6w after birth" | "When did child stop NVP" | "Enzyme" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Other" | "Epithelial Cells" | "Previous DNA PCR Barcode no" | "Date Previous PCR" | "Pregnancy Regimen" | "Previous PCR Result" | "EQA Unstained 1" | "EQA Unstained 2" | "EQA Unstained 3" | "EQA Unstained 4" | "EQA Unstained 5" | "Stained Slides" | "Unstained Slides" | "Method" | "No Parasites" | "No Parasites" | "No Parasites" | "EQA Result 1" | "EQA Result 2" | "EQA Result 3" | "EQA Result 4" | "EQA Result 5" | "EQA Stain" | "EQA Stain" | "Screener" | "Absolute Count Beads" | "Antibody Combination" | "Instrument" | "Lysing Method" | "Problem Code" | "Haematocrit" | "Haemoglobin" | "Problem Code" | "Processing equipment:" | "Processing Kit/Reagent:" | "Processing Microscope" | "Microscope service date:" | "Stain used:" | "EQMCH" | "Challenge Number" | "EQMCV" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Microscopy" | "Final Answer" | "Tested by" | "Platelet Count" | "Supervisor" | "Red Blood Cells" | "EQRDW" | "Expiration Date" | "Lot Number" | "Specimen 1" | "Specimen 2" | "Specimen 3" | "HIV PT 1" | "HIV PT 2" | "HIV PT 3" | "HIV PT 4" | "HIV PT 5" | "A-6" | "Person who Stained" | "Test Name" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "White cell count" | "Regimen given after birth" | "Result" | "ERTAPENEM" | "Red Blood Cells" | "Erythromycin" | "Erythrocytes" | "Erythromycin" | "ESR" | "Child still breatfeeding" | "Stopped breastbeeding at" | "Etravirine (ETR)" | "External Standard - Hys Peak" | "Expiry Date" | "External Standard-Int Std Peak" | "Follow-up Clinic" | "CEFEPIME" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Homocysteine Fasting" | "Microfilariae Antigen" | "Final Result" | "Fluoride Number" | "Flouroquinolones" | "Ocult Blood" | "Identification" | "F-Porphyrin" | "F-Total Protein" | "Rheumatoid Factor (Pleural Fl)" | "Rotavirus" | "Follicle Stimulating Hormone" | "S-Free Tri-iodothyronine" | "S-Free Thyroxine (Direct)" | "Fungi" | "White Blood cells" | "G6PD Assay" | "D Screen Test" | "GRAM STAIN :CLUE CELLS" | "Pregnandiol" | "Number" | "Genotyping" | "Gentamicin" | "Gentamycin" | "Gentamicin" | "Result" | "Glucose - 2 Hours" | "Glucose - 2.5 Hours" | "Glucose - 3 Hours" | "Glucose - 3.5 Hours" | "Glucose - 4 Hours" | "Glucose - 4.5 Hours" | "Glucose - 30 mins" | "Glucose - 5 Hours" | "Glucose - 6 hrs" | "Glucose - 8 hr" | "Glucose - 1 Hour" | "Glucose - 1.5 Hours" | "Globulin" | "Glucose (POCT)" | "Gram Negative Bacilli" | "Gram Negative Cocci" | "Gram Negative Coccobacilli" | "Gram Negative Dipplococci" | "GN Pleomorphic Bacilli" | "Gram Positive Bacilli" | "GP Branching Beaded Bacilli" | "Gram Positive Cocci" | "Gram Positive Cocci Chains" | "Gram Positive Cocci Clusters" | "Gram Positive Cocci Pairs" | "Gram Positive Diplococci" | "GP Filamentous Bacilli" | "GRAM STAIN" | "Epithelial Cells" | "Erythrocytes" | "White Blood cells" | "Glucose - Basal" | "Glucose Dose" | "Text" | "Gram Variable Coccobacilli" | "Vincent's Orgnisms" | "Rifampicin" | "PCR result" | "PCR result (raw data)" | "log value" | "HIV: Viral Load (Cap/CTM)" | "Specimen Haemolysed" | "Haemolysis index" | "Please note:" | "Haemoglobin A" | "Average Glucose (calculated)" | "Hb A1c (Glycosylated)" | "Haemoglobin A2" | "Haemoglobin A2" | "Haemoglobin F" | "Haemoglobin F" | "Haemoglobin" | "Hep B surface Antibody Titre" | "Unstable Haemoglobin" | "Cut off : Hepatitis C" | "Hepatitis C Antibodies" | "Value : Hepatitis C" | "Beta HCG" | "Serum ß-HCG Pregnancy Screen" | "Bicarbonate (actual)" | "Comment" | "Haematocrit" | "Health Facility" | "OD Value" | "Helicobacter pylori IgG" | "Hepatitis D Antibodies" | "Hepatitis E Antibodies" | "Herpes simplex Type 1 IgM" | "Herpes simplex Type 2 IgG" | "Herpes simplex virus IgG" | "Herpes simplex virus IgM" | "Haemophilus influenzae" | "Haemoglobin" | "Human Growth Hormone" | "Pathologist" | "Special Stain" | "Specimen" | "HIV-1" | "HIV ASANTE" | "HIV: Viral Load (ART)" | "log value" | "HIV: Viral Load (BIO/CEN)" | "CUT-OFF : HIV" | "HIV Determine" | "HIV Antibodies: ELISA Method" | "HIV: Viral load (LCx)" | "HIV: Viral load (LCx)" | "Log Value" | "HIV: Viral Load (LCx)" | "Log Value" | "Log Value" | "HIV Rapid" | "Infant HIV DNA PCR" | "Log Value" | "HIV: Viral Load (PANTHER)" | "Log Value" | "HIV 1/2 Rapid Screening Test" | "log value" | "HIV-1 resistance" | "Sequence ID" | "Log Value" | "HIV: Viral Load (Taqman)" | "HIV Unigold" | "HIV VALUE" | "HIV: Viral Load" | "HIV : Viral load (low value)" | "HIV: Viral Load" | "HIV : VIRAL LOAD" | "HIV: Viral Load (Ampliprep)" | "HIV : Viral Load (NASBA)" | "HIV: Viral Load (CAP/CTM)" | "Crossmatching B-Cells" | "HLA B27" | "log value" | "HERPES SIMPLEX VIRUS IgG" | "Herpes simplex Virus IgM" | "Patient`s Height" | "Heat Stability Test" | "Haematology Text" | "HIV: Viral Load (CAP/CTM)" | "Homocysteine Fasting" | "Homocysteine 6H Postmethionine" | "Homocysteine Increase" | "Homocysteine Unknown Time" | "ICD10" | "Comment" | "Indirect Coomb" | "Abnormal Antibodies" | "Indirect coomb's test" | "IG" | "Total IgA" | "Homocysteine Increase" | "Immunofixation" | "Imipenem" | "%Immature" | "Immediate Spin" | "Inclusions" | "Injectibles" | "India Ink" | "Int Normalised Ratio (INR)" | "Remarks" | "F-Total Protein" | "Immediate spin" | "ISI" | "Incubation Time" | "Titre" | "Remarks" | "Index Value" | "Rheumatoid Factor- Joint Fluid" | "LA-1:LA-2" | "LA-1 with normal plasma" | "LA-2 with normal plasma" | "Lactate" | "Lamivudine (3TC)" | "Cholesterol" | "LFA Cryptococcal Antigen" | "White Blood Cells" | "Luteinising Hormone (L)" | "Lithium" | "LINE0" | "LINE1" | "LISS-IAT" | "Date" | "LJ Date" | "LJ Result" | "Lupus anticoagulant 1" | "Lupus anticoagulant 2" | "LA-1 NP:LA-2 NP" | "Rifampicin" | "Lysergic Acid Diethylamide" | "Liquefaction time" | "Lupus anticoagulant" | "Lupus anticoagulant (KCT)" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Malaria Antigen" | "Macroscopic supernatant" | "Malaria" | "Plasmodium Antigen" | "Malaria: PCR Results" | "Malaria(Thin film prep.)" | "Macroscopic Apprearance" | "Patient`s Mass" | "istosoma haematobium" | "Carcinoembryonic Antigen" | "MCH" | "MCHC" | "Comment" | "Comment" | "MCV" | "Measles IgG" | "Measles IgM" | "MEROPENEM" | "Methicillin" | "Metamyelocytes" | "Metamyelocyte" | "Methicillin" | "Methadone" | "Methaqualone (Mandrax)" | "Microfilariae" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Microscopic Morphology" | "Microscopic Gram Stain Reactio" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Morphology and Comment" | "Microscope #" | "Microbiology:" | "Microscopic Examination" | "MICROSCOPIC EXAMINATION" | "Microscope Used" | "LDL Cholesterol" | "Leucocytes" | "MACROSCOPIC" | "Months since starting ARV" | "Monoclonal Band" | "Monocytes" | "Monocytes" | "Epstein Barr Heterophile Ab's" | "Monocytes" | "Monocytes" | "Stopped at month" | "Morphology" | "Motility" | "Malaria: PCR" | "U-Protein" | "Mean Platelet Volume" | "Micro Total Protein" | "TRICHOMONAS VAGINALIS" | "Remarks" | "Metranidazole" | "Mucus Threads" | "Mumps IgG" | "Mumps IgM" | "MUPIROCIN" | "Mixed Cells" | "Mixed Cells" | "Culture" | "Result" | "Yeast Cells" | "Myelocytes" | "Myelocytes" | "Giemsa Stain" | "Germ Tube" | "Kinyoun Stain" | "MICROSCOPIC EXAMINATION" | "MYOGLOBIN" | "PAS Stain" | "MODIFIED ZIELH-NEELSEN STAIN" | "Nalidixic Acid" | "N meningitides A,C,Y,W135" | "N meningitides B/E coli:" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Nevirapine (NVP)" | "Nitrofurantoin" | "Nitrofurantoin" | "NNRTI Resistance Mutations" | "Non-Nucleoside RTI" | "%Normal" | "Organisms Seen" | "Nucleated Red Cells" | "NRTI Resistance Mutations" | "Nucleoside RTI" | "Stool Occult Blood Test" | "Carcinoembryonic Antigen" | "O Cells" | "Oocysts" | "Opiates" | "Organism Identification" | "Organism" | "Organism" | "Organism" | "Organism" | "Saturation" | "Other Mutations" | "Other" | "Other" | "Other" | "Ova" | "Ova /Cysts" | "Ova/Cysts" | "White Cell Count (Uncorrected)" | "Proteus OX19 antibody" | "Proteus OX2 antibody" | "Oxacillin" | "Oxacillin" | "Proteus OXK antibody" | "Pos/Neg" | "PRESUMPTIVE TB#/TB REGISTER#" | "PAN Antigen" | "Paracetamol" | "Parasites" | "Parasitemia Count" | "Pathologist" | "Pathologist(s):" | "Type of Pattern" | "Porphobilinogen/Creatinine" | "proBNP" | "pCO2" | "Factor V Leiden Mutation" | "DNA PCR Test Information" | "Quantitative" | "PCR Result" | "Procalcitonin - Rapid Test" | "CULTURE RESULT" | "PCV" | "Conjuagted Bilirubin (Paeds)" | "Platelet Distribution Width" | "Penicillin G" | "Penicillin G" | "Penicillin G" | "Creat. Clearance Period" | "Plasmodium Falciparum Ag" | "Patient Group" | "Ph" | "Phoned by" | "Date Phoned" | "Phenobarbitone" | "Phencyclidine" | "Phenytoin" | "Phoned to" | "Time phoned" | "Message" | "Homocysteine 6H Postmethionine" | "Patient - Hys Peak 0 hr" | "Patient - Hys Peak 6 hr" | "Patient - Hys Peak Unknown" | "Piperacillin" | "p-Lactic Acid" | "Platelet Count" | "Platelet Antibodies" | "PMTCT Infant" | "PMTCT Mother" | "Streptococcus pneumoniae" | "Porphyrin/Creatinine" | "pO2" | "HIV: Viral Load (GENEX)" | "Poliovirus Type 1 Abs" | "Poliovirus Type 2 Abs" | "Poliovirus Type 3 Abs" | "Polymorphonuclear cells" | "Polymyxin B" | "log value" | "Pregnancy Test" | "Prolactin (PRL)" | "Progesterone" | "Promyelocytes" | "Promyelocytes" | "Protein C (Chromogenic)" | "Protein S (Functional)" | "Protein C" | "Prostate Specific Antigen" | "Pseudocholinesterase" | "Pseudohyphae" | "Patient - Int Std Peak 0 hr" | "Patient - Int Std Peak 6 hr" | "Patient-Int Std Peak Unknown" | "Prothrombin Time (Patient)" | "Total Bilirubin (Paediatric)" | "Prothrombin Time (Control)" | "Parathyroid Hormone" | "Parathyroid Hormone" | "Parathyroid Hormone (mass)" | "p-Parathyroid Hormone" | "PTT Ratio" | "Plasmodium Vivax Ag" | "Basophils" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD4%" | "CD8 Count" | "CD8%" | "Leucocyte Count" | "Eosinophils" | "ABO Blood group" | "Quantitative á-HCG" | "Rhesus status" | "Lymphocytes" | "EQMCHC" | "Monocytes" | "Neutrophils" | "CTROPHORETIC PATTERN" | "RPR" | "RPR titre" | "RPR Titre Wells" | "HIV 1/2 Rapid Repeat" | "RATIOS" | "Erythrocyte Count" | "RBC" | "Erythrocyte Count" | "Red Cell Cholinesterase" | "Red Cell Eluate" | "Red Cell Morphology" | "RDW" | "Recepient Result" | "Specimen Rejected" | "Remarks" | "Renin" | "Test/s requested" | "Mgit Reading (for Controls)" | "Absolute Reticulocyte Count" | "Reticulocyte Count" | "Maturation Time" | "Rheumatoid Factor(Screen)" | "IgE to Peanuts" | "IgE to Soya Bean" | "IgE to Cow`s Milk" | "IgE to Fish (Cod)" | "Rheumatoid Factor Titre" | "to Maize" | "Rheumatoid Factor" | "RF Rule" | "Rheumatoid Factor Titre" | "Rhesus Type" | "Glucose Random" | "Rhesus (D)" | "Atypical Antibodies" | "Anribody Identification" | "Antibody Identification" | "Antibody Titre" | "Negative" | "Rifampicin" | "Rilpivirine (RPV)" | "Inhalant Screen Test" | "Reject Reason" | "Remarks" | "Rotavirus Antigen" | "Rotavirus Antigen" | "Rotavirus PCR Results" | "Rotavirus: PCR" | "Reticulocyte Production Index" | "RPR" | "RPR Titre" | "RPR Titre Wells" | "IgE to Egg White" | "IgE to Wheat" | "Real-time PCR for M tubercul" | "Rubella IgG" | "Rubella IgG Titre" | "Rubella IgM" | "Rubella IgM Titre" | "Cut off : Surface antibody" | "Hepatitis B surface Antibodies" | "Abnormal forms include:" | "Value : Surface antibody" | "Angiotensin Converting Enzyme" | "Adreno-corticotrophic Hormone" | "Adreno-corticotrophic Hormone" | "Adenosine Deaminase" | "Cut off : Surface antigen" | "Hepatitis B Surface Antigen" | "Value : Surface antigen" | "S-Salicylate" | "Salmonella typhi H titre" | "Alkaline Phosphatase (ALP)" | "Alanine Transaminase (ALT)" | "Serum Amylase" | "Appearance (fresh semen)" | "Aspartate Transaminase (AST)" | "Bilirubin (indirect)" | "S-Cholesterol" | "Creatine Kinase (CK)" | "CKMB" | "Carbon dioxide" | "Cortisol" | "Count" | "ABO Screening" | "S-Creatinine" | "Bilirubin (direct)" | "Red Blood Cells" | "g-Glutamyl Transferase (GGT)" | "Glucose" | "S-HDL Cholesterol" | "Iron" | "Potassium" | "Lactate Dehydrogenase (LD)" | "S-LDL Cholesterol" | "Slides GIEMSA Stain" | "Slides PAP Stain" | "S-Magnesium" | "%Progressive motility 2nd hour" | "%Progressive motility 3rd hour" | "%Progressive motility 6th hour" | "Motility Studies" | "S-Myoglobin" | "Sodium" | "S-Acid Phos. Non-Prostatic" | "Spermatozoa" | "Reaction (pH)" | "S-Phosphate Inorganic" | "Rate of forward progression" | "Smell" | "S-Acid Phosphatase (Total)" | "Bilirubin (Total)" | "S-Total Protein" | "S-Triglycerides" | "Blood urea nitrogen" | "Viscosity after liquefaction" | "Vitality after 2 hours" | "Volume of collection" | "White Blood cells" | "Tuberculosis investigation" | "Amikacin (1ug/ml)" | "Result" | "Grading" | "Remarks" | "Mgit Reading" | "Bactec Comment" | "Instrument Date" | "Reprocessed Date" | "Clofazimine (1ug/ml)" | "Reprocessed" | "Ethambutol" | "Isoniazid" | "Levofloxacin (1ug/ml)" | "Moxifloxacin (0.25ug/ml)" | "Date" | "Org Isolated" | "P-Aminosalicylic Acid (4ug/ml)" | "TB Rapid Comment" | "Rifampicin" | "TB Rapid ID" | "Testosterone" | "Tetracycline" | "T H/S Ratio" | "Trimethoprim" | "TPHA" | "Troponin T" | "S-TROPONIN I" | "Trypanosomes" | "Co-trimoxazole" | "S-TSH" | "Total White Blood Cell Count" | "Toxoplasma IgM" | "Piperacillin/Tazobactam" | "Amylase" | "Bacteria" | "Blood" | "U-Creatinine" | "Haemoglobin" | "U-Microalbumin" | "Microalbumin excretion rate" | "Pregnancy Test" | "Specific Gravity" | "Urobilinogen" | "U-Volume" | "S-Valproate" | "Vancomycin" | "CULTURE RESULT" | "VDRL Screen" | "VDRL Titre" | "Epithelial Cells" | "F-Glucose" | "1.25 Dihydroxy Vitamin D" | "Volume of collection" | "Varicella-Zoster IgG" | "0rganisms Seen" | "Leucocyte Count" | "Weak D" | "EPITHELIAL CELLS" | "RED BLOOD CELLS" | "WET PREPARATION" | "FUNGAL HYPHAE" | "PSEUDOHYPHAE" | "WHITE BLOOD CELLS" | "YEAST CELLS" | "P-Glucose (Fasting)" | "Yeast Cells" | "Zinate" | "SARS-CoV-2" | "SARS-CoV-2" | "CA153" | "S-Calcium total" | "Chloride" | "Cross Match Result" | "GeneXpert MTB Rule" | "Uric acid" | "Uric acid" | "Creatinine" | "Delamanid" | "Linezolid" | "Bedaquiline" | "Ethionamide" | "Isoniazid" | "ZN Comment" | "Zn Date" | "ZEIHL-NEELSEN STAIN" | "Ziehl-Neelsen Stain" | "TBZN Internal" | "Linezolid" | "WBC" | "Salmonella typhi H antibodies" | "Salmonella typhi O titre" | "Lymphocytes" | "COVID-19 Ag Rapid Test" | "Chlamydia Trachomatis" | "Neisseria Gonorrhoeae" | "RCHOL-Result" | "Determinate Syphilis TP" | "Auramine Result" | "Auramine Comment" | "Rifampicin (0.5ug/ml)" | "Moxifloxacin (1ug/ml)" | "TB First Line Comment" | "TB Line Probe Comment" | "HIV Viral Load (PSC)" | "Log Value" | "HIV Viral Load" | "Comment"; - component?: builders.BackboneElement[]; - contained?: any[]; - dataAbsentReason?: builders.CodeableConcept; - derivedFrom?: builders.Reference[]; - device?: builders.Reference; - effective?: string | builders.Period | builders.Timing; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focus?: builders.Reference[]; - hasMember?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - interpretation?: builders.CodeableConcept[]; - issued?: string; - language?: string; - meta?: builders.Meta; - method?: builders.CodeableConcept; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.Reference[]; - referenceRange?: builders.BackboneElement[]; - specimen?: builders.Reference; - status?: string; - subject?: builders.Reference; - testingLaboratory?: builders.Reference[]; - text?: builders.Narrative; - value?: builders.Quantity | builders.CodeableConcept | string | boolean | number | builders.Range | builders.Ratio | builders.SampledData | builders.Period; - [key: string]: any; -}; - -declare type Observation_SzMannerOfDeath_Props = { - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept; - category?: builders.CodeableConcept[]; - code?: builders.CodeableConcept; - component?: builders.BackboneElement[]; - contained?: any[]; - dataAbsentReason?: builders.CodeableConcept; - derivedFrom?: builders.Reference[]; - device?: builders.Reference; - effective?: string | builders.Period | builders.Timing; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focus?: builders.Reference[]; - hasMember?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - interpretation?: builders.CodeableConcept[]; - issued?: string; - language?: string; - meta?: builders.Meta; - method?: builders.CodeableConcept; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.Reference[]; - referenceRange?: builders.BackboneElement[]; - specimen?: builders.Reference; - status?: string; - subject?: builders.Reference; - text?: builders.Narrative; - value?: string; - [key: string]: any; -}; - -declare type Observation_SzVitalSigns_Props = { - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept; - category?: builders.CodeableConcept[]; - code?: builders.CodeableConcept; - component?: builders.BackboneElement[]; - contained?: any[]; - dataAbsentReason?: builders.CodeableConcept; - derivedFrom?: builders.Reference[]; - device?: builders.Reference; - effective?: string | builders.Period; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focus?: builders.Reference[]; - hasMember?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - interpretation?: builders.CodeableConcept[]; - issued?: string; - language?: string; - meta?: builders.Meta; - method?: builders.CodeableConcept; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - partOf?: builders.Reference[]; - performer?: builders.Reference[]; - referenceRange?: builders.BackboneElement[]; - specimen?: builders.Reference; - status?: string; - subject?: builders.Reference; - text?: builders.Narrative; - value?: builders.Quantity; - [key: string]: any; -}; - -declare type Organization_SzOrganization_Props = { - active?: boolean; - address?: builders.Address[]; - alias?: string[]; - contact?: builders.BackboneElement[]; - contained?: any[]; - endpoint?: builders.Reference[]; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - name?: string; - partOf?: builders.Reference; - telecom?: builders.ContactPoint[]; - text?: builders.Narrative; - type?: builders.CodeableConcept[]; - [key: string]: any; -}; - -declare type Patient_SzPatient_Props = { - active?: boolean; - address?: builders.Address[]; - birthDate?: string; - chiefdom?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "61" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "69" | "70" | "71" | "72" | "73" | "74" | "75" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "83" | "84" | "85" | "86" | "87" | "88" | "89" | "90" | "91" | "92" | "93" | "94" | "95" | "96" | "97" | "98" | "99" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "113" | "114" | "115" | "116" | "117" | "118" | "119" | "120" | "121" | "122" | "123" | "124" | "125" | "126" | "127" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "138" | "139" | "140" | "141" | "142" | "143" | "144" | "145" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "156" | "157" | "158" | "159" | "160" | "161" | "162" | "163" | "164" | "165" | "166" | "167" | "168" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "191" | "192" | "193" | "194" | "195" | "196" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "214" | "215" | "216" | "217" | "218" | "219" | "220" | "221" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "230" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "244" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "255" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "310" | "311" | "312" | "313" | "314" | "315" | "316" | "317" | "318" | "319" | "320" | "321" | "322" | "323" | "324" | "325" | "326" | "327" | "328" | "329" | "330" | "331" | "332" | "333" | "334" | "335" | "336" | "337" | "338" | "340" | "-99" | "Lamgabhi " | "Dlangeni" | "Kasiko" | "Sitseni" | "Zulwini" | "ELangeni" | "Lobamba " | "Nkhanini" | "Zabeni" | "Zandondo" | "Gucuka " | "Tfuntini/Buhlebuyeza " | "Dvokolwako / Ekuphakameni" | "Ekukhulumeni/ Mandlangempisi" | "Nyonyane/ Maguga" | "Mavula" | "Maphalaleni" | "Dlozini" | "Mcengeni" | "Madlolo" | "Nsingweni" | "Mfeni" | "Mkhuzweni" | "Mfasini" | "Mkhweni" | "Mavula" | "Herefords" | "Msunduza" | "Fontein" | "Sidwashini" | "Mdzimba/Lofokati" | "Manzana" | "Nkwalini " | "Mangwaneni " | "Mangweni" | "Ndvwabangeni" | "Nhlanguyavuka" | "Zinyane " | "Emalibeni " | "Sidvwashini" | "Nyakatfo" | "Mphofu" | "Mgungundlovu" | "Nkamanzi" | "Ludlawini " | "Mvuma" | "Bulandzeni" | "Ndzingeni" | "Kwaliweni" | "Meleti" | "Ntsanjeni" | "Ejubukweni" | "Malanti" | "Nkhaba" | "Kuvinjelweni" | "Vusweni" | "Mshingishingini" | "ka-Hhohho" | "Lomshiyo" | "Emvembili" | "Kandwandwa" | "Hhelehhele" | "Bulembu (Luhhumaneni 1)" | "Luhhumaneni/kaNdeva" | "Luhlangotsini" | "Piggs Peak" | "Nginamadvolo" | "Nsangwini" | "Siphocosini" | "Sigangeni" | "Luhlendlweni" | "Mantabeni" | "Mashobeni North" | "Mvembili" | "Ludzibini" | "Hhohho" | "Hlane" | "Malindza" | "Mdumezulu" | "Njabulweni" | "Ntandweni (Malindza)" | "Etjedze" | "Sigcaweni West" | "Macetjeni (Mabondvweni)" | "Hlutse" | "Macetjeni" | "Vikizijula" | "Bulunga" | "Lomahasha" | "Shewula" | "kaVuma" | "Canter berry" | "Mabantaneni" | "Ntuthwakazi" | "kaLanga" | "Makhewu" | "Mlindazwe" | "Sitsatsaweni" | "Lukhetseni" | "Mambane" | "Maphungwane" | "Tikhuba" | "Mafucula" | "Mhlume" | "Simunye" | "Tambankulu" | "Tshaneni" | "Vuvulane" | "Tsambokhulu" | "kaShoba" | "Mpolonjeni" | "Ndzangu" | "Ngcina" | "Sigcaweni East" | "Crooks Plantations" | "Gamula" | "Lunkuntfu" | "Nkhanini/Lusabeni" | "Illovo/Mayaluka" | "Phafeni" | "Madlenya" | "Maphilingo" | "kaMkhweli" | "Mphumakudze" | "Nceka" | "Ngevini" | "Tambuti" | "Luhlanyeni" | "Mamisa" | "Nkonjwa" | "Nokwane" | "Nyakeni" | "Nkiliji" | "Bhekinkhosi" | "Nswaceni" | "Mkhulamini" | "Maliyaduma" | "Mbeka" | "Kwaluseni" | "Logoba" | "Mhlane" | "Lamgabhi" | "Dvudvusini" | "Luhleko" | "Emhlangeni" | "Nhlulweni" | "Kufinyeni" | "Luyengo" | "Mahlanya" | "Ngwenyameni" | "Mbekelweni" | "Zombodze" | "Lozitha" | "Nkamanzi" | "Kudzeni" | "Ngculwini" | "Ka-Nkhambule" | "Mafutseni" | "Luhlokohla" | "Timbutini" | "Bhudla" | "Mgomfelweni" | "Luzelweni" | "Mambatfweni" | "Nsangwini" | "Mpolonjeni" | "Ludvondvolweni" | "KaZulu" | "Nciniselweni" | "Ndzeleni" | "Sigcineni " | "Bhahwini" | "Mangcongco/Zenukeni" | "Sandlane/Ekuthuleni" | "Mabhukwini" | "Dwalile" | "Makholweni" | "St Pauls" | "Mnyenyweni" | "Manzini Central" | "Dwaleni" | "Mzimnene" | "Mhobodleni" | "Mjingo " | "Moneni" | "Ticancweni" | "Zakhele" | "Ngwane Park" | "Zondwako" | "Lundzi" | "Dingizwe" | "Mlindazwe" | "Mbangave" | "Bhunya" | "Dvokolwako" | "Mbelebeleni" | "Kutsimuleni" | "Khuphuka" | "Likima" | "Gundvwini" | "Gundvwini/Lesibovu" | "Lwandle" | "Ndlandlameni" | "Hlane/Bulunga" | "Dladleni" | "Ngcoseni" | "Bhadzeni 1" | "Velezizweni" | "Macudvulwini" | "Ngonini" | "Njelu" | "Mphankhomo" | "Masundvwini" | "Sibuyeni" | "Vusweni" | "Sigombeni" | "Ntunja" | "Eni" | "Ngcayini" | "Sankolweni" | "Nsenga" | "Nsingweni" | "Ntondozi" | "Ncabaneni" | "Khalangilile" | "Mphini" | "Ndinda" | "Ndlinilembi" | "Gebeni" | "Mgazini" | "Bhadzeni 2" | "Mahhashini" | "Lushikishini" | "Khabonina" | "Dilini" | "KaDinga" | "kaTsambekwako" | "Mashobeni" | "Mhlahlweni " | "Mlindazwe" | "Nshamanti" | "Nsukazi " | "Sidwala" | "Sisingeni" | "Siyendle" | "Bufaneni" | "Hhohho Emuva" | "kaLiba" | "Lushini" | "Manyiseni" | "Nsingizini" | "Ondiyaneni" | "Ezishineni/ Manyeveni" | "Kaphunga" | "KaNdlovu" | "Ngobelweni" | "Nhlalabantfu" | "KaKholwane" | "kaMbhoke" | "kaGwebu" | "Gasa" | "Khamsile" | "Lomfa" | "Mbabane" | "Mbangweni" | "Nkalaneni" | "Nzameya" | "Nkomonye" | "KaDlovunga " | "KaMzizi" | "Masibini" | "Mbilaneni" | "Simemeni " | "Vusweni" | "Bambitje" | "Dinabanye" | "Kwaluseni" | "Nkonka" | "Nsalitje" | "Qomintaba" | "Benezer" | "Bhanganoma" | "Kwendzeni" | "Magele" | "Zenzile" | "KaMbiko" | "KaMhawu" | "KaMshengu" | "Lusitini" | "Mphini" | "Ndushulweni" | "Nokwane" | "Phobane" | "Buseleni" | "Hlobane" | "Kuphumuleni" | "Nkwene" | "kaGwegwe" | "Ezibondeni/Kashiba" | "Nhletjeni" | "Nkhungwini" | "Ngololweni" | "Dumenkhungwini" | "Eposini" | "Hhuhhuma" | "Mabonabulawe" | "Manyandzeni " | "Mchinsweni " | "Zikhotheni " | "Mahlalini" | "Mbabala" | "Mbeka" | "Makhwelela" | "Mpangisweni" | "Mbangweni" | "Mathendele" | "Mkhitsini" | "Sikhotseni" | "Lulakeni" | "Kuphumleni " | "Ndunayithini" | "Nyatsini" | "Ezindwendweni" | "Luhlekweni" | "Maplotini" | "Ntuthwakazi" | "Nsubane" | "Phangweni" | "Vimbizibuko" | "Bulekeni" | "Mampondweni" | "Ngwenyameni " | "Zombodze " | "Nduma" | "Kupheleni" | "Mpolonjeni" | "Nhlalabantfu" | "Mhlangatane" | "Mhawini" | "Unspecified"; - communication?: builders.BackboneElement[]; - contact?: builders.BackboneElement[]; - contained?: any[]; - deceased?: boolean | string; - extension?: builders.Extension[]; - gender?: string; - generalPractitioner?: builders.Reference[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - inkhundla?: "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "-99" | "HHUKWINI" | "LOBAMBA" | "MADLANGEMPISI" | "MAPHALALENI" | "MAYIWANE" | "MBABANE EAST" | "MBABANE WEST" | "MHLANGATANE" | "NDZINGENI" | "NKHABA" | "NTFONJENI" | "PIGGS PEAK" | "SIPHOCOSINI" | "TIMPHISINI" | "DVOKODVWENI" | "GILGALI" | "LOMAHASHA" | "LUBULI" | "LUGONGOLWENI" | "MATSANJENI NORTH" | "MHLUME" | "MPOLONJENI" | "NKILONGO" | "SIPHOFANENI" | "SITHOBELA" | "KUKHANYENI" | "KWALUSENI" | "LAMGABHI" | "LOBAMBA LOMDZALA" | "LUDZELUDZE" | "MAFUTSENI" | "MAHLANGATSHA" | "MANGCONGCO" | "MANZINI NORTH" | "MANZINI SOUTH" | "MHLAMBANYATSI" | "MKHIWENI" | "MTFONGWANENI" | "NGWEMPISI" | "NHLAMBENI" | "NKOMIYAHLABA" | "NTONDOZI" | "PHONDO" | "GEGE" | "HOSEA" | "KUBUTA" | "KUMETHULA" | "MASEYISINI" | "MATSANJENI SOUTH" | "MTSAMBAMA" | "NGUDZENI" | "NKWENE" | "SANDLENI" | "SHISELWENI I" | "SHISELWENI II" | "SIGWE" | "SOMNTONGO" | "ZOMBODZE EMUVA" | "MOTSHANE" | "Unspecified"; - language?: string; - link?: builders.BackboneElement[]; - managingOrganization?: builders.Reference; - maritalStatus?: builders.CodeableConcept; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - multipleBirth?: boolean | number; - name?: builders.HumanName[]; - nationality?: builders.Extension[]; - photo?: builders.Attachment[]; - registrationDate?: string[]; - telecom?: builders.ContactPoint[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type Practitioner_SzPractitioner_Props = { - active?: boolean; - address?: builders.Address[]; - birthDate?: string; - communication?: builders.CodeableConcept[]; - contained?: any[]; - extension?: builders.Extension[]; - gender?: string; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - name?: builders.HumanName[]; - photo?: builders.Attachment[]; - qualification?: builders.BackboneElement[]; - telecom?: builders.ContactPoint[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type Procedure_SzProcedure_Props = { - asserter?: builders.Reference; - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept[]; - category?: builders.CodeableConcept; - code?: builders.CodeableConcept; - complication?: builders.CodeableConcept[]; - complicationDetail?: builders.Reference[]; - contained?: any[]; - encounter?: builders.Reference; - extension?: builders.Extension[]; - focalDevice?: builders.BackboneElement[]; - followUp?: builders.CodeableConcept[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - instantiatesCanonical?: any[]; - instantiatesUri?: string[]; - language?: string; - location?: builders.Reference; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - outcome?: builders.CodeableConcept; - partOf?: builders.Reference[]; - performed?: string | builders.Period | builders.Age | builders.Range; - performer?: builders.BackboneElement[]; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - recorder?: builders.Reference; - report?: builders.Reference[]; - status?: string; - statusReason?: builders.CodeableConcept; - subject?: builders.Reference; - text?: builders.Narrative; - usedCode?: builders.CodeableConcept[]; - usedReference?: builders.Reference[]; - [key: string]: any; -}; - -declare type ServiceRequest_SzLabRequest_Props = { - asNeeded?: boolean | builders.CodeableConcept; - authoredOn?: string; - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept[]; - category?: builders.CodeableConcept[]; - code?: "CD4" | "AST" | "CREA" | "HB" | "LFT" | "HIVVL" | "ICUP" | "GGT" | "KFT" | "CARDE" | "ART" | "ELECT" | "GLUCF" | "GLUCR" | "GTT" | "CL" | "K" | "NA" | "CO2" | "UA" | "CREAC" | "TBIL" | "BILI" | "ALP" | "ALT" | "ALB" | "TPROT" | "CK" | "CKMB" | "MYOG" | "TROPI" | "MAG" | "PO4" | "CAL" | "LDH" | "TRIG" | "LDL" | "HDL" | "CHOL" | "AMY" | "LACT" | "CRP" | "LIPAS" | "HBA1C" | "M-TP" | "FBC" | "DIFF" | "ESR" | "RET" | "COOMB" | "SICKL" | "MAL" | "MALPC" | "MALS" | "PT" | "APTT" | "PI" | "BTIME" | "DDIME" | "TFT" | "T3" | "T4" | "TSH" | "LH" | "FSH" | "E2" | "PROG" | "PRL" | "TESTO" | "CORT" | "PTH" | "HCGSU" | "HCGSB" | "ABORH" | "RPR" | "TPHA" | "PSSA" | "BHCG" | "AFP" | "CA153" | "CA125" | "CEA" | "CA199" | "GRAM" | "MCSF" | "CSF" | "CRINK" | "SEMEN" | "HIVR" | "HIVE" | "HIPOC" | "LCRAG" | "TOXO" | "HELIP" | "HEAG" | "HBCAB" | "HEPC" | "QCRPR" | "WIDAL" | "RF" | "ASOT" | "XMAT" | "HLAX" | "ANISC" | "DCT" | "ICT" | "IGGS" | "ZN1" | "CUBFL" | "HIVGE" | "TROPT" | "UCHEM" | "CRAG" | "CRGLF" | "TBLAM" | "17OPH" | "A1ATR" | "ACA" | "ACE" | "ACERA" | "ACLA" | "ACOLA" | "ACTH" | "ADENO" | "ADNA" | "ALDOS" | "AMITA" | "AMYU" | "ANA" | "ANCA" | "ANDRO" | "ANTBG" | "ANTE" | "AUR1" | "AUR2" | "AUR3" | "AUR4" | "BFCC" | "BG" | "BGAS" | "BGRP" | "BHCG2" | "BM" | "BNP" | "BPARA" | "BPARM" | "C/UP" | "C1EST" | "CA724" | "CAERU" | "CALCI" | "CALCT" | "CARB" | "CATS" | "CHLAM" | "CMP" | "CMV" | "CPEPT" | "CPROT" | "CRPS" | "CSFA" | "CSFAG" | "CSFC" | "CUCSF" | "CULFU" | "CULMY" | "CULPU" | "CULSP" | "CUTUP" | "CYTCO" | "DBILI" | "DBSGE" | "DCRT" | "DIFFM" | "DIFFF" | "DRUGR" | "DRUGS" | "E2M" | "EQAM1" | "FDP" | "FE" | "FERR" | "FERRX" | "FGLU" | "FNA" | "FPROT" | "GLOB" | "GLUC" | "GLUCS" | "GNBST" | "GPCST" | "GROUP" | "GTT2" | "GTT4" | "GYN" | "GYNAE" | "HBELE" | "HBSAB" | "HBSAG" | "HELIC" | "HEPAG" | "HEPAM" | "HEPD" | "HEPE" | "HERP" | "HGH" | "HI2DF" | "HISIN" | "HISSU" | "HISTO" | "HISTX" | "HIV48" | "HIVA" | "HIVC" | "HIVCW" | "HIVLD" | "HIVPC" | "HIVP" | "HIVST" | "HIVWB" | "HSAGR" | "HSV" | "HVART" | "HYS" | "ICD10" | "IGE" | "INR" | "IRONX" | "LALB" | "LCHOL" | "LCOT" | "LCREA" | "LESR" | "LFBC" | "LGGT" | "LGLPF" | "LGLPR" | "LGLUF" | "LGLUR" | "LHBA1" | "LHDL" | "LI" | "LIPO" | "LRF" | "LUPUS" | "LUR" | "MALB" | "MBCAT" | "MBCLT" | "MBFAM" | "MBFAS" | "MBFCA" | "MBFL" | "MBFLU" | "MBFPE" | "MBFPL" | "MBFSY" | "MBTRA" | "MBUCT" | "MBUMC" | "MCES" | "MEAS" | "MENDC" | "MEYE" | "MGAS" | "MICBC" | "MICFL" | "MICNS" | "MICSA" | "MICTS" | "MICU" | "MONO" | "MPEN" | "MPT64" | "MPUS" | "MRCSW" | "MSPUT" | "MSTRS" | "MTISS" | "MUMPS" | "MUPS" | "MWUS" | "MYGT" | "MYMIC" | "MYOB" | "NGYN" | "MFOB" | "PARA" | "PBILI" | "PBS" | "PCRAP" | "PCTR" | "PHENB" | "PHENY" | "PHVS" | "PLAT" | "PM" | "POLIO" | "POSTM" | "POSTX" | "PRD" | "PROT" | "PRT24" | "PSA" | "PTT" | "RA" | "RAPI2" | "RCCHE" | "RH" | "ROTA" | "ROTPC" | "RUB" | "SADA" | "SCREA" | "SEICU" | "SENFA" | "SENGN" | "SENGP" | "SENSA" | "SENST" | "SENSU" | "SHBG" | "STDM" | "STOOL" | "TBA1" | "TBA2" | "TBA3" | "TBBA" | "TBCL" | "TBCL1" | "TBCL2" | "TBCL3" | "TBCON" | "TBEQA" | "TBGEN" | "TBHCG" | "TBILI" | "TBINF" | "TBLP1" | "TBLP2" | "TBLP3" | "TBLP" | "TBLPS" | "TBLSF" | "TBPC1" | "TBPC2" | "TBPC3" | "TBRAP" | "TBRP1" | "TBRP2" | "TBRP3" | "TBSF1" | "TBSF2" | "TBSF3" | "TBSFF" | "TBSS" | "TBSS2" | "TBSS3" | "TBSSF" | "TBZ" | "TBZ1" | "TBZ2" | "TBZ3" | "TBZN" | "TBZN1" | "TBZN2" | "TBZN3" | "THCGB" | "TT3" | "TTA" | "LURIC" | "UBHCG" | "UBJP" | "UCREA" | "UCUL" | "UE" | "UECA" | "UECA+" | "UMAC" | "UMIC" | "UPREG" | "UPROT" | "UREA" | "VALPR" | "VDRL" | "VLPOC" | "VMAC" | "VZV" | "WBCP" | "WCC" | "WF" | "YELLO" | "ZN" | "ZN2" | "ZN3" | "TBSF" | "QHCG" | "CVID" | "CVRP" | "MEASL" | "CD4 Test" | "AST (Aspartate Transaminase)" | "Creatinine " | "Haemoglobin" | "Liver Function Tests - Profile" | "HIV Viral Load (Plasma)" | "ICU- Profile" | "Gamma-Glutamyl Transferase GGT" | "Kidney Function Test - Profile" | "Cardiac Enzymes" | "ART Baseline - Profile" | "Electrolytes - Profile" | "Glucose (Fasting)" | "Glucose (Random)" | "Glucose Tolerance Test" | "S-Chloride" | "S-Potassium" | "S-Sodium" | "S-Carbon Dioxide" | "Uric Acid" | "Creatinine Clearance" | "Total Bilirubin" | "Total and Direct Bilirubin" | "Alkaline Phosphatase" | "ALT (Alanine Aminotransferase)" | "Albumin" | "Total Protein" | "Creatine Kinase (CK)" | "Creatine Kinase (MB-Frac)" | "Myoglobin" | "S-Troponin I" | "S-Magnesium" | "Phosphate" | "S-Calcium" | "Lactate Dehydrogenase (LD)" | "Triglyceride" | "LDL - Cholesterol" | "HDL - Cholesterol" | "Total Cholesterol" | "Serum Amylase" | "Lactate" | "C-Reactive Protein (CRP)" | "Lipase (Serum)" | "Glycated Haemoglobin (HbA1C)" | "Micro Total Protein" | "FBC (Full Blood Count)" | "Differential Count" | "ESR (Westergren)" | "Reticulocyte Studies" | "Coombs Test" | "Sickle Cells Screen" | "Malaria" | "Malaria: PCR" | "Malaria Smear: Parasitemia" | "Prothrombin Time(INR/PI)" | "Partial Thromboplastin Time" | "Prothrombin Time (INR/PI)" | "Bleeding Time" | "D-Dimer" | "Thyroid Function Tests " | "Free Tri-iodothyronine (FT3)" | "Free Thyroxine (T4)" | "Thyroid Stimulating Hormone" | "Luteinising Hormone" | "Follicle Stimulating Hormone" | "17 b Oestradial (E2)" | "Progesterone" | "Prolactin" | "Testosterone" | "Cortisol" | "Parathyroid Hormone" | "Qualitative -HCG (Urine)" | "Qualitative  -HCG" | "ABO + Rh Group" | "Syphilis RPR" | "TPHA" | "ANTIBIOTIC SENS: PSA" | "Beta-HCG (Pregnancy Test)" | "Alfa Feto Protein" | "CA15-3" | "CA125" | "Carcino-embryonic Antigen" | "CA19-9" | "MICROBIOLOGY : GRAM STAIN" | "MICROBIOLOGY : CSF" | "CSF Chem Profile" | "India Ink Stain" | "Semen Analysis" | "HIV Rapid Test" | "HIV ELISA" | "Point of Care DNA PCR" | "LFA Cryptococal Antigen" | "Toxoplasmosis Test" | "MICROBIOLOGY : H.pylori" | "Hepatitis A IgG" | "Hepatitis B Core Antibodies" | "Hepatitis C Antibodies" | "QC RPR" | "Widal" | "Rheumatoid Factor" | "Anti-Streptolysin O Test" | "Cross Match" | "Grouping/Crossmatch" | "Antibody Screening (^Bbloodban" | "Direct Coombs Test" | "Indirect Coomb's Test" | "IMMUNOGLOBULINS" | "Smear Microscopy 1" | "Culture : Body Fuilds" | "HIV GENE XPERT" | "Troponin-T" | "Biochemistry : Urine (Dipstick)" | "CRAG (CSF)" | "CRAG (LFA) Blood" | "TB LAM Ag TEST" | "17 Hydroxyprogesterone" | "Alpha-1-antitrypsin" | "Anti-Centromere Antibodies" | "Angiotensin Converting Enzyme" | "Acetylcholine Receptor Ab's" | "Anti-Cardiolipin Antibodies" | "Anti-Collagen Antibodies" | "Adrenocorticotrophic Hormone" | "ADENO" | "Anti-Double Stranded DNA" | "Aldosterone" | "Anti-Mitochondrial Antibodies" | "Urine Amylase" | "Anti-Nuclear Antibodies" | "Anti-Neutrophil Cytoplasmic Ab" | "Androstenedione" | "Blood Group + Rh" | "Antenatal Screening" | "TB Auramine Specimen 1" | "TB Auramine Specimen 2" | "TB Auramine Specimen 3" | "TB Auramine Specimen 4" | "Cell Count : Body Fluid" | "Blood Group + Rh" | "Blood Gases" | "Blood grouping" | "HCG TOTAL BETA 2" | "Bone Marrow Report" | "B-Type Natriuretic Peptide" | "Blood Parasite Investigation" | "Blood Parasites" | "Cutup" | "C1 Esterase Inhibitor Assay" | "CA 72-4" | "Caeruloplasmin" | "Calcitonin" | "1.25 Dihydroxy Vitamin D" | "S-Carbamazepine" | "U-Catecholamines" | "Antibody test for Chlamydia" | "Calcium,Magnesium,PO4" | "CYTOMEGALOVIRUS" | "C-Peptide" | "CSF PROTEIN" | "CRP Serology" | "CSF Analysis" | "BACTERIAL ANTIGEN TESTS" | "Cell Count : CSF" | "CULTURE : CSF" | "MYCOLOGY" | "Mycology Culture" | "Culture : PUS" | "Culture : Sputum" | "Histo Cut Up (Dummy)" | "Gynaecological Detail" | "Conjugated Bilirubin (Direct)" | "Dry Blood Spot Gene Xpert" | "1:20 Diluted CRT" | "Differential Count" | "Diff Micro" | "Drug Resistance Testing" | "DRUG SCREEN" | "Oestradiol" | "Microbiology EQA" | "Fibrinogen Deg. Products (FDP)" | "S-Iron" | "Ferritin" | "S-Ferritin" | "Fluid-Glucose" | "Fine Needle Biopsy" | "F-Total Protein" | "Globulin" | "Glucose" | "Glucose Strip" | "GNB Sensitivity Testing" | "GPC Sensitivity testing" | "Blood Group Serology" | "GTT - 2 hourly" | "GTT Prolonged" | "Gynaecological Cytology" | "MICROSCOPIC EXAMINATION" | "Haemoglobin Electrophoresis" | "Hepatitis B Surface Antibody" | "Hepatitis B Surface Antigen" | "Helicobacter pylori Antibodies" | "Hepatitis A (IgG)(Immunity)" | "Hepatitis A IgM" | "HEPATITIS D INVESTIGATION" | "HEPATITIS E INVESTIGATION" | "Herpes simplex virus" | "Human Growth Hormone" | "HIV Viral Load (DBS)" | "CLINICAL HISTORY" | "Supplementary Report" | "MACROSCOPIC EXAMINATION" | "Histo Extended text" | "CD4 + CD8*" | "HIV ASANTE" | "HIV Ag/Ab Combo" | "Child Welfare Number" | "HIV Viral Load*" | "HIV DNA PCR" | "HIV RAPID TEST" | "HIV EID Information" | "HIV DNA PCR : Whole Blood" | "HepB surface antigen Rapid" | "Herpes simplex Virus" | "ART Number" | "Homocysteine" | "ICD10" | "Total IgE" | "INR" | "S-IRON STUDIES" | "ALBUMIN" | "S-Cholesterol" | "Cotinine ELISA" | "Creatinine" | "ESR (Westergren)" | "Full Blood Count" | "Gamma Glutamyl Transferase" | "P-Glucose (Fasting)" | "P-Glucose (Random)" | "S-Glucose (Fasting)" | "S-Glucose (Random)" | "HbA1C" | "HDL Cholesterol" | "S-Lithium" | "Lipogram" | "Rheumatoid factor" | "Lupus anticoagulant" | "Urea" | "Micro-albumin" | "Microbiology: Catheter Tip" | "Microbiology: Catheter Line Ti" | "MICROBIOLOGY:AMNIOTIC FLUID" | "MICROBIOLOGY : ASCITIC FLUID" | "MICROBIOLOGY:PERICARDIAL FLUID" | "Microbiology:Body Fluid" | "Microbiology:Body Fluid" | "MICROBIOLOGY:PERITONEAL FLUID" | "MICROBIOLOGY:PLEURAL FLUID" | "MICROBIOLOGY:SYNOVIAL FLUID" | "Microbiology: Tracheal Tip" | "Microbiology: Urinary Catheter" | "Microbiology:Umbilical Cathete" | "MICROBIOLOGY : CERVICAL SWAB" | "MICROBIOLOGY : EAR SWAB" | "MICROBIOLOGY:ENDOCERVICAL SWAB" | "MICROBIOLOGY : EYE SWAB" | "MICROBIOLOGY : GASTRIC ASP" | "MICROBIOLOGY: BLOOD CULTURE" | "MICROBIOLOGY : FLUID" | "MICROBIOLOGY : NASAL SWAB" | "Microscopy - Sexual Assault" | "MICROBIOLOGY : THROAT SWAB" | "MICROBIOLOGY: URINE" | "Epstein Barr Ser-Mono Test" | "MICROBIOLOGY : PENILE SWAB" | "MPT64 Rapid" | "MICROBIOLOGY : PUS" | "MICROBIOLOGY : RECTAL SWAB" | "MICROBIOLOGY : SPUTUM" | "MICROBIOLOGY : STOOL CULTURE" | "MICROBIOLOGY : TISSUE" | "Mumps Serology (ELISA)" | "MICROBIOLOGY : URETHRAL SWAB" | "MICROBILOLOGY: Wound Swab" | "Germ Tube Test" | "Microscopy for Fungi" | "Myogloblin (Serum)" | "Non-Gynaecological Cytology" | "Faecal Occult Blood" | "Parasitology:Urine" | "Neonatal Bilirubin" | "Peripheral Blood Smear" | "Factor V Leiden Mutation" | "Procalcitonin" | "Phenobarbitone" | "S-Phenytoin" | "PARASITOLOGY: VAGINAL SWAB" | "Platelets" | "Post-Mortem Examination" | "Polio Neutralisation Serology" | "POST MORTEM REPORT" | "Postmorten Supplement" | "Pregnandiol" | "Total Protein & Albumin" | "Urine Protein (24 hr)" | "Prostate Specific Antigen" | "Part Thromboplastin Time (PTT)" | "RA Latex Test" | "HIV Rapid Repeat" | "Cholinesterase" | "RHESUS FACTOR" | "Rotavirus Antigen EIA Test" | "Rotavirus: PCR" | "Rubella Serology" | "Adenosine Deaminase" | "Creatinine Clearance" | "SENS ICU" | "ANTIBIOTIC SUSCEPTIBILITY" | "ANTIBIOTIC SENS: GN" | "ANTIBIOTIC SENS: GP" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: URINE" | "Sex Hormone Binding Globulin" | "Direct Microscopy : Stool" | "Stool Microscopy" | "TB Microscopy Auramine 1" | "TB Microscopy Auramine 2" | "TB Microscopy Specimen 3" | "TB Blood Agar (TB Nat Ref)" | "TB Culture" | "TB Culture 1" | "TB Culture 2" | "TB Culture 3" | "TB Control" | "TB EQA" | "TB Genexpert" | "S-HCG Total Beta" | "S-Total Bilirubin" | "TB Diagnosis Information" | "TB Line Probe SP1" | "TB Line Probe SP2" | "TB Line Probe SP3" | "TB First Line -Line Probe Assay" | "TB Second Line -Line Probe Assay" | "2nd Line Probe Assay Final" | "TB PCR Specimen 1" | "TB PCR Specimen 2" | "TB PCR Specimen 3" | "TB Capilia Rapid Test" | "TB Capilia Rapid ID Test SP1" | "TB Capilia Rapid ID Test SP2" | "TB Capilia Rapid ID Test SP3" | "TB First Line Sens 1" | "TB First Line Sens 2" | "TB First Line Sens 3" | "TB First Line Sens Final" | "TB Second Line DST" | "TB Seconde Line Sens 2" | "TB Seconde Line Sens 3" | "TB Second Line Final" | "TBZN TB National Ref Lab" | "TB Direct Microscopy Spec. 1" | "TB Direct Microscopy Spec. 2" | "TB Direct Microscopy Spec. 3" | "TB Smear Microscopy" | "TBZN SP1" | "TBZN SP2" | "TBZN SP3" | "S-TOTAL HCG Beta" | "Total Tri-iodothyronine (TT3)" | "Tetanus Serology" | "Uric Acid" | "Urine Beta-HCG (Preg Test)" | "Urine Bence Jones Protein" | "Creatine Clearance" | "CULTURE : Urine" | "Urea & electrolytes" | "Urea, Electrolytes & Creatinin" | "Urea, Elec, Creat & eGFR" | "MACROSCOPY : Urine" | "MICROSCOPY : Urine" | "Urine Pregnancy Test" | "Total Protein (Urine)" | "Urea" | "S-Valproate" | "VDRL" | "HIV VIRAL LOAD (POC)" | "Vanillylmandelic Acid" | "VARICELLA-ZOSTER SEROLOGY" | "White Cell Count + Platelets" | "White Cell Count" | "WEIL FELIX" | "Yellow Fever" | "TBZN" | "Smear Microscopy 2" | "TBZN Specimen 3" | "TB First Line DST" | "Quantitative Beta-HCG (Blood)" | "PCR SARS-CoV-2" | "COVID-19 Ag Rapid Test" | "Measles"; - contained?: any[]; - doNotPerform?: boolean; - encounter?: builders.Reference; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - instantiatesCanonical?: any[]; - instantiatesUri?: string[]; - insurance?: builders.Reference[]; - intent?: string; - language?: string; - locationCode?: builders.CodeableConcept[]; - locationReference?: builders.Reference[]; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - occurrence?: string | builders.Period | builders.Timing; - orderDetail?: builders.CodeableConcept[]; - patientInstruction?: string; - performer?: builders.Reference[]; - performerType?: builders.CodeableConcept; - priority?: string; - quantity?: builders.Quantity | builders.Ratio | builders.Range; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - relevantHistory?: builders.Reference[]; - replaces?: builders.Reference[]; - requester?: builders.Reference; - requisition?: builders.Identifier; - specimen?: builders.Reference[]; - status?: string; - subject?: builders.Reference; - supportingInfo?: builders.Reference[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type ServiceRequest_SzReferral_Props = { - asNeeded?: boolean | builders.CodeableConcept; - authoredOn?: string; - basedOn?: builders.Reference[]; - bodySite?: builders.CodeableConcept[]; - category?: builders.CodeableConcept[]; - code?: builders.CodeableConcept; - contained?: any[]; - doNotPerform?: boolean; - encounter?: builders.Reference; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - instantiatesCanonical?: any[]; - instantiatesUri?: string[]; - insurance?: builders.Reference[]; - intent?: string; - language?: string; - locationCode?: builders.CodeableConcept[]; - locationReference?: builders.Reference[]; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - occurrence?: string | builders.Period | builders.Timing; - orderDetail?: builders.CodeableConcept[]; - patientInstruction?: string; - performer?: builders.Reference[]; - performerType?: builders.CodeableConcept; - priority?: string; - quantity?: builders.Quantity | builders.Ratio | builders.Range; - reasonCode?: builders.CodeableConcept[]; - reasonReference?: builders.Reference[]; - recipient?: any[] | boolean[] | string[] | number[] | builders.Address[] | builders.Age[] | builders.Annotation[] | builders.Attachment[] | builders.CodeableConcept[] | builders.Coding[] | builders.ContactPoint[] | builders.Count[] | builders.Distance[] | builders.Duration[] | builders.HumanName[] | builders.Identifier[] | builders.Money[] | builders.Period[] | builders.Quantity[] | builders.Range[] | builders.Ratio[] | builders.Reference[] | builders.SampledData[] | builders.Signature[] | builders.Timing[] | builders.ContactDetail[] | builders.Contributor[] | builders.DataRequirement[] | builders.Expression[] | builders.ParameterDefinition[] | builders.RelatedArtifact[] | builders.TriggerDefinition[] | builders.UsageContext[] | builders.Dosage[] | builders.Meta[]; - relevantHistory?: builders.Reference[]; - replaces?: builders.Reference[]; - requester?: builders.Reference; - requisition?: builders.Identifier; - specimen?: builders.Reference[]; - status?: string; - subject?: builders.Reference; - supportingInfo?: builders.Reference[]; - text?: builders.Narrative; - [key: string]: any; -}; - -declare type Specimen_SzLabSpecimen_Props = { - accessionIdentifier?: builders.Identifier; - collection?: builders.BackboneElement; - condition?: builders.CodeableConcept[]; - contained?: any[]; - container?: builders.BackboneElement[]; - extension?: builders.Extension[]; - id?: string; - identifier?: builders.Identifier[]; - implicitRules?: string; - language?: string; - meta?: builders.Meta; - modifierExtension?: builders.Extension[]; - note?: builders.Annotation[]; - parent?: builders.Reference[]; - processing?: builders.BackboneElement[]; - receivedTime?: string; - request?: builders.Reference[]; - status?: string; - subject?: builders.Reference; - text?: builders.Narrative; - type?: builders.CodeableConcept; - [key: string]: any; -}; - -declare const addExtension: (resource: any, url: any, value: any) => void; -declare const c: typeof builders.coding; -declare const cc: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept; -declare const coding: typeof builders.coding; -declare const composite: (object: any, key: any, value: any) => void; -declare const concept: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept; -declare const ext: (url: string, value: any, props?: Omit) => { - extension: ({ - url: string; - } & Omit)[]; -}; -declare const extendSystemMap: (newMappings: any) => void; -declare const extendValues: (url: any, values: any, type?: string) => void; -declare const extension: (url: string, value: any, props?: Omit) => { - extension: ({ - url: string; - } & Omit)[]; -}; -declare const findExtension: (obj: any, targetUrl: any, path: any) => any; -declare const id: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any; -declare const identifier: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any; -declare const lookupValue: (url: any, code: any) => any; -declare const mapSystems: (obj: any) => any; -declare const mapValues: (obj: any, hints: any) => any; -declare const ref: (ref: any, opts?: {}) => any; -declare const reference: (ref: any, opts?: {}) => any; -declare const setSystemMap: (newMappings: any) => (state: any) => any; -declare const setValues: (url: any, values: any, type?: string) => void; -declare const value: (value: any, system: any, ...extra: any[]) => any; - +import "./values"; +import { Appointment_SzAppointment_Props } from "./profiles/SzAppointment"; +import { Condition_SzCondition_Props } from "./profiles/SzCondition"; +import { Encounter_SzEncounter_Props } from "./profiles/SzEncounter"; +import { EpisodeOfCare_SzEpisodeOfCare_Props } from "./profiles/SzEpisodeOfCare"; +import { Location_SzLocation_Props } from "./profiles/SzLocation"; +import { Medication_SzMedication_Props } from "./profiles/SzMedication"; +import { MedicationDispense_SzMedicationDispense_Props } from "./profiles/SzMedicationDispense"; +import { MedicationRequest_SzMedicationRequest_Props } from "./profiles/SzMedicationRequest"; +import { Observation_SzCauseOfDeath_Props } from "./profiles/SzCauseOfDeath"; +import { Observation_SzClinicalObservation_Props } from "./profiles/SzClinicalObservation"; +import { Observation_SzLabResult_Props } from "./profiles/SzLabResult"; +import { Observation_SzMannerOfDeath_Props } from "./profiles/SzMannerOfDeath"; +import { Observation_SzVitalSigns_Props } from "./profiles/SzVitalSigns"; +import { Organization_SzOrganization_Props } from "./profiles/SzOrganization"; +import { Patient_SzPatient_Props } from "./profiles/SzPatient"; +import { Practitioner_SzPractitioner_Props } from "./profiles/SzPractitioner"; +import { Procedure_SzProcedure_Props } from "./profiles/SzProcedure"; +import { ServiceRequest_SzLabRequest_Props } from "./profiles/SzLabRequest"; +import { ServiceRequest_SzReferral_Props } from "./profiles/SzReferral"; +import { Specimen_SzLabSpecimen_Props } from "./profiles/SzLabSpecimen"; +export * from "./datatypes"; /** * Create a Appointment resource. * @public @@ -736,8 +56,8 @@ declare const value: (value: any, system: any, ...extra: any[]) => any; * @param {Reference} [props.supportingInformation] - Additional information to support the appointment * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function appointment(type: "SzAppointment", props: Appointment_SzAppointment_Props): any; -declare function appointment(props: Appointment_SzAppointment_Props): any; +export declare function appointment(type: "SzAppointment", props: Appointment_SzAppointment_Props): any; +export declare function appointment(props: Appointment_SzAppointment_Props): any; /** * Create a Condition resource. * @public @@ -769,8 +89,8 @@ declare function appointment(props: Appointment_SzAppointment_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.verificationStatus] - unconfirmed | provisional | differential | confirmed | refuted | entered-in-error. Accepts all values from http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 */ -declare function condition(type: "SzCondition", props: Condition_SzCondition_Props): any; -declare function condition(props: Condition_SzCondition_Props): any; +export declare function condition(type: "SzCondition", props: Condition_SzCondition_Props): any; +export declare function condition(props: Condition_SzCondition_Props): any; /** * Create a Encounter resource. * @public @@ -808,8 +128,8 @@ declare function condition(props: Condition_SzCondition_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Specific type of encounter. Accepts all values from http://hl7.org/fhir/ValueSet/encounter-type|4.0.1 */ -declare function encounter(type: "SzEncounter", props: Encounter_SzEncounter_Props): any; -declare function encounter(props: Encounter_SzEncounter_Props): any; +export declare function encounter(type: "SzEncounter", props: Encounter_SzEncounter_Props): any; +export declare function encounter(props: Encounter_SzEncounter_Props): any; /** * Create a EpisodeOfCare resource. * @public @@ -836,8 +156,8 @@ declare function encounter(props: Encounter_SzEncounter_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Episode of care classification. Accepts all values from https://hapifhir.eswatinihie.com/fhir/ValueSet/SzEpisodeOfCareTypeVS */ -declare function episodeOfCare(type: "SzEpisodeOfCare", props: EpisodeOfCare_SzEpisodeOfCare_Props): any; -declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props): any; +export declare function episodeOfCare(type: "SzEpisodeOfCare", props: EpisodeOfCare_SzEpisodeOfCare_Props): any; +export declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props): any; /** * Create a Location resource. * @public @@ -869,8 +189,8 @@ declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Location Type. Accepts all values from http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType|3.0.0 */ -declare function location(type: "SzLocation", props: Location_SzLocation_Props): any; -declare function location(props: Location_SzLocation_Props): any; +export declare function location(type: "SzLocation", props: Location_SzLocation_Props): any; +export declare function location(props: Location_SzLocation_Props): any; /** * Create a Medication resource. * @public @@ -893,8 +213,8 @@ declare function location(props: Location_SzLocation_Props): any; * @param {string} [props.status] - active | inactive | entered-in-error. Accepts all values from http://hl7.org/fhir/ValueSet/medication-status|4.0.1 * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function medication(type: "SzMedication", props: Medication_SzMedication_Props): any; -declare function medication(props: Medication_SzMedication_Props): any; +export declare function medication(type: "SzMedication", props: Medication_SzMedication_Props): any; +export declare function medication(props: Medication_SzMedication_Props): any; /** * Create a MedicationDispense resource. * @public @@ -933,8 +253,8 @@ declare function medication(props: Medication_SzMedication_Props): any; * @param {dateTime} [props.whenHandedOver] - When product was given out * @param {dateTime} [props.whenPrepared] - When product was packaged and reviewed */ -declare function medicationDispense(type: "SzMedicationDispense", props: MedicationDispense_SzMedicationDispense_Props): any; -declare function medicationDispense(props: MedicationDispense_SzMedicationDispense_Props): any; +export declare function medicationDispense(type: "SzMedicationDispense", props: MedicationDispense_SzMedicationDispense_Props): any; +export declare function medicationDispense(props: MedicationDispense_SzMedicationDispense_Props): any; /** * Create a MedicationRequest resource. * @public @@ -981,8 +301,8 @@ declare function medicationDispense(props: MedicationDispense_SzMedicationDispen * @param {Reference} [props.supportingInformation] - Information to support ordering of the medication * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function medicationRequest(type: "SzMedicationRequest", props: MedicationRequest_SzMedicationRequest_Props): any; -declare function medicationRequest(props: MedicationRequest_SzMedicationRequest_Props): any; +export declare function medicationRequest(type: "SzMedicationRequest", props: MedicationRequest_SzMedicationRequest_Props): any; +export declare function medicationRequest(props: MedicationRequest_SzMedicationRequest_Props): any; /** * Create a Observation resource. * @public @@ -1022,11 +342,11 @@ declare function medicationRequest(props: MedicationRequest_SzMedicationRequest_ * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {CodeableConcept} [props.value] - Actual result */ -declare function observation(type: "SzCauseOfDeath", props: Observation_SzCauseOfDeath_Props): any; -declare function observation(type: "SzClinicalObservation", props: Observation_SzClinicalObservation_Props): any; -declare function observation(type: "SzLabResult", props: Observation_SzLabResult_Props): any; -declare function observation(type: "SzMannerOfDeath", props: Observation_SzMannerOfDeath_Props): any; -declare function observation(type: "SzVitalSigns", props: Observation_SzVitalSigns_Props): any; +export declare function observation(type: "SzCauseOfDeath", props: Observation_SzCauseOfDeath_Props): any; +export declare function observation(type: "SzClinicalObservation", props: Observation_SzClinicalObservation_Props): any; +export declare function observation(type: "SzLabResult", props: Observation_SzLabResult_Props): any; +export declare function observation(type: "SzMannerOfDeath", props: Observation_SzMannerOfDeath_Props): any; +export declare function observation(type: "SzVitalSigns", props: Observation_SzVitalSigns_Props): any; /** * Create a Organization resource. * @public @@ -1051,8 +371,8 @@ declare function observation(type: "SzVitalSigns", props: Observation_SzVitalSig * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Organization Type. Accepts all values from http://hl7.org/fhir/ValueSet/organization-type|4.0.1 */ -declare function organization(type: "SzOrganization", props: Organization_SzOrganization_Props): any; -declare function organization(props: Organization_SzOrganization_Props): any; +export declare function organization(type: "SzOrganization", props: Organization_SzOrganization_Props): any; +export declare function organization(props: Organization_SzOrganization_Props): any; /** * Create a Patient resource. * @public @@ -1087,8 +407,8 @@ declare function organization(props: Organization_SzOrganization_Props): any; * @param {ContactPoint} [props.telecom] - A contact detail for the individual * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function patient(type: "SzPatient", props: Patient_SzPatient_Props): any; -declare function patient(props: Patient_SzPatient_Props): any; +export declare function patient(type: "SzPatient", props: Patient_SzPatient_Props): any; +export declare function patient(props: Patient_SzPatient_Props): any; /** * Create a Practitioner resource. * @public @@ -1113,8 +433,8 @@ declare function patient(props: Patient_SzPatient_Props): any; * @param {ContactPoint} [props.telecom] - A contact detail for the practitioner (that apply to all roles) * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function practitioner(type: "SzPractitioner", props: Practitioner_SzPractitioner_Props): any; -declare function practitioner(props: Practitioner_SzPractitioner_Props): any; +export declare function practitioner(type: "SzPractitioner", props: Practitioner_SzPractitioner_Props): any; +export declare function practitioner(props: Practitioner_SzPractitioner_Props): any; /** * Create a Procedure resource. * @public @@ -1157,8 +477,8 @@ declare function practitioner(props: Practitioner_SzPractitioner_Props): any; * @param {string} [props.usedCode] - Coded items used during the procedure. Accepts all values from http://hl7.org/fhir/ValueSet/device-kind|4.0.1 * @param {Reference} [props.usedReference] - Items used during procedure */ -declare function procedure(type: "SzProcedure", props: Procedure_SzProcedure_Props): any; -declare function procedure(props: Procedure_SzProcedure_Props): any; +export declare function procedure(type: "SzProcedure", props: Procedure_SzProcedure_Props): any; +export declare function procedure(props: Procedure_SzProcedure_Props): any; /** * Create a ServiceRequest resource. * @public @@ -1207,8 +527,8 @@ declare function procedure(props: Procedure_SzProcedure_Props): any; * @param {Reference} [props.supportingInfo] - Additional clinical information * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -declare function serviceRequest(type: "SzLabRequest", props: ServiceRequest_SzLabRequest_Props): any; -declare function serviceRequest(type: "SzReferral", props: ServiceRequest_SzReferral_Props): any; +export declare function serviceRequest(type: "SzLabRequest", props: ServiceRequest_SzLabRequest_Props): any; +export declare function serviceRequest(type: "SzReferral", props: ServiceRequest_SzReferral_Props): any; /** * Create a Specimen resource. * @public @@ -1236,8 +556,5 @@ declare function serviceRequest(type: "SzReferral", props: ServiceRequest_SzRefe * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Type of specimen being collected. Accepts all values from http://terminology.hl7.org/CodeSystem/v2-0487|3.0.0 */ -declare function specimen(type: "SzLabSpecimen", props: Specimen_SzLabSpecimen_Props): any; -declare function specimen(props: Specimen_SzLabSpecimen_Props): any; - -export { addExtension, appointment, c, cc, coding, composite, concept, condition, encounter, episodeOfCare, ext, extendSystemMap, extendValues, extension, findExtension, id, identifier, location, lookupValue, mapSystems, mapValues, medication, medicationDispense, medicationRequest, observation, organization, patient, practitioner, procedure, ref, reference, serviceRequest, setSystemMap, setValues, specimen, value }; - +export declare function specimen(type: "SzLabSpecimen", props: Specimen_SzLabSpecimen_Props): any; +export declare function specimen(props: Specimen_SzLabSpecimen_Props): any; diff --git a/packages/fhir-eswatini/types/datatypes.d.ts b/packages/fhir-eswatini/types/datatypes.d.ts new file mode 100644 index 0000000000..1702a92101 --- /dev/null +++ b/packages/fhir-eswatini/types/datatypes.d.ts @@ -0,0 +1,10 @@ +import { builders } from '@openfn/language-fhir-4'; +export declare const addExtension: (resource: any, url: any, value: any) => void, c: typeof builders.coding, cc: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept, coding: typeof builders.coding, composite: (object: any, key: any, value: any) => void, concept: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept, ext: (url: string, value: any, props?: Omit) => { + extension: ({ + url: string; + } & Omit)[]; +}, extendSystemMap: (newMappings: any) => void, extendValues: (url: any, values: any, type?: string) => void, extension: (url: string, value: any, props?: Omit) => { + extension: ({ + url: string; + } & Omit)[]; +}, findExtension: (obj: any, targetUrl: any, path: any) => any, id: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any, identifier: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any, lookupValue: (url: any, code: any) => any, mapSystems: (obj: any) => any, mapValues: (obj: any, hints: any) => any, ref: (ref: any, opts?: {}) => any, reference: (ref: any, opts?: {}) => any, setSystemMap: (newMappings: any) => (state: any) => any, setValues: (url: any, values: any, type?: string) => void, value: (value: any, system: any, ...extra: any[]) => any; diff --git a/tools/generate-fhir/src/generate-code.ts b/tools/generate-fhir/src/generate-code.ts index b716d4ac76..4a24694e61 100644 --- a/tools/generate-fhir/src/generate-code.ts +++ b/tools/generate-fhir/src/generate-code.ts @@ -600,10 +600,138 @@ const mapSimpleProp = (propName: string, mapping: Mapping, schema: Schema) => { return ifPropInInput(propName, [assignProp], elseStatement); }; +const mapPrimitiveTypeDef = (propName: string, schema: Schema) => { + // Primitive metadata lives in the sibling underscore property, eg _birthDate + const primitivePropName = `_${propName}`; + // Only retrieve extension-backed child props + const primitiveExtensions = Object.entries(schema.typeDef || {}).filter( + ([, spec]: [string, any]) => spec.extension, + ); + const statements: StatementKind[] = []; + + const inputPropRef = (name: string) => safelyRefProp(INPUT_NAME, name); + const resourcePropRef = (name: string) => safelyRefProp(RESOURCE_NAME, name); + const copyPrimitiveMetadata = (name: string) => + b.expressionStatement( + b.assignmentExpression( + '=', + resourcePropRef(name), + b.callExpression( + b.memberExpression(b.identifier('Object'), b.identifier('assign')), + [b.objectExpression([]), inputPropRef(name)], + ), + ), + ); + const createEmptyPrimitiveMetadata = (name: string) => + b.expressionStatement( + b.assignmentExpression('=', resourcePropRef(name), b.objectExpression([])), + ); + const addPrimitiveExtension = ( + targetName: string, + sourceName: string, + url: string, + ) => + b.expressionStatement( + b.callExpression( + b.memberExpression(b.identifier('dt'), b.identifier('addExtension')), + [resourcePropRef(targetName), b.stringLiteral(url), inputPropRef(sourceName)], + ), + ); + + if (primitiveExtensions.length === 1) { + const [[, spec]] = primitiveExtensions as [string, any][]; + statements.push( + ifPropInInput( + primitivePropName, + [ + b.ifStatement( + b.callExpression( + b.memberExpression(b.identifier('_'), b.identifier('isPlainObject')), + [inputPropRef(primitivePropName)], + ), + b.blockStatement([ + // If the caller already passed primitive metadata, preserve it + copyPrimitiveMetadata(primitivePropName), + ]), + b.blockStatement([ + // Otherwise treat the underscore value as shorthand for the single known extension + b.expressionStatement( + b.unaryExpression('delete', resourcePropRef(primitivePropName)), + ), + createEmptyPrimitiveMetadata(primitivePropName), + addPrimitiveExtension( + primitivePropName, + primitivePropName, + spec.extension.url, + ), + ]), + ), + ], + ), + ); + } else { + statements.push( + ifPropInInput( + primitivePropName, + [ + b.ifStatement( + b.callExpression( + b.memberExpression(b.identifier('_'), b.identifier('isPlainObject')), + [inputPropRef(primitivePropName)], + ), + b.blockStatement([ + // Multiple extension choices: only pass through explicit primitive metadata objects + copyPrimitiveMetadata(primitivePropName), + ]), + ), + ], + ), + ); + } + + for (const [key, spec] of primitiveExtensions as [string, any][]) { + // Support shorthand child props like _birthTime and rewrite them into _birthDate.extension[] + const inputPropName = `_${key}`; + statements.push( + ifPropInInput( + inputPropName, + [ + b.expressionStatement( + b.unaryExpression('delete', resourcePropRef(inputPropName)), + ), + b.ifStatement( + b.unaryExpression('!', resourcePropRef(primitivePropName)), + b.blockStatement([ + // Create the primitive metadata container before appending extension shorthand + createEmptyPrimitiveMetadata(primitivePropName), + ]), + ), + addPrimitiveExtension( + primitivePropName, + inputPropName, + spec.extension.url, + ), + ], + ), + ); + } + + return b.blockStatement(statements); +}; + +const isPrimitiveTypeDefParent = (schema: Schema) => + !schema.isArray && + !!schema.typeDef && + schema.type.every(type => type[0] === type[0]?.toLowerCase()); + // map a type def (ie, a nested object) property by property // TODO this is designed to handle singleton and array types // The array stuff adds a lot of complication and I need tests on both formats const mapTypeDef = (propName: string, mapping: Mapping, schema: Schema) => { + if (isPrimitiveTypeDefParent(schema)) { + return mapPrimitiveTypeDef(propName, schema); + } + const statements: any[] = []; statements.push( diff --git a/tools/generate-fhir/src/generate-schema.ts b/tools/generate-fhir/src/generate-schema.ts index 55074fb926..3c2e226a58 100644 --- a/tools/generate-fhir/src/generate-schema.ts +++ b/tools/generate-fhir/src/generate-schema.ts @@ -343,6 +343,7 @@ async function parseProp( data, ) { let [parent, prop] = path.split('.'); + const rawProp = prop; // TODO skip if multiple dots if (/\[x\]/.test(prop)) { @@ -366,7 +367,16 @@ async function parseProp( if (schema.props[parent]) { const def: PropDef = {}; - if (!data.type || schema.props[parent].type.includes('date')) { + // Keep primitive props + const isExtensionChild = rawProp === 'extension'; + const hasSlice = !!data.sliceName; + const parentTypes = schema.props[parent].type || []; + const isPrimitiveParent = + !schema.props[parent].typeDef && + parentTypes.length > 0 && + parentTypes.every(type => type[0] === type[0]?.toLowerCase()); + + if (!data.type || (isPrimitiveParent && !(isExtensionChild && hasSlice))) { return; } @@ -384,7 +394,8 @@ async function parseProp( type.profile.length && type.profile[0].match(/\/StructureDefinition/) ) { - const typeId = type.profile[0].split('/').at(-1); + const extensionUrl = type.profile[0].split('|')[0]; + const typeId = extensionUrl.split('/').at(-1); const spec = fullSpec[typeId]; if (spec) { @@ -396,7 +407,11 @@ async function parseProp( // look for extension.value[x] in the spec }; } else { - console.log('WARNING: spec not found for ', typeId); + // Some extension profiles are not in the downloaded spec + // The profile URL is still enough for codegen + def.extension = { + url: extensionUrl, + }; } } else { simpleType = typeDefs[type.code] || type.code; diff --git a/tools/generate-fhir/test/generate-code.test.ts b/tools/generate-fhir/test/generate-code.test.ts index cf86d70235..04385cb3bd 100644 --- a/tools/generate-fhir/test/generate-code.test.ts +++ b/tools/generate-fhir/test/generate-code.test.ts @@ -177,6 +177,69 @@ run('builds typeDef with nested extension', t => { t.is(dt.addExtension.calls, 1); }); +run('builds primitive sibling extension from underscored slice input', t => { + const profile = { + birthDate: { + type: ['date'], + isArray: false, + typeDef: { + birthTime: { + extension: { + url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', + }, + type: 'dateTime', + }, + }, + }, + }; + const schema = generateBuilder('Patient', profile); + const builder = compileBuilder(schema); + const result = builder({ + birthDate: '10/07/1990', + _birthTime: '10am', + }); + + t.is(result.birthDate, '10/07/1990'); + t.is(result._birthTime, undefined); + t.is( + result._birthDate.extension[0].url, + 'http://hl7.org/fhir/StructureDefinition/patient-birthTime' + ); + t.is(result._birthDate.extension[0].value, '10am'); + t.is(dt.addExtension.calls, 1); +}); + +run('builds primitive sibling extension from underscored parent shorthand', t => { + const profile = { + birthDate: { + type: ['date'], + isArray: false, + typeDef: { + text: { + extension: { + url: 'http://example.org/fhir/StructureDefinition/text', + }, + type: 'string', + }, + }, + }, + }; + const schema = generateBuilder('Patient', profile); + const builder = compileBuilder(schema); + const result = builder({ + birthDate: '10/07/1990', + _birthDate: '10 july', + }); + + t.is(result.birthDate, '10/07/1990'); + t.is( + result._birthDate.extension[0].url, + 'http://example.org/fhir/StructureDefinition/text' + ); + t.is(result._birthDate.extension[0].value, '10 july'); + t.is(dt.addExtension.calls, 1); +}); + run('skips nil properties', t => { const profile = { x: { type: ['Reference'] }, From 9fcf969c694c53d54bae744265b3ea1abda2265a Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Tue, 26 May 2026 15:56:34 +0300 Subject: [PATCH 02/10] feat: update comments Signed-off-by: Hunter Achieng --- tools/generate-fhir/src/generate-code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate-fhir/src/generate-code.ts b/tools/generate-fhir/src/generate-code.ts index 4a24694e61..91aae8502a 100644 --- a/tools/generate-fhir/src/generate-code.ts +++ b/tools/generate-fhir/src/generate-code.ts @@ -601,7 +601,7 @@ const mapSimpleProp = (propName: string, mapping: Mapping, schema: Schema) => { }; const mapPrimitiveTypeDef = (propName: string, schema: Schema) => { - // Primitive metadata lives in the sibling underscore property, eg _birthDate + // Primitive metadata elements lives in the sibling underscore property, eg _birthDate const primitivePropName = `_${propName}`; // Only retrieve extension-backed child props const primitiveExtensions = Object.entries(schema.typeDef || {}).filter( From f444f6aa110f782542f967c08f93049b1015d21a Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Wed, 27 May 2026 16:17:22 +0300 Subject: [PATCH 03/10] fix tests Signed-off-by: Hunter Achieng --- .../test/resources/Patient.test.ts | 6 +++-- tools/generate-fhir/src/generate-schema.ts | 3 +-- .../generate-fhir/test/generate-code.test.ts | 24 +++++++++---------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/fhir-eswatini/test/resources/Patient.test.ts b/packages/fhir-eswatini/test/resources/Patient.test.ts index 3ab2fb236f..a8d16ac200 100644 --- a/packages/fhir-eswatini/test/resources/Patient.test.ts +++ b/packages/fhir-eswatini/test/resources/Patient.test.ts @@ -439,7 +439,7 @@ describe('SzPatient', () => { valueDateTime: '2025-06-01T10:00:00Z', }); }); - it('should map primitive values', ()=>{ + it('should map primitive extensions', ()=>{ const state = {}; const resource = b.patient('SzPatient',{ @@ -454,6 +454,8 @@ describe('SzPatient', () => { "valueDateTime": "2000-01-01T14:35:45-05:00" } ] - }) + }); + + assert.deepEqual(resource.birthDate, '10/07/1990'); }); }); diff --git a/tools/generate-fhir/src/generate-schema.ts b/tools/generate-fhir/src/generate-schema.ts index 3c2e226a58..30713ee27d 100644 --- a/tools/generate-fhir/src/generate-schema.ts +++ b/tools/generate-fhir/src/generate-schema.ts @@ -343,7 +343,6 @@ async function parseProp( data, ) { let [parent, prop] = path.split('.'); - const rawProp = prop; // TODO skip if multiple dots if (/\[x\]/.test(prop)) { @@ -368,7 +367,7 @@ async function parseProp( const def: PropDef = {}; // Keep primitive props - const isExtensionChild = rawProp === 'extension'; + const isExtensionChild = prop === 'extension'; const hasSlice = !!data.sliceName; const parentTypes = schema.props[parent].type || []; const isPrimitiveParent = diff --git a/tools/generate-fhir/test/generate-code.test.ts b/tools/generate-fhir/test/generate-code.test.ts index 04385cb3bd..43669f17e1 100644 --- a/tools/generate-fhir/test/generate-code.test.ts +++ b/tools/generate-fhir/test/generate-code.test.ts @@ -68,7 +68,7 @@ const generateBuilder = (resourceType: any, props: any) => { return profiles[resourceType]; }; -run('sets resourceType', t => { +test.serial('sets resourceType', t => { const profile = {}; const schema = generateBuilder('Patient', profile); const builder = compileBuilder(schema); @@ -76,7 +76,7 @@ run('sets resourceType', t => { t.is(result.resourceType, 'Patient'); }); -run('spreads unknown props through', t => { +test.serial('spreads unknown props through', t => { const profile = {}; const schema = generateBuilder('Patient', profile); const builder = compileBuilder(schema); @@ -85,7 +85,7 @@ run('spreads unknown props through', t => { t.is(result.customField, 42); }); -run('isArray wraps a single value into an array', t => { +test.serial('isArray wraps a single value into an array', t => { const profile = { x: { type: ['Reference'], isArray: true }, }; @@ -96,7 +96,7 @@ run('isArray wraps a single value into an array', t => { t.is(dt.reference.calls, 1); }); -run('isArray keeps an existing array as-is', t => { +test.serial('isArray keeps an existing array as-is', t => { const profile = { x: { type: ['Reference'], isArray: true }, }; @@ -108,7 +108,7 @@ run('isArray keeps an existing array as-is', t => { t.is(dt.reference.calls, 1); }); -run('calls dt.identifier for Identifier type', t => { +test.serial('calls dt.identifier for Identifier type', t => { const profile = { identifier: { type: ['Identifier'] }, }; @@ -119,7 +119,7 @@ run('calls dt.identifier for Identifier type', t => { t.is(dt.identifier.calls, 1); }); -run('builds single reference', t => { +test.serial('builds single reference', t => { const profile = { x: { type: ['Reference'] }, }; @@ -130,7 +130,7 @@ run('builds single reference', t => { t.is(dt.reference.calls, 1); }); -run('builds CodeableConcept', t => { +test.serial('builds CodeableConcept', t => { const profile = { x: { type: ['CodeableConcept'], @@ -144,7 +144,7 @@ run('builds CodeableConcept', t => { t.is(dt.concept.calls, 1); }); -run('builds composite value[x]', t => { +test.serial('builds composite value[x]', t => { const profile = { deceased: { type: ['boolean'], isComposite: true }, }; @@ -156,7 +156,7 @@ run('builds composite value[x]', t => { t.is(dt.composite.calls, 1); }); -run('builds typeDef with nested extension', t => { +test.serial('builds typeDef with nested extension', t => { const profile = { contact: { type: ['BackboneElement'], @@ -177,7 +177,7 @@ run('builds typeDef with nested extension', t => { t.is(dt.addExtension.calls, 1); }); -run('builds primitive sibling extension from underscored slice input', t => { +test.serial('builds primitive sibling extension from underscored slice input', t => { const profile = { birthDate: { type: ['date'], @@ -209,7 +209,7 @@ run('builds primitive sibling extension from underscored slice input', t => { t.is(dt.addExtension.calls, 1); }); -run('builds primitive sibling extension from underscored parent shorthand', t => { +test.serial('builds primitive sibling extension from underscored parent shorthand', t => { const profile = { birthDate: { type: ['date'], @@ -240,7 +240,7 @@ run('builds primitive sibling extension from underscored parent shorthand', t => t.is(dt.addExtension.calls, 1); }); -run('skips nil properties', t => { +test.serial('skips nil properties', t => { const profile = { x: { type: ['Reference'] }, }; From 976e9eebf50aa4ae2747a289ab7254bfe9897e64 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Wed, 27 May 2026 20:11:52 +0300 Subject: [PATCH 04/10] feat: update fhir-eswatini Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 2 +- .../src/profiles/SzAppointment.ts | 38 +- .../src/profiles/SzCauseOfDeath.ts | 56 +- .../src/profiles/SzClinicalObservation.ts | 56 +- .../fhir-eswatini/src/profiles/SzCondition.ts | 42 +- .../fhir-eswatini/src/profiles/SzEncounter.ts | 54 +- .../src/profiles/SzEpisodeOfCare.ts | 32 +- .../src/profiles/SzLabRequest.ts | 60 +- .../fhir-eswatini/src/profiles/SzLabResult.ts | 58 +- .../src/profiles/SzLabSpecimen.ts | 34 +- .../fhir-eswatini/src/profiles/SzLocation.ts | 34 +- .../src/profiles/SzMannerOfDeath.ts | 54 +- .../src/profiles/SzMedication.ts | 24 +- .../src/profiles/SzMedicationDispense.ts | 54 +- .../src/profiles/SzMedicationRequest.ts | 60 +- .../src/profiles/SzOrganization.ts | 26 +- .../fhir-eswatini/src/profiles/SzPatient.ts | 67 +- .../src/profiles/SzPractitioner.ts | 26 +- .../fhir-eswatini/src/profiles/SzProcedure.ts | 62 +- .../fhir-eswatini/src/profiles/SzReferral.ts | 64 +- .../src/profiles/SzVitalSigns.ts | 56 +- .../test/resources/Patient.test.ts | 2 +- packages/fhir-eswatini/types/builders.d.ts | 794 ++++++++++++++++-- packages/fhir-eswatini/types/datatypes.d.ts | 10 - 24 files changed, 1204 insertions(+), 561 deletions(-) delete mode 100644 packages/fhir-eswatini/types/datatypes.d.ts diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index dd33a754aa..9dc64e0ac2 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -15,7 +15,7 @@ "type": "module", "fhir": { "specUrl": "http://172.209.216.154/definitions.json.zip", - "adaptorGeneratedDate": "2026-05-26T12:39:06.711Z", + "adaptorGeneratedDate": "2026-05-27T16:44:13.281Z", "generatorVersion": "0.7.8", "options": {} }, diff --git a/packages/fhir-eswatini/src/profiles/SzAppointment.ts b/packages/fhir-eswatini/src/profiles/SzAppointment.ts index f15e12fd7b..97fe518619 100644 --- a/packages/fhir-eswatini/src/profiles/SzAppointment.ts +++ b/packages/fhir-eswatini/src/profiles/SzAppointment.ts @@ -4,41 +4,41 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Appointment_SzAppointment_Props = { - appointmentType?: CodeableConcept; - basedOn?: Reference[]; - cancelationReason?: CodeableConcept; + appointmentType?: FHIR.CodeableConcept; + basedOn?: FHIR.Reference[]; + cancelationReason?: FHIR.CodeableConcept; comment?: string; contained?: any[]; created?: string; description?: string; end?: string; - extension?: Extension[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - meta?: Meta; + meta?: FHIR.Meta; minutesDuration?: number; - modifierExtension?: Extension[]; - participant?: BackboneElement[]; + modifierExtension?: FHIR.Extension[]; + participant?: FHIR.BackboneElement[]; patientInstruction?: string; priority?: number; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - requestedPeriod?: Period[]; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - slot?: Reference[]; - specialty?: CodeableConcept[]; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + requestedPeriod?: FHIR.Period[]; + serviceCategory?: FHIR.CodeableConcept[]; + serviceType?: FHIR.CodeableConcept[]; + slot?: FHIR.Reference[]; + specialty?: FHIR.CodeableConcept[]; start?: string; status?: string; - supportingInformation?: Reference[]; - text?: Narrative; + supportingInformation?: FHIR.Reference[]; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts b/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts index e1c0ecc319..91b22b99eb 100644 --- a/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts +++ b/packages/fhir-eswatini/src/profiles/SzCauseOfDeath.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Observation_SzCauseOfDeath_Props = { - basedOn?: Reference[]; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; - code?: CodeableConcept; - component?: BackboneElement[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept; + category?: FHIR.CodeableConcept[]; + code?: FHIR.CodeableConcept; + component?: FHIR.BackboneElement[]; contained?: any[]; - dataAbsentReason?: CodeableConcept; - derivedFrom?: Reference[]; - device?: Reference; - effective?: string | Period | Timing; - encounter?: Reference; - extension?: Extension[]; - focus?: Reference[]; - hasMember?: Reference[]; + dataAbsentReason?: FHIR.CodeableConcept; + derivedFrom?: FHIR.Reference[]; + device?: FHIR.Reference; + effective?: string | FHIR.Period | FHIR.Timing; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focus?: FHIR.Reference[]; + hasMember?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - interpretation?: CodeableConcept[]; + interpretation?: FHIR.CodeableConcept[]; issued?: string; language?: string; - meta?: Meta; - method?: CodeableConcept; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: Reference[]; - referenceRange?: BackboneElement[]; - specimen?: Reference; + meta?: FHIR.Meta; + method?: FHIR.CodeableConcept; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.Reference[]; + referenceRange?: FHIR.BackboneElement[]; + specimen?: FHIR.Reference; status?: string; - subject?: Reference; - text?: Narrative; - value?: CodeableConcept; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + value?: FHIR.CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts b/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts index 34fe558682..18b68bb6cb 100644 --- a/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts +++ b/packages/fhir-eswatini/src/profiles/SzClinicalObservation.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Observation_SzClinicalObservation_Props = { - basedOn?: Reference[]; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; - code?: CodeableConcept; - component?: BackboneElement[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept; + category?: FHIR.CodeableConcept[]; + code?: FHIR.CodeableConcept; + component?: FHIR.BackboneElement[]; contained?: any[]; - dataAbsentReason?: CodeableConcept; - derivedFrom?: Reference[]; - device?: Reference; - effective?: string | Period | Timing; - encounter?: Reference; - extension?: Extension[]; - focus?: Reference[]; - hasMember?: Reference[]; + dataAbsentReason?: FHIR.CodeableConcept; + derivedFrom?: FHIR.Reference[]; + device?: FHIR.Reference; + effective?: string | FHIR.Period | FHIR.Timing; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focus?: FHIR.Reference[]; + hasMember?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - interpretation?: CodeableConcept[]; + interpretation?: FHIR.CodeableConcept[]; issued?: string; language?: string; - meta?: Meta; - method?: CodeableConcept; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: Reference[]; - referenceRange?: BackboneElement[]; - specimen?: Reference; + meta?: FHIR.Meta; + method?: FHIR.CodeableConcept; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.Reference[]; + referenceRange?: FHIR.BackboneElement[]; + specimen?: FHIR.Reference; status?: string; - subject?: Reference; - text?: Narrative; - value?: Quantity | CodeableConcept | string | boolean | number | Range | Ratio | SampledData | Period; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + value?: FHIR.Quantity | FHIR.CodeableConcept | string | boolean | number | FHIR.Range | FHIR.Ratio | FHIR.SampledData | FHIR.Period; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzCondition.ts b/packages/fhir-eswatini/src/profiles/SzCondition.ts index 4dbc3f6fe4..e110ff2fd1 100644 --- a/packages/fhir-eswatini/src/profiles/SzCondition.ts +++ b/packages/fhir-eswatini/src/profiles/SzCondition.ts @@ -4,36 +4,36 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Condition_SzCondition_Props = { - abatement?: string | Age | Period | Range; - asserter?: Reference; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - clinicalStatus?: CodeableConcept; - code?: CodeableConcept; + abatement?: string | FHIR.Age | FHIR.Period | FHIR.Range; + asserter?: FHIR.Reference; + bodySite?: FHIR.CodeableConcept[]; + category?: FHIR.CodeableConcept[]; + clinicalStatus?: FHIR.CodeableConcept; + code?: FHIR.CodeableConcept; contained?: any[]; - encounter?: Reference; - evidence?: BackboneElement[]; - extension?: Extension[]; + encounter?: FHIR.Reference; + evidence?: FHIR.BackboneElement[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; onset?: string; recordedDate?: string; - recorder?: Reference; - severity?: CodeableConcept; - stage?: BackboneElement[]; - subject?: Reference; - text?: Narrative; - verificationStatus?: CodeableConcept; + recorder?: FHIR.Reference; + severity?: FHIR.CodeableConcept; + stage?: FHIR.BackboneElement[]; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + verificationStatus?: FHIR.CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzEncounter.ts b/packages/fhir-eswatini/src/profiles/SzEncounter.ts index 247e0d4a16..b824626a04 100644 --- a/packages/fhir-eswatini/src/profiles/SzEncounter.ts +++ b/packages/fhir-eswatini/src/profiles/SzEncounter.ts @@ -4,42 +4,42 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Encounter_SzEncounter_Props = { - account?: Reference[]; - appointment?: Reference[]; - basedOn?: Reference[]; + account?: FHIR.Reference[]; + appointment?: FHIR.Reference[]; + basedOn?: FHIR.Reference[]; class?: "OPD" | "IPD" | "CO" | "SO" | "Outpatient Department" | "Inpatient Department" | "Community Outreach" | "Schools Outreach"; - classHistory?: BackboneElement[]; + classHistory?: FHIR.BackboneElement[]; contained?: any[]; - diagnosis?: BackboneElement[]; - episodeOfCare?: Reference[]; - extension?: Extension[]; - hospitalization?: BackboneElement; + diagnosis?: FHIR.BackboneElement[]; + episodeOfCare?: FHIR.Reference[]; + extension?: FHIR.Extension[]; + hospitalization?: FHIR.BackboneElement; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - length?: Duration; - location?: BackboneElement[]; - meta?: Meta; - modifierExtension?: Extension[]; - partOf?: Reference; - participant?: BackboneElement[]; - period?: Period; - priority?: CodeableConcept; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - serviceProvider?: Reference; - serviceType?: CodeableConcept; + length?: FHIR.Duration; + location?: FHIR.BackboneElement[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + partOf?: FHIR.Reference; + participant?: FHIR.BackboneElement[]; + period?: FHIR.Period; + priority?: FHIR.CodeableConcept; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + serviceProvider?: FHIR.Reference; + serviceType?: FHIR.CodeableConcept; status?: string; - statusHistory?: BackboneElement[]; - subject?: Reference; - text?: Narrative; - type?: CodeableConcept[]; + statusHistory?: FHIR.BackboneElement[]; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + type?: FHIR.CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts b/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts index d54cba34ed..30d2ff3324 100644 --- a/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts +++ b/packages/fhir-eswatini/src/profiles/SzEpisodeOfCare.ts @@ -4,30 +4,30 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type EpisodeOfCare_SzEpisodeOfCare_Props = { - account?: Reference[]; - careManager?: Reference; + account?: FHIR.Reference[]; + careManager?: FHIR.Reference; contained?: any[]; - diagnosis?: BackboneElement[]; - extension?: Extension[]; + diagnosis?: FHIR.BackboneElement[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - managingOrganization?: Reference; - meta?: Meta; - modifierExtension?: Extension[]; - patient?: Reference; - period?: Period; - referralRequest?: Reference[]; + managingOrganization?: FHIR.Reference; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + patient?: FHIR.Reference; + period?: FHIR.Period; + referralRequest?: FHIR.Reference[]; status?: string; - statusHistory?: BackboneElement[]; - team?: Reference[]; - text?: Narrative; + statusHistory?: FHIR.BackboneElement[]; + team?: FHIR.Reference[]; + text?: FHIR.Narrative; type?: "tbds" | "tbdr" | "anc" | "fp" | "art" | "prep" | "TB DS" | "TB DR" | "ANC" | "Family Planning" | "ART" | "PrEP"; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabRequest.ts b/packages/fhir-eswatini/src/profiles/SzLabRequest.ts index 11820590ad..e082a43468 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabRequest.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabRequest.ts @@ -4,52 +4,52 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type ServiceRequest_SzLabRequest_Props = { - asNeeded?: boolean | CodeableConcept; + asNeeded?: boolean | FHIR.CodeableConcept; authoredOn?: string; - basedOn?: Reference[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept[]; + category?: FHIR.CodeableConcept[]; code?: "CD4" | "AST" | "CREA" | "HB" | "LFT" | "HIVVL" | "ICUP" | "GGT" | "KFT" | "CARDE" | "ART" | "ELECT" | "GLUCF" | "GLUCR" | "GTT" | "CL" | "K" | "NA" | "CO2" | "UA" | "CREAC" | "TBIL" | "BILI" | "ALP" | "ALT" | "ALB" | "TPROT" | "CK" | "CKMB" | "MYOG" | "TROPI" | "MAG" | "PO4" | "CAL" | "LDH" | "TRIG" | "LDL" | "HDL" | "CHOL" | "AMY" | "LACT" | "CRP" | "LIPAS" | "HBA1C" | "M-TP" | "FBC" | "DIFF" | "ESR" | "RET" | "COOMB" | "SICKL" | "MAL" | "MALPC" | "MALS" | "PT" | "APTT" | "PI" | "BTIME" | "DDIME" | "TFT" | "T3" | "T4" | "TSH" | "LH" | "FSH" | "E2" | "PROG" | "PRL" | "TESTO" | "CORT" | "PTH" | "HCGSU" | "HCGSB" | "ABORH" | "RPR" | "TPHA" | "PSSA" | "BHCG" | "AFP" | "CA153" | "CA125" | "CEA" | "CA199" | "GRAM" | "MCSF" | "CSF" | "CRINK" | "SEMEN" | "HIVR" | "HIVE" | "HIPOC" | "LCRAG" | "TOXO" | "HELIP" | "HEAG" | "HBCAB" | "HEPC" | "QCRPR" | "WIDAL" | "RF" | "ASOT" | "XMAT" | "HLAX" | "ANISC" | "DCT" | "ICT" | "IGGS" | "ZN1" | "CUBFL" | "HIVGE" | "TROPT" | "UCHEM" | "CRAG" | "CRGLF" | "TBLAM" | "17OPH" | "A1ATR" | "ACA" | "ACE" | "ACERA" | "ACLA" | "ACOLA" | "ACTH" | "ADENO" | "ADNA" | "ALDOS" | "AMITA" | "AMYU" | "ANA" | "ANCA" | "ANDRO" | "ANTBG" | "ANTE" | "AUR1" | "AUR2" | "AUR3" | "AUR4" | "BFCC" | "BG" | "BGAS" | "BGRP" | "BHCG2" | "BM" | "BNP" | "BPARA" | "BPARM" | "C/UP" | "C1EST" | "CA724" | "CAERU" | "CALCI" | "CALCT" | "CARB" | "CATS" | "CHLAM" | "CMP" | "CMV" | "CPEPT" | "CPROT" | "CRPS" | "CSFA" | "CSFAG" | "CSFC" | "CUCSF" | "CULFU" | "CULMY" | "CULPU" | "CULSP" | "CUTUP" | "CYTCO" | "DBILI" | "DBSGE" | "DCRT" | "DIFFM" | "DIFFF" | "DRUGR" | "DRUGS" | "E2M" | "EQAM1" | "FDP" | "FE" | "FERR" | "FERRX" | "FGLU" | "FNA" | "FPROT" | "GLOB" | "GLUC" | "GLUCS" | "GNBST" | "GPCST" | "GROUP" | "GTT2" | "GTT4" | "GYN" | "GYNAE" | "HBELE" | "HBSAB" | "HBSAG" | "HELIC" | "HEPAG" | "HEPAM" | "HEPD" | "HEPE" | "HERP" | "HGH" | "HI2DF" | "HISIN" | "HISSU" | "HISTO" | "HISTX" | "HIV48" | "HIVA" | "HIVC" | "HIVCW" | "HIVLD" | "HIVPC" | "HIVP" | "HIVST" | "HIVWB" | "HSAGR" | "HSV" | "HVART" | "HYS" | "ICD10" | "IGE" | "INR" | "IRONX" | "LALB" | "LCHOL" | "LCOT" | "LCREA" | "LESR" | "LFBC" | "LGGT" | "LGLPF" | "LGLPR" | "LGLUF" | "LGLUR" | "LHBA1" | "LHDL" | "LI" | "LIPO" | "LRF" | "LUPUS" | "LUR" | "MALB" | "MBCAT" | "MBCLT" | "MBFAM" | "MBFAS" | "MBFCA" | "MBFL" | "MBFLU" | "MBFPE" | "MBFPL" | "MBFSY" | "MBTRA" | "MBUCT" | "MBUMC" | "MCES" | "MEAS" | "MENDC" | "MEYE" | "MGAS" | "MICBC" | "MICFL" | "MICNS" | "MICSA" | "MICTS" | "MICU" | "MONO" | "MPEN" | "MPT64" | "MPUS" | "MRCSW" | "MSPUT" | "MSTRS" | "MTISS" | "MUMPS" | "MUPS" | "MWUS" | "MYGT" | "MYMIC" | "MYOB" | "NGYN" | "MFOB" | "PARA" | "PBILI" | "PBS" | "PCRAP" | "PCTR" | "PHENB" | "PHENY" | "PHVS" | "PLAT" | "PM" | "POLIO" | "POSTM" | "POSTX" | "PRD" | "PROT" | "PRT24" | "PSA" | "PTT" | "RA" | "RAPI2" | "RCCHE" | "RH" | "ROTA" | "ROTPC" | "RUB" | "SADA" | "SCREA" | "SEICU" | "SENFA" | "SENGN" | "SENGP" | "SENSA" | "SENST" | "SENSU" | "SHBG" | "STDM" | "STOOL" | "TBA1" | "TBA2" | "TBA3" | "TBBA" | "TBCL" | "TBCL1" | "TBCL2" | "TBCL3" | "TBCON" | "TBEQA" | "TBGEN" | "TBHCG" | "TBILI" | "TBINF" | "TBLP1" | "TBLP2" | "TBLP3" | "TBLP" | "TBLPS" | "TBLSF" | "TBPC1" | "TBPC2" | "TBPC3" | "TBRAP" | "TBRP1" | "TBRP2" | "TBRP3" | "TBSF1" | "TBSF2" | "TBSF3" | "TBSFF" | "TBSS" | "TBSS2" | "TBSS3" | "TBSSF" | "TBZ" | "TBZ1" | "TBZ2" | "TBZ3" | "TBZN" | "TBZN1" | "TBZN2" | "TBZN3" | "THCGB" | "TT3" | "TTA" | "LURIC" | "UBHCG" | "UBJP" | "UCREA" | "UCUL" | "UE" | "UECA" | "UECA+" | "UMAC" | "UMIC" | "UPREG" | "UPROT" | "UREA" | "VALPR" | "VDRL" | "VLPOC" | "VMAC" | "VZV" | "WBCP" | "WCC" | "WF" | "YELLO" | "ZN" | "ZN2" | "ZN3" | "TBSF" | "QHCG" | "CVID" | "CVRP" | "MEASL" | "CD4 Test" | "AST (Aspartate Transaminase)" | "Creatinine " | "Haemoglobin" | "Liver Function Tests - Profile" | "HIV Viral Load (Plasma)" | "ICU- Profile" | "Gamma-Glutamyl Transferase GGT" | "Kidney Function Test - Profile" | "Cardiac Enzymes" | "ART Baseline - Profile" | "Electrolytes - Profile" | "Glucose (Fasting)" | "Glucose (Random)" | "Glucose Tolerance Test" | "S-Chloride" | "S-Potassium" | "S-Sodium" | "S-Carbon Dioxide" | "Uric Acid" | "Creatinine Clearance" | "Total Bilirubin" | "Total and Direct Bilirubin" | "Alkaline Phosphatase" | "ALT (Alanine Aminotransferase)" | "Albumin" | "Total Protein" | "Creatine Kinase (CK)" | "Creatine Kinase (MB-Frac)" | "Myoglobin" | "S-Troponin I" | "S-Magnesium" | "Phosphate" | "S-Calcium" | "Lactate Dehydrogenase (LD)" | "Triglyceride" | "LDL - Cholesterol" | "HDL - Cholesterol" | "Total Cholesterol" | "Serum Amylase" | "Lactate" | "C-Reactive Protein (CRP)" | "Lipase (Serum)" | "Glycated Haemoglobin (HbA1C)" | "Micro Total Protein" | "FBC (Full Blood Count)" | "Differential Count" | "ESR (Westergren)" | "Reticulocyte Studies" | "Coombs Test" | "Sickle Cells Screen" | "Malaria" | "Malaria: PCR" | "Malaria Smear: Parasitemia" | "Prothrombin Time(INR/PI)" | "Partial Thromboplastin Time" | "Prothrombin Time (INR/PI)" | "Bleeding Time" | "D-Dimer" | "Thyroid Function Tests " | "Free Tri-iodothyronine (FT3)" | "Free Thyroxine (T4)" | "Thyroid Stimulating Hormone" | "Luteinising Hormone" | "Follicle Stimulating Hormone" | "17 b Oestradial (E2)" | "Progesterone" | "Prolactin" | "Testosterone" | "Cortisol" | "Parathyroid Hormone" | "Qualitative -HCG (Urine)" | "Qualitative  -HCG" | "ABO + Rh Group" | "Syphilis RPR" | "TPHA" | "ANTIBIOTIC SENS: PSA" | "Beta-HCG (Pregnancy Test)" | "Alfa Feto Protein" | "CA15-3" | "CA125" | "Carcino-embryonic Antigen" | "CA19-9" | "MICROBIOLOGY : GRAM STAIN" | "MICROBIOLOGY : CSF" | "CSF Chem Profile" | "India Ink Stain" | "Semen Analysis" | "HIV Rapid Test" | "HIV ELISA" | "Point of Care DNA PCR" | "LFA Cryptococal Antigen" | "Toxoplasmosis Test" | "MICROBIOLOGY : H.pylori" | "Hepatitis A IgG" | "Hepatitis B Core Antibodies" | "Hepatitis C Antibodies" | "QC RPR" | "Widal" | "Rheumatoid Factor" | "Anti-Streptolysin O Test" | "Cross Match" | "Grouping/Crossmatch" | "Antibody Screening (^Bbloodban" | "Direct Coombs Test" | "Indirect Coomb's Test" | "IMMUNOGLOBULINS" | "Smear Microscopy 1" | "Culture : Body Fuilds" | "HIV GENE XPERT" | "Troponin-T" | "Biochemistry : Urine (Dipstick)" | "CRAG (CSF)" | "CRAG (LFA) Blood" | "TB LAM Ag TEST" | "17 Hydroxyprogesterone" | "Alpha-1-antitrypsin" | "Anti-Centromere Antibodies" | "Angiotensin Converting Enzyme" | "Acetylcholine Receptor Ab's" | "Anti-Cardiolipin Antibodies" | "Anti-Collagen Antibodies" | "Adrenocorticotrophic Hormone" | "ADENO" | "Anti-Double Stranded DNA" | "Aldosterone" | "Anti-Mitochondrial Antibodies" | "Urine Amylase" | "Anti-Nuclear Antibodies" | "Anti-Neutrophil Cytoplasmic Ab" | "Androstenedione" | "Blood Group + Rh" | "Antenatal Screening" | "TB Auramine Specimen 1" | "TB Auramine Specimen 2" | "TB Auramine Specimen 3" | "TB Auramine Specimen 4" | "Cell Count : Body Fluid" | "Blood Group + Rh" | "Blood Gases" | "Blood grouping" | "HCG TOTAL BETA 2" | "Bone Marrow Report" | "B-Type Natriuretic Peptide" | "Blood Parasite Investigation" | "Blood Parasites" | "Cutup" | "C1 Esterase Inhibitor Assay" | "CA 72-4" | "Caeruloplasmin" | "Calcitonin" | "1.25 Dihydroxy Vitamin D" | "S-Carbamazepine" | "U-Catecholamines" | "Antibody test for Chlamydia" | "Calcium,Magnesium,PO4" | "CYTOMEGALOVIRUS" | "C-Peptide" | "CSF PROTEIN" | "CRP Serology" | "CSF Analysis" | "BACTERIAL ANTIGEN TESTS" | "Cell Count : CSF" | "CULTURE : CSF" | "MYCOLOGY" | "Mycology Culture" | "Culture : PUS" | "Culture : Sputum" | "Histo Cut Up (Dummy)" | "Gynaecological Detail" | "Conjugated Bilirubin (Direct)" | "Dry Blood Spot Gene Xpert" | "1:20 Diluted CRT" | "Differential Count" | "Diff Micro" | "Drug Resistance Testing" | "DRUG SCREEN" | "Oestradiol" | "Microbiology EQA" | "Fibrinogen Deg. Products (FDP)" | "S-Iron" | "Ferritin" | "S-Ferritin" | "Fluid-Glucose" | "Fine Needle Biopsy" | "F-Total Protein" | "Globulin" | "Glucose" | "Glucose Strip" | "GNB Sensitivity Testing" | "GPC Sensitivity testing" | "Blood Group Serology" | "GTT - 2 hourly" | "GTT Prolonged" | "Gynaecological Cytology" | "MICROSCOPIC EXAMINATION" | "Haemoglobin Electrophoresis" | "Hepatitis B Surface Antibody" | "Hepatitis B Surface Antigen" | "Helicobacter pylori Antibodies" | "Hepatitis A (IgG)(Immunity)" | "Hepatitis A IgM" | "HEPATITIS D INVESTIGATION" | "HEPATITIS E INVESTIGATION" | "Herpes simplex virus" | "Human Growth Hormone" | "HIV Viral Load (DBS)" | "CLINICAL HISTORY" | "Supplementary Report" | "MACROSCOPIC EXAMINATION" | "Histo Extended text" | "CD4 + CD8*" | "HIV ASANTE" | "HIV Ag/Ab Combo" | "Child Welfare Number" | "HIV Viral Load*" | "HIV DNA PCR" | "HIV RAPID TEST" | "HIV EID Information" | "HIV DNA PCR : Whole Blood" | "HepB surface antigen Rapid" | "Herpes simplex Virus" | "ART Number" | "Homocysteine" | "ICD10" | "Total IgE" | "INR" | "S-IRON STUDIES" | "ALBUMIN" | "S-Cholesterol" | "Cotinine ELISA" | "Creatinine" | "ESR (Westergren)" | "Full Blood Count" | "Gamma Glutamyl Transferase" | "P-Glucose (Fasting)" | "P-Glucose (Random)" | "S-Glucose (Fasting)" | "S-Glucose (Random)" | "HbA1C" | "HDL Cholesterol" | "S-Lithium" | "Lipogram" | "Rheumatoid factor" | "Lupus anticoagulant" | "Urea" | "Micro-albumin" | "Microbiology: Catheter Tip" | "Microbiology: Catheter Line Ti" | "MICROBIOLOGY:AMNIOTIC FLUID" | "MICROBIOLOGY : ASCITIC FLUID" | "MICROBIOLOGY:PERICARDIAL FLUID" | "Microbiology:Body Fluid" | "Microbiology:Body Fluid" | "MICROBIOLOGY:PERITONEAL FLUID" | "MICROBIOLOGY:PLEURAL FLUID" | "MICROBIOLOGY:SYNOVIAL FLUID" | "Microbiology: Tracheal Tip" | "Microbiology: Urinary Catheter" | "Microbiology:Umbilical Cathete" | "MICROBIOLOGY : CERVICAL SWAB" | "MICROBIOLOGY : EAR SWAB" | "MICROBIOLOGY:ENDOCERVICAL SWAB" | "MICROBIOLOGY : EYE SWAB" | "MICROBIOLOGY : GASTRIC ASP" | "MICROBIOLOGY: BLOOD CULTURE" | "MICROBIOLOGY : FLUID" | "MICROBIOLOGY : NASAL SWAB" | "Microscopy - Sexual Assault" | "MICROBIOLOGY : THROAT SWAB" | "MICROBIOLOGY: URINE" | "Epstein Barr Ser-Mono Test" | "MICROBIOLOGY : PENILE SWAB" | "MPT64 Rapid" | "MICROBIOLOGY : PUS" | "MICROBIOLOGY : RECTAL SWAB" | "MICROBIOLOGY : SPUTUM" | "MICROBIOLOGY : STOOL CULTURE" | "MICROBIOLOGY : TISSUE" | "Mumps Serology (ELISA)" | "MICROBIOLOGY : URETHRAL SWAB" | "MICROBILOLOGY: Wound Swab" | "Germ Tube Test" | "Microscopy for Fungi" | "Myogloblin (Serum)" | "Non-Gynaecological Cytology" | "Faecal Occult Blood" | "Parasitology:Urine" | "Neonatal Bilirubin" | "Peripheral Blood Smear" | "Factor V Leiden Mutation" | "Procalcitonin" | "Phenobarbitone" | "S-Phenytoin" | "PARASITOLOGY: VAGINAL SWAB" | "Platelets" | "Post-Mortem Examination" | "Polio Neutralisation Serology" | "POST MORTEM REPORT" | "Postmorten Supplement" | "Pregnandiol" | "Total Protein & Albumin" | "Urine Protein (24 hr)" | "Prostate Specific Antigen" | "Part Thromboplastin Time (PTT)" | "RA Latex Test" | "HIV Rapid Repeat" | "Cholinesterase" | "RHESUS FACTOR" | "Rotavirus Antigen EIA Test" | "Rotavirus: PCR" | "Rubella Serology" | "Adenosine Deaminase" | "Creatinine Clearance" | "SENS ICU" | "ANTIBIOTIC SUSCEPTIBILITY" | "ANTIBIOTIC SENS: GN" | "ANTIBIOTIC SENS: GP" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: URINE" | "Sex Hormone Binding Globulin" | "Direct Microscopy : Stool" | "Stool Microscopy" | "TB Microscopy Auramine 1" | "TB Microscopy Auramine 2" | "TB Microscopy Specimen 3" | "TB Blood Agar (TB Nat Ref)" | "TB Culture" | "TB Culture 1" | "TB Culture 2" | "TB Culture 3" | "TB Control" | "TB EQA" | "TB Genexpert" | "S-HCG Total Beta" | "S-Total Bilirubin" | "TB Diagnosis Information" | "TB Line Probe SP1" | "TB Line Probe SP2" | "TB Line Probe SP3" | "TB First Line -Line Probe Assay" | "TB Second Line -Line Probe Assay" | "2nd Line Probe Assay Final" | "TB PCR Specimen 1" | "TB PCR Specimen 2" | "TB PCR Specimen 3" | "TB Capilia Rapid Test" | "TB Capilia Rapid ID Test SP1" | "TB Capilia Rapid ID Test SP2" | "TB Capilia Rapid ID Test SP3" | "TB First Line Sens 1" | "TB First Line Sens 2" | "TB First Line Sens 3" | "TB First Line Sens Final" | "TB Second Line DST" | "TB Seconde Line Sens 2" | "TB Seconde Line Sens 3" | "TB Second Line Final" | "TBZN TB National Ref Lab" | "TB Direct Microscopy Spec. 1" | "TB Direct Microscopy Spec. 2" | "TB Direct Microscopy Spec. 3" | "TB Smear Microscopy" | "TBZN SP1" | "TBZN SP2" | "TBZN SP3" | "S-TOTAL HCG Beta" | "Total Tri-iodothyronine (TT3)" | "Tetanus Serology" | "Uric Acid" | "Urine Beta-HCG (Preg Test)" | "Urine Bence Jones Protein" | "Creatine Clearance" | "CULTURE : Urine" | "Urea & electrolytes" | "Urea, Electrolytes & Creatinin" | "Urea, Elec, Creat & eGFR" | "MACROSCOPY : Urine" | "MICROSCOPY : Urine" | "Urine Pregnancy Test" | "Total Protein (Urine)" | "Urea" | "S-Valproate" | "VDRL" | "HIV VIRAL LOAD (POC)" | "Vanillylmandelic Acid" | "VARICELLA-ZOSTER SEROLOGY" | "White Cell Count + Platelets" | "White Cell Count" | "WEIL FELIX" | "Yellow Fever" | "TBZN" | "Smear Microscopy 2" | "TBZN Specimen 3" | "TB First Line DST" | "Quantitative Beta-HCG (Blood)" | "PCR SARS-CoV-2" | "COVID-19 Ag Rapid Test" | "Measles"; contained?: any[]; doNotPerform?: boolean; - encounter?: Reference; - extension?: Extension[]; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: Reference[]; + insurance?: FHIR.Reference[]; intent?: string; language?: string; - locationCode?: CodeableConcept[]; - locationReference?: Reference[]; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - occurrence?: string | Period | Timing; - orderDetail?: CodeableConcept[]; + locationCode?: FHIR.CodeableConcept[]; + locationReference?: FHIR.Reference[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + occurrence?: string | FHIR.Period | FHIR.Timing; + orderDetail?: FHIR.CodeableConcept[]; patientInstruction?: string; - performer?: Reference[]; - performerType?: CodeableConcept; + performer?: FHIR.Reference[]; + performerType?: FHIR.CodeableConcept; priority?: string; - quantity?: Quantity | Ratio | Range; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - relevantHistory?: Reference[]; - replaces?: Reference[]; - requester?: Reference; - requisition?: Identifier; - specimen?: Reference[]; + quantity?: FHIR.Quantity | FHIR.Ratio | FHIR.Range; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + relevantHistory?: FHIR.Reference[]; + replaces?: FHIR.Reference[]; + requester?: FHIR.Reference; + requisition?: FHIR.Identifier; + specimen?: FHIR.Reference[]; status?: string; - subject?: Reference; - supportingInfo?: Reference[]; - text?: Narrative; + subject?: FHIR.Reference; + supportingInfo?: FHIR.Reference[]; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabResult.ts b/packages/fhir-eswatini/src/profiles/SzLabResult.ts index c09d7afd32..b0f8e994d3 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabResult.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabResult.ts @@ -4,45 +4,45 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Observation_SzLabResult_Props = { - authorizer?: Reference[]; - basedOn?: Reference[]; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; + authorizer?: FHIR.Reference[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept; + category?: FHIR.CodeableConcept[]; code?: "NIT" | "UG" | "UP" | "UPH" | "UBILI" | "UKET" | "ULEST" | "N/A" | "#BAND" | "#BASO" | "#EOS" | "#IG" | "#LYM" | "#META" | "#MONO" | "#MYEL" | "#NEUT" | "#PROM" | "%BJP" | "%BSAT" | "%HBA1" | "%SAT" | "17AHQ" | "1ST" | "2ND" | "A1ATR" | "A1CEL" | "A2CEL" | "ABAC" | "ABNO" | "ABO" | "ABRH" | "ABRH1" | "ABRH2" | "ABRH3" | "ABRH4" | "ACA" | "ACAS" | "ACEA" | "ACEAB" | "ACLA" | "ACLAG" | "ACLAM" | "ACOLA" | "ACTH" | "ACTHI" | "ACTHO" | "ADATE" | "ADENO" | "ADNA" | "ADNAM" | "ADNAR" | "ADNAS" | "AFB" | "AFP" | "AGHT" | "AHE" | "AHEAL" | "AHG" | "AK" | "AK1" | "ALDOQ" | "ALDOS" | "AMC" | "AMIK" | "AMITA" | "AMITT" | "AMOX" | "AMOX1" | "AMP" | "AMPHE" | "AMPIC" | "ANAH" | "ANCN" | "ANCP" | "ANDRS" | "ANION" | "ANTAB" | "ANTIA" | "ANTIB" | "ANTID" | "APCA" | "APP" | "APPEA" | "APPET" | "APPF" | "APPS" | "APTC" | "APTT" | "ARTN" | "ARTTX" | "ARVID" | "ARVO" | "ARVO1" | "ARVO2" | "ARVO3" | "ARVS" | "ARVT1" | "ARVT2" | "ARVT3" | "ASKMA" | "ASL" | "ASMA" | "ASOT" | "ASPR" | "AST" | "AUG" | "AUG1" | "B2GPG" | "B2GPM" | "BACET" | "BACT" | "SALB" | "BAND#" | "BAND%" | "BARB" | "BARES" | "BASA#" | "BASA%" | "BASO#" | "BASO%" | "BAUTO" | "BBCOM" | "BBTXT" | "BCEL" | "BCULT" | "BE" | "BENZO" | "BENZV" | "BG" | "BHCG2" | "BIOCH" | "BIRON" | "BLST#" | "BLST%" | "BMTXT" | "BPH" | "BPROC" | "BREAS" | "BROMS" | "BS1" | "BS2" | "BSA" | "BSCR1" | "BSCR2" | "BSCR3" | "BTFN" | "BTIME" | "BTNP" | "BTYPE" | "BUA" | "BV" | "C125B" | "C15-3" | "C1EI" | "C1ESC" | "C1ESI" | "C3" | "C4" | "C6" | "CA199" | "CA724" | "CABCO" | "CABFL" | "CABVA" | "CACOR" | "CAERU" | "CALCL" | "CALCN" | "CALCO" | "CANN" | "CANNQ" | "CAPIL" | "CAPP" | "CARB" | "CAREH" | "CASTS" | "CATSC" | "CATSO" | "CBAC" | "CCL" | "CCLEA" | "CCNT" | "CCOM" | "CCON" | "CCOO" | "CCREM" | "CCULT" | "CD3" | "CD3L" | "CD4" | "CD45" | "CD4L" | "CD8" | "CD8L" | "CEFAZ" | "CEFO1" | "CEFOT" | "CEFOX" | "CEFTA" | "CEPHA" | "CEPHR" | "CERYT" | "CGLOB" | "CGLU" | "CHEMC" | "CHEMF" | "CHEMH" | "CHEMO" | "CHEMU" | "CHILD" | "CHIST" | "CHLDN" | "CHLET" | "CHLLV" | "CHLO1" | "CHLOG" | "CHLOR" | "CHLPN" | "CHLPS" | "CHLTR" | "CHM" | "CHR" | "CIPR1" | "CIPRO" | "CLAR" | "CLIND" | "CLOD" | "CLODA" | "CLTR" | "CLTRE" | "CLUE" | "CMGFL" | "CMGVA" | "CMMFL" | "CMMVA" | "COCAI" | "COL" | "COLI" | "COLM" | "COM" | "COMAL" | "COMCL" | "CONCE" | "CONSE" | "COOMB" | "CORWC" | "COTR" | "COTR1" | "COTRI" | "COUN" | "COXVI" | "CPEP2" | "CPROT" | "CRES" | "CRINK" | "CRO" | "CROSM" | "CRP" | "CRPS" | "CRPT" | "CRYLF" | "CRYP" | "CRYST" | "CRYTI" | "CSOB" | "CTIME" | "CTITR" | "CTX" | "CTXT" | "CUTC" | "CUTP" | "CUTS" | "CWBC" | "CWTX" | "CYADE" | "CYADH" | "CYBGH" | "CYBGR" | "CYCYT" | "CYINF" | "CYINH" | "CYINT" | "CYNAH" | "CYNAT" | "CYNFH" | "CYNTH" | "CYRCH" | "CYREC" | "CYSS" | "CYSTS" | "CYTC" | "CYTCH" | "CYTLA" | "CYTLM" | "CYTNA" | "CYTPA" | "CYTPR" | "CYTTY" | "CYTXT" | "DATEP" | "DATEQ" | "DATER" | "DATET" | "DCC3" | "DCC3C" | "DCC3T" | "DCEA" | "DCIGA" | "DCIGG" | "DCIGM" | "DCIGT" | "DCOOH" | "DCOOM" | "DCOT" | "DCRT" | "DDATE" | "DDIME" | "DEATH" | "DHEAS" | "DIAMT" | "DIBN" | "DID" | "DIDA" | "DIFCN" | "DIGO2" | "DIGOX" | "DOA" | "DONG" | "DONN" | "DOXY" | "DOXY1" | "DPROT" | "DRSNO" | "DRTH" | "DRUGI" | "DTIME" | "DUR" | "DUVMA" | "E2" | "E2C" | "EBREA" | "ECOTH" | "ECOTR" | "ECURR" | "EDNAP" | "EEC" | "EFAVI" | "EGFRI" | "EIDCM" | "EIDCN" | "EIDCP" | "EIFS" | "EIFY" | "EMTRI" | "ENVPB" | "ENVPS" | "ENZYM" | "EOS#" | "EOS%" | "EOSA#" | "EOSA%" | "EOTHE" | "EPI" | "EPRE" | "EPRED" | "EPRER" | "EPRES" | "EQAC1" | "EQAC2" | "EQAC3" | "EQAC4" | "EQAC5" | "EQAHS" | "EQAHU" | "EQAMT" | "EQAN2" | "EQAN3" | "EQANP" | "EQAR1" | "EQAR2" | "EQAR3" | "EQAR4" | "EQAR5" | "EQAS1" | "EQAS2" | "EQASC" | "EQCAB" | "EQCAC" | "EQCDI" | "EQCLM" | "EQCPC" | "EQHCT" | "EQHGB" | "EQHPC" | "EQHPE" | "EQHPK" | "EQHPM" | "EQHSD" | "EQHST" | "EQMCH" | "EQMCN" | "EQMCV" | "EQMF2" | "EQMF3" | "EQMFA" | "EQMIC" | "EQMPC" | "EQPF" | "EQPLT" | "EQPO" | "EQRBC" | "EQRDW" | "EQSED" | "EQSLN" | "EQSP1" | "EQSP2" | "EQSP3" | "EQSS1" | "EQSS2" | "EQSS3" | "EQSS4" | "EQSS5" | "EQSS6" | "EQST" | "EQSTM" | "EQWB2" | "EQWB3" | "EQWBC" | "EQWC2" | "EQWC3" | "EQWCC" | "EREGA" | "ERSLT" | "ERTP" | "ERY" | "ERY1" | "ERYT" | "ERYTH" | "ESR" | "ESTBR" | "ESTOB" | "ETRAV" | "EXHYS" | "EXPD" | "EXSTD" | "FCLI" | "FEP" | "FERM2" | "FERM3" | "FERR" | "FERRM" | "FERRR" | "FERRX" | "FERX2" | "FHYS" | "FILAG" | "FINR" | "FLN" | "FLQNS" | "FOB" | "FPORI" | "FPORQ" | "FPROT" | "FRF" | "FROTA" | "FSHC" | "F-T3" | "F-T4" | "FUNGI" | "FWBC" | "G6PD" | "G6PDS" | "GCLUE" | "GCPRD" | "GELNO" | "GENO" | "GENT" | "GENT1" | "GENTA" | "GERMT" | "GL120" | "GL150" | "GL180" | "GL210" | "GL240" | "GL270" | "GL30" | "GL300" | "GL360" | "GL480" | "GL60" | "GL90" | "GLOB" | "GLUCS" | "GNB" | "GNC" | "GNCB" | "GNDC" | "GNPB" | "GPB" | "GPBB" | "GPC" | "GPCC" | "GPCCL" | "GPCP" | "GPDC" | "GPFB" | "GRAMS" | "GREPI" | "GRERY" | "GRWC" | "GTBA" | "GTDOS" | "GTXT" | "GVC" | "GVINC" | "GXRIF" | "GXTB" | "GXTBR" | "H2RL" | "H2VRS" | "HAEM" | "HAEMI" | "HAUTO" | "HBA" | "HBA1" | "HBA1C" | "HBA2" | "HBA2D" | "HBF1" | "HBFD" | "HBH" | "HBSB1" | "HBU" | "HCBCO" | "HCBFL" | "HCBVA" | "HCG" | "HCGS" | "HCO3" | "HCOM" | "HCT" | "HEAL" | "HELPV" | "HELPY" | "HEPD" | "HEPE" | "HERG1" | "HERG2" | "HERPG" | "HERPM" | "HFLU" | "HGB" | "HGH" | "HISTD" | "HISTS" | "HISTT" | "HIV-1" | "HIVA" | "HIVAR" | "HIVBL" | "HIVBR" | "HIVCO" | "HIVD" | "HIVE" | "HIVL" | "HIVL2" | "HIVLA" | "HIVLC" | "HIVLL" | "HIVML" | "HIVP" | "HIVPC" | "HIVPL" | "HIVPR" | "HIVQL" | "HIVR" | "HIVRL" | "HIVRT" | "HIVSI" | "HIVTL" | "HIVTM" | "HIVU" | "HIVVA" | "HIVVB" | "HIVVC" | "HIVVD" | "HIVVM" | "HIVVP" | "HIVVQ" | "HIVVR" | "HLAXB" | "HLB27" | "HPRL" | "HSVG" | "HSVM" | "HT" | "HTSTB" | "HTXT" | "HVVRS" | "HYS0H" | "HYS6H" | "HYSIN" | "HYSUH" | "ICD10" | "ICOM" | "ICOOH" | "ICOOM" | "ICT" | "IG#" | "IGA" | "IHYS" | "IMFIX" | "IMI" | "IMMA" | "IMMSP" | "INCLU" | "INJCS" | "INK" | "INR" | "INTXT" | "IPROT" | "IS" | "ISI" | "ITIME" | "ITITR" | "ITXT" | "IV" | "JRF" | "LA1:2" | "LA1NP" | "LA2NP" | "LACTT" | "LAMIV" | "LCHOL" | "LCRYP" | "LEUCO" | "LHC" | "LI" | "LINE0" | "LINE1" | "LISS" | "LJDAT" | "LJDT" | "LJRES" | "LLA1" | "LLA2" | "LN1:2" | "LPRIF" | "LSD" | "LTIME" | "LUPN" | "LUPP" | "LYM#" | "LYM%" | "LYMA%" | "LYMP" | "MAAG" | "MACS" | "MAL" | "MALF" | "MALRT" | "MALTH" | "MAPP" | "MASS" | "MBILH" | "MCEA" | "MCH" | "MCHC" | "MCM2" | "MCOM" | "MCV" | "MEASG" | "MEASM" | "MEM" | "MET" | "META#" | "META%" | "METH" | "METHD" | "METQ" | "MFIL" | "MGMSA" | "MGMSB" | "MGMSC" | "MGMSD" | "MGMSE" | "MGMSF" | "MGSMH" | "MGSRH" | "MGSSA" | "MGSSB" | "MGSSC" | "MGSSD" | "MGSSE" | "MGSSF" | "MHEAD" | "MIC" | "MICH" | "MICIN" | "MICRE" | "MICRO" | "MLDL" | "MLEUD" | "MMACR" | "MOART" | "MON" | "MONA#" | "MONA%" | "MONO" | "MONO#" | "MONO%" | "MONTH" | "MORPH" | "MOTIL" | "MPCR" | "MPROT" | "MPV" | "M-TP" | "MTRIC" | "MTXT" | "MTZ" | "MUCUS" | "MUMPG" | "MUMPM" | "MUP" | "MXD#" | "MXD%" | "MYCH" | "MYCUL" | "MYEAS" | "MYEL#" | "MYEL%" | "MYGIE" | "MYGT" | "MYKIN" | "MYMIC" | "MYOG" | "MYPAS" | "MZNS" | "NALID" | "NEI" | "NEICO" | "NEUA#" | "NEUA%" | "NEUT#" | "NEUT%" | "NEVI" | "NITR" | "NITRO" | "NNRTI" | "NONNU" | "NORM" | "NOS" | "NRBC" | "NRTIR" | "NUCLE" | "OB" | "OCEA" | "OCEL" | "OOCYS" | "OPIAT" | "ORGS" | "ORGSV" | "ORGSW" | "ORGSX" | "ORGSY" | "OSAT" | "OTERM" | "OTHER" | "OTHR#" | "OTHR%" | "OVA" | "OVA1" | "OVA2" | "OWCC" | "OX19" | "OX2" | "OXAC1" | "OXACI" | "OXK" | "P/N" | "PADIS" | "PAN" | "PARAC" | "PARAS" | "PARS" | "PATH" | "PATHH" | "PATT" | "PB/CR" | "PBNP" | "PCO2" | "PCRAP" | "PCRH" | "PCRQ" | "PCRR" | "PCTR" | "PCULT" | "PCV" | "PDBIL" | "PDW" | "PEN" | "PENG" | "PENG1" | "PER" | "PFAL" | "PGRP" | "PH" | "PHB" | "PHD" | "PHENB" | "PHENC" | "PHENY" | "PHN" | "PHT" | "PHTXT" | "PHYS" | "PHYS0" | "PHYS6" | "PHYSU" | "PIPER" | "PLAC" | "PLT" | "PLTAB" | "PMTCH" | "PMTMO" | "PNEUM" | "PO/CR" | "PO2" | "POCVR" | "POLI1" | "POLI2" | "POLI3" | "POLY" | "POLYM" | "PORL" | "PREG" | "PRLC" | "PROGC" | "PROM#" | "PROM%" | "PROTC" | "PROTS" | "PRTCF" | "PSA" | "PSCHE" | "PSHY" | "PSTD0" | "PSTD6" | "PSTDU" | "PT" | "PTBIL" | "PTC" | "PTH" | "PTHA" | "PTHM" | "PTHP" | "PTTR" | "PVIV" | "QBAS%" | "QCD3" | "QCD3L" | "QCD4" | "QCD4L" | "QCD8" | "QCD8L" | "QCWBC" | "QEOS%" | "QHBG" | "QHCG" | "QHRG" | "QLYM%" | "QMCHC" | "QMON%" | "QNEU%" | "QPEHE" | "QRPR1" | "QRPRT" | "QRPRW" | "RAPI2" | "RATIO" | "RBC" | "RBCA" | "RCC" | "RCCHE" | "RCELU" | "RCOM" | "RDW" | "RECR" | "REJCT" | "REM" | "RENIC" | "REQTS" | "RESLT" | "RETA" | "RETIC" | "RETM" | "RF" | "RF13" | "RF14" | "RF2" | "RF3" | "RF4" | "RF8" | "RFQM" | "RFR" | "RFT" | "RG" | "RGLU" | "RH" | "RHAB" | "RHABC" | "RHABI" | "RHABT" | "RHNEG" | "RIFTB" | "RILPI" | "RINHS" | "RJREA" | "RJREM" | "ROTA" | "ROTAG" | "ROTRT" | "RPCR" | "RPI" | "RPR1" | "RPRT" | "RPRW" | "RRF1" | "RRF4" | "RTTBP" | "RUGFL" | "RUGT" | "RUMFL" | "RUMT" | "SABCO" | "SABFL" | "SABNI" | "SABVA" | "SACE" | "SACT2" | "SACTH" | "SADA" | "SAGCO" | "SAGFL" | "SAGVA" | "SALC" | "SALHT" | "SALP" | "SALT" | "SAMY" | "SAPP" | "SAST" | "SIBIL" | "SCHOL" | "SCK2" | "SCKMB" | "SCO2" | "SCORT" | "SCOUN" | "SCRN" | "SCRT" | "SDBIL" | "SERY" | "SGGT" | "SGLU" | "SHDL" | "SIRON" | "SK" | "SLDH" | "SLDL" | "SLGIE" | "SLPAP" | "SMG" | "SMOT2" | "SMOT3" | "SMOT6" | "SMOTI" | "SMYO" | "SNA" | "SNPP" | "SPEM" | "SPH" | "SPO4" | "SRATE" | "SSMEL" | "STACP" | "STBIL" | "STP" | "STRIG" | "SUREA" | "SVISC" | "SVITA" | "SVOL" | "SWBC" | "TBADT" | "TBAMI" | "TBAR1" | "TBAR2" | "TBARM" | "TBBAC" | "TBBCM" | "TBBDT" | "TBC1D" | "TBCLO" | "TBCN1" | "TBETM" | "TBINH" | "TBLEV" | "TBMOF" | "TBODT" | "TBORG" | "TBP-A" | "TBRCM" | "TBRIF" | "TBRP" | "TEST" | "TETRA" | "THSR" | "TMP" | "TPHA" | "TROP" | "TROPI" | "TRYP" | "TS" | "TSH" | "TWBCC" | "TXMFL" | "TZP" | "UAMY" | "UBACT" | "UBL" | "UCRT" | "UHB" | "UMA" | "UMAER" | "UPREG" | "USG" | "UUBGN" | "UVOL" | "VALPR" | "VANCO" | "VCULT" | "VDRLS" | "VDRLT" | "VEPI" | "VGLU" | "VITD" | "VOL" | "VZG" | "WBACT" | "WBC" | "WDU" | "WEPI" | "WERY" | "WET" | "WFH" | "WPSHY" | "WWBC" | "WYST" | "XGLUC" | "YEAST" | "ZIN" | "COV19" | "CVCOM" | "CA15-3" | "SCA" | "SCL" | "XMATC" | "!GXMT" | "SUA" | "SUAA" | "VCRT" | "DLM" | "LZD" | "BDQ" | "TBETH" | "TBISO" | "TBZCM" | "TBZDT" | "TBZH" | "TBZN" | "TBZNI" | "TBLIN" | "WBCA" | "SALTH" | "SALOT" | "LYMA#" | "CVRP" | "CT" | "NG" | "RCHOL" | "DSYTP" | "TBAU" | "TBCM" | "TBRI2" | "TBMOX" | "TBSF" | "TBLP" | "HIVPS" | "PSC2" | "PSCD" | "SCOM" | "Nitrate" | "Glucose" | "Protein" | "pH" | "Bilirubin" | "Ketones" | "Leucocyte Esterase" | "Urobilirubin" | "Band Cells" | "Basophils" | "Eosinophils" | "IG" | "Lymphocytes" | "Metamyelocytes" | "Monocytes" | "Myelocytes" | "Neutrophils" | "Promyelocytes" | "% Bence Jones Protein" | "Transferrin Saturation" | "% HBA1C" | "Transferrin Saturation" | "17 Alpha-hydroxyprogesterone" | "First Line" | "Second Line" | "S-ƒ -1-antitrypsin" | "A1 Cells" | "A2 Cells" | "Abacavir (ABC)" | "%Abnormal" | "Blood Group" | "or Group" | "Donor Unit 1" | "Donor Unit 2" | "Donor Unit 3" | "Donor Unit 4" | "i-Centromere Antibodies" | "Anti-Centromere Antibodies" | "Carcinoembryonic Antigen" | "Acetylcholine Receptor Ab`s" | "i-Cardiolipin Ab (IgG)" | "i-Cardiolipin Ab`s IgG" | "i-Cardiolipin Ab`s IgM" | "i-Collagen Antibodies" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "Autopsy Date" | "Fecal adenovirus" | "i-Double Stranded DNA" | "Anti-Double Stranded DNA (EIA)" | "dsDNA Rule" | "Anti-Double Stranded DNA" | "Zeihl-Neelsen" | "Alpa Feto Protein" | "Anti-human globulin testing" | "ormal Haemoglobin" | "ANC Health Facility" | "i-human globulin" | "Amikacin" | "Amikacin" | "Aldosterone" | "Aldosterone" | "Amoxilin/Clavulanic Acid" | "Amikacin" | "i-Mitochondrial Antibodies/A-Mit Ab" | "Titre" | "Amoxicillin" | "Amoxicillin" | "Ampicillin" | "hetamine" | "Ampicillin" | "i-Nuclear Ab (Hep-2)" | "ANC Number" | "From ANC (Pink) card" | "Androstenedione" | "Anion Gap" | "Anti AB" | "Anti A" | "Anti B" | "Rhesus D" | "i-Parietal Cell Antibodies" | "Appearance" | "Naked Eye Appearance" | "Naked eye appearance" | "Fluid" | "Supernatant Appearance" | "T (Control)" | "T (Patient)" | "ART Number" | "ART Number" | "ARV ID Number" | "Other ARV treatment" | "Other Drugs (1)" | "Other Drugs (2)" | "Other Drugs (3)" | "ARV Programme status" | "ARV treatment (1)" | "ARV treatment (2)" | "ARV treatment (3)" | "i-skeletal muscle Ab`s" | "i-Streptolysin O Latex" | "i-Smooth Muscle Antibodies" | "i-Streptolysin O Titre" | "ASPIRATOR" | "Antimicrobial Sensitivity Test" | "Co-amoxiclav" | "Augmentin" | "Beta-2 Glycoprotein IgG" | "Beta-2 Glycoprotein IgM" | "S-Acetaminophen" | "0rganisms Seen" | "Albumin" | "Band Cells" | "Band Cells" | "Barbiturate" | "Result" | "Basophils" | "Basophils" | "Basoophils" | "Basophils" | "Auto Control" | "Comment:" | "Remarks:" | "B Cells" | "TURE RESULT" | "Base Excess" | "Benzodiazepine" | "BZD Value" | "Blood Group" | "HCG TOTAL BETA (TUMOR MARKER)*" | "BIO-CHEMISTRY (Dipstick)" | "Iron" | "Blasts" | "Blasts" | "Remarks" | "pH" | "Product" | "Breastfeeding" | "Bromelin Screening" | "S1" | "S2" | "y Surface Area" | "Bromelin Screen Cell 1" | "Bromelin Screen Cell 2" | "Bromelin Screen Cell 3" | "Transferrin" | "Bleeding Time" | "B-Type Natriuretic Peptide" | "Bottle Type" | "Uric Acid" | "Interpretation" | "CA125" | "CA15-3" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "Complement Component C3" | "Complement Component C4" | "Complement Component C6" | "CA19-9" | "CA 72-4" | "Cut-off : Core antibodies" | "atitis B core ab (Total)" | "Value : Core antibodies" | "S-Calcium (Corrected)" | "Caeruloplasmin" | "Calculated Clearance" | "Calcitonin" | "cofluor Stain" | "U-Cannabinoids" | "U-Cannabinoids" | "ID Rapid Test" | "Specimen Appearance" | "S-Carbamazepine" | "Caregiver Details" | "Casts" | "U-Catecholamines" | "dU-Catecholamines" | "Control Bead Abs Cnt" | "CSF Chloride" | "Corrected Clearance" | "CELL COUNT" | "COMMENT" | "Conclusion" | "Coomb's control" | "Recommendation" | "CULTURE RESULT" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD45 Count" | "CD4%" | "CD 8 Count" | "CD8%" | "Cefazolin" | "Cefotaxime" | "Cefotaxime/Ceftriazone" | "Cefoxitin" | "Ceftazidime" | "Cephalexin" | "Cephradine" | "Red Blood Cells" | "Globulin" | "CSF Glucose" | "Concentrations" | "CAL RESULTS" | "CSF CHEMISTRY" | "AL URINE OUTPUT" | "NE RESULTS" | "From Child Health Card" | "CLINICAL HISTORY" | "Child No" | "Endemic Trachoma" | "phogranuloma venereum" | "Chloramphenicol" | "Oculo genital" | "Chloramphenicol" | "Chlamydia pneumoniae" | "Chlamydia psittaci" | "Chlamydia trachomatis" | "CHm (Mature RBC HB Content)" | "CHr (Reticulocyte HB Content)" | "Ciprofloxacin" | "Ciprofloxacin" | "Clarity" | "Clindamycin" | "C. difficile Toxin A Test" | "C. difficile Toxin A" | "Pathogen Identified" | "Culture Results" | "CLUE CELLS" | "Cytomegalovirus IgG" | "Value : CMG IgG" | "Cytomegalovirus IgM" | "Value : CMG IgM" | "Cocaine" | "Colour" | "Colistin" | "TBCOL Other Months" | "Comment:" | "Alternate Pathway" | "Classical Pathway" | "Antibiotic Concentrations" | "Consent to Contact" | "Indirect Coomb's Test" | "Comment" | "Cotrimoxazole" | "Cotrimoxazole" | "Co-trimoxazole" | "Count" | "Coxsackie virus IgM" | "C-Peptide" | "CSF Protein" | "Remarks" | "INDIA INK" | "Ceftriaxone" | "Crossmatch" | "CRP Quantitative" | "CRP Serology" | "CRP Titre" | "Cryptococcal LFA" | "Cryptococcal Latex" | "Crystals" | "Cryptococcal Titre" | "Occult Blood" | "Whole blood Clotting Time" | "Titre" | "Cefotaxime" | "Remarks" | "Cutup by" | "Pathologist" | "Cutup sites" | "White Blood cells" | "Child Welfare Number" | "Specimen Adequacy" | "Specimen Adequacy" | "Background" | "Cytology Background" | "SCREENER" | "Cytology Infection" | "Interpretation" | "Interpretation" | "Nature of Specimen" | "Cellular Changes" | "Infection" | "Cellular Changes" | "Recommendation" | "Cytology Recommendation" | "Cytology Special Stains" | "Cysts" | "Contraception" | "CLINICAL HISTORY" | "Last Pregnancy" | "LMP" | "Nature Of Specimen" | "Parity" | "Clinical History" | "Type" | "Remarks" | "Date reported" | "Date Required" | "Date Claim" | "Date Taken" | "C3" | "C3c" | "C3d Titre" | "Carcinoembryonic Antigen" | "IgA" | "IgG" | "IgM" | "IgG Titre" | "Direct Coomb" | "Polyspecific" | "Direct Coomb's Test" | "1:20 DILUTED CRT" | "Expiry" | "D-Dimer" | "Date of Death" | "Dehydroepiandrosterone Sulph" | "Zone Diametre" | "Dibucaine Number" | "Donor ID" | "Didanosine (DDI)" | "DIFFERENTIAL COUNT" | "S-Digoxin" | "S-Digoxin" | "Date of Admission" | "Donor Group" | "Donor Number" | "Doxycycline" | "Doxycycline" | "F-Total Protein" | "DR Survey Number" | "DRUG RESISTANCE TESTING" | "Drug Resistance Interpretation" | "Time of Death" | "Duration of collection" | "dU-Vanillylmandelic Acid" | "Oestradiol" | "Oestrodial" | "Child Breastfed" | "Other" | "Cotrimoxazole(CTX)for infant" | "Current Regimen" | "DNA PCR Test" | "Enteropathogenic E.coli" | "Efavirenz (EFV)" | "MDRD eGFR" | "Caregiver Name" | "Caregiver NRC Number" | "Caregiver Phone Number" | "If stopped why?" | "IF yes which apply" | "Emtricitabine (FTC)" | "NVP for full 6w after birth" | "When did child stop NVP" | "Enzyme" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Other" | "Epithelial Cells" | "Previous DNA PCR Barcode no" | "Date Previous PCR" | "Pregnancy Regimen" | "Previous PCR Result" | "EQA Unstained 1" | "EQA Unstained 2" | "EQA Unstained 3" | "EQA Unstained 4" | "EQA Unstained 5" | "Stained Slides" | "Unstained Slides" | "Method" | "No Parasites" | "No Parasites" | "No Parasites" | "EQA Result 1" | "EQA Result 2" | "EQA Result 3" | "EQA Result 4" | "EQA Result 5" | "EQA Stain" | "EQA Stain" | "Screener" | "Absolute Count Beads" | "Antibody Combination" | "Instrument" | "Lysing Method" | "Problem Code" | "Haematocrit" | "Haemoglobin" | "Problem Code" | "Processing equipment:" | "Processing Kit/Reagent:" | "Processing Microscope" | "Microscope service date:" | "Stain used:" | "EQMCH" | "Challenge Number" | "EQMCV" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Microscopy" | "Final Answer" | "Tested by" | "Platelet Count" | "Supervisor" | "Red Blood Cells" | "EQRDW" | "Expiration Date" | "Lot Number" | "Specimen 1" | "Specimen 2" | "Specimen 3" | "HIV PT 1" | "HIV PT 2" | "HIV PT 3" | "HIV PT 4" | "HIV PT 5" | "A-6" | "Person who Stained" | "Test Name" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "White cell count" | "Regimen given after birth" | "Result" | "ERTAPENEM" | "Red Blood Cells" | "Erythromycin" | "Erythrocytes" | "Erythromycin" | "ESR" | "Child still breatfeeding" | "Stopped breastbeeding at" | "Etravirine (ETR)" | "External Standard - Hys Peak" | "Expiry Date" | "External Standard-Int Std Peak" | "Follow-up Clinic" | "CEFEPIME" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Homocysteine Fasting" | "Microfilariae Antigen" | "Final Result" | "Fluoride Number" | "Flouroquinolones" | "Ocult Blood" | "Identification" | "F-Porphyrin" | "F-Total Protein" | "Rheumatoid Factor (Pleural Fl)" | "Rotavirus" | "Follicle Stimulating Hormone" | "S-Free Tri-iodothyronine" | "S-Free Thyroxine (Direct)" | "Fungi" | "White Blood cells" | "G6PD Assay" | "D Screen Test" | "GRAM STAIN :CLUE CELLS" | "Pregnandiol" | "Number" | "Genotyping" | "Gentamicin" | "Gentamycin" | "Gentamicin" | "Result" | "Glucose - 2 Hours" | "Glucose - 2.5 Hours" | "Glucose - 3 Hours" | "Glucose - 3.5 Hours" | "Glucose - 4 Hours" | "Glucose - 4.5 Hours" | "Glucose - 30 mins" | "Glucose - 5 Hours" | "Glucose - 6 hrs" | "Glucose - 8 hr" | "Glucose - 1 Hour" | "Glucose - 1.5 Hours" | "Globulin" | "Glucose (POCT)" | "Gram Negative Bacilli" | "Gram Negative Cocci" | "Gram Negative Coccobacilli" | "Gram Negative Dipplococci" | "GN Pleomorphic Bacilli" | "Gram Positive Bacilli" | "GP Branching Beaded Bacilli" | "Gram Positive Cocci" | "Gram Positive Cocci Chains" | "Gram Positive Cocci Clusters" | "Gram Positive Cocci Pairs" | "Gram Positive Diplococci" | "GP Filamentous Bacilli" | "GRAM STAIN" | "Epithelial Cells" | "Erythrocytes" | "White Blood cells" | "Glucose - Basal" | "Glucose Dose" | "Text" | "Gram Variable Coccobacilli" | "Vincent's Orgnisms" | "Rifampicin" | "PCR result" | "PCR result (raw data)" | "log value" | "HIV: Viral Load (Cap/CTM)" | "Specimen Haemolysed" | "Haemolysis index" | "Please note:" | "Haemoglobin A" | "Average Glucose (calculated)" | "Hb A1c (Glycosylated)" | "Haemoglobin A2" | "Haemoglobin A2" | "Haemoglobin F" | "Haemoglobin F" | "Haemoglobin" | "Hep B surface Antibody Titre" | "Unstable Haemoglobin" | "Cut off : Hepatitis C" | "Hepatitis C Antibodies" | "Value : Hepatitis C" | "Beta HCG" | "Serum ß-HCG Pregnancy Screen" | "Bicarbonate (actual)" | "Comment" | "Haematocrit" | "Health Facility" | "OD Value" | "Helicobacter pylori IgG" | "Hepatitis D Antibodies" | "Hepatitis E Antibodies" | "Herpes simplex Type 1 IgM" | "Herpes simplex Type 2 IgG" | "Herpes simplex virus IgG" | "Herpes simplex virus IgM" | "Haemophilus influenzae" | "Haemoglobin" | "Human Growth Hormone" | "Pathologist" | "Special Stain" | "Specimen" | "HIV-1" | "HIV ASANTE" | "HIV: Viral Load (ART)" | "log value" | "HIV: Viral Load (BIO/CEN)" | "CUT-OFF : HIV" | "HIV Determine" | "HIV Antibodies: ELISA Method" | "HIV: Viral load (LCx)" | "HIV: Viral load (LCx)" | "Log Value" | "HIV: Viral Load (LCx)" | "Log Value" | "Log Value" | "HIV Rapid" | "Infant HIV DNA PCR" | "Log Value" | "HIV: Viral Load (PANTHER)" | "Log Value" | "HIV 1/2 Rapid Screening Test" | "log value" | "HIV-1 resistance" | "Sequence ID" | "Log Value" | "HIV: Viral Load (Taqman)" | "HIV Unigold" | "HIV VALUE" | "HIV: Viral Load" | "HIV : Viral load (low value)" | "HIV: Viral Load" | "HIV : VIRAL LOAD" | "HIV: Viral Load (Ampliprep)" | "HIV : Viral Load (NASBA)" | "HIV: Viral Load (CAP/CTM)" | "Crossmatching B-Cells" | "HLA B27" | "log value" | "HERPES SIMPLEX VIRUS IgG" | "Herpes simplex Virus IgM" | "Patient`s Height" | "Heat Stability Test" | "Haematology Text" | "HIV: Viral Load (CAP/CTM)" | "Homocysteine Fasting" | "Homocysteine 6H Postmethionine" | "Homocysteine Increase" | "Homocysteine Unknown Time" | "ICD10" | "Comment" | "Indirect Coomb" | "Abnormal Antibodies" | "Indirect coomb's test" | "IG" | "Total IgA" | "Homocysteine Increase" | "Immunofixation" | "Imipenem" | "%Immature" | "Immediate Spin" | "Inclusions" | "Injectibles" | "India Ink" | "Int Normalised Ratio (INR)" | "Remarks" | "F-Total Protein" | "Immediate spin" | "ISI" | "Incubation Time" | "Titre" | "Remarks" | "Index Value" | "Rheumatoid Factor- Joint Fluid" | "LA-1:LA-2" | "LA-1 with normal plasma" | "LA-2 with normal plasma" | "Lactate" | "Lamivudine (3TC)" | "Cholesterol" | "LFA Cryptococcal Antigen" | "White Blood Cells" | "Luteinising Hormone (L)" | "Lithium" | "LINE0" | "LINE1" | "LISS-IAT" | "Date" | "LJ Date" | "LJ Result" | "Lupus anticoagulant 1" | "Lupus anticoagulant 2" | "LA-1 NP:LA-2 NP" | "Rifampicin" | "Lysergic Acid Diethylamide" | "Liquefaction time" | "Lupus anticoagulant" | "Lupus anticoagulant (KCT)" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Malaria Antigen" | "Macroscopic supernatant" | "Malaria" | "Plasmodium Antigen" | "Malaria: PCR Results" | "Malaria(Thin film prep.)" | "Macroscopic Apprearance" | "Patient`s Mass" | "istosoma haematobium" | "Carcinoembryonic Antigen" | "MCH" | "MCHC" | "Comment" | "Comment" | "MCV" | "Measles IgG" | "Measles IgM" | "MEROPENEM" | "Methicillin" | "Metamyelocytes" | "Metamyelocyte" | "Methicillin" | "Methadone" | "Methaqualone (Mandrax)" | "Microfilariae" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Microscopic Morphology" | "Microscopic Gram Stain Reactio" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Morphology and Comment" | "Microscope #" | "Microbiology:" | "Microscopic Examination" | "MICROSCOPIC EXAMINATION" | "Microscope Used" | "LDL Cholesterol" | "Leucocytes" | "MACROSCOPIC" | "Months since starting ARV" | "Monoclonal Band" | "Monocytes" | "Monocytes" | "Epstein Barr Heterophile Ab's" | "Monocytes" | "Monocytes" | "Stopped at month" | "Morphology" | "Motility" | "Malaria: PCR" | "U-Protein" | "Mean Platelet Volume" | "Micro Total Protein" | "TRICHOMONAS VAGINALIS" | "Remarks" | "Metranidazole" | "Mucus Threads" | "Mumps IgG" | "Mumps IgM" | "MUPIROCIN" | "Mixed Cells" | "Mixed Cells" | "Culture" | "Result" | "Yeast Cells" | "Myelocytes" | "Myelocytes" | "Giemsa Stain" | "Germ Tube" | "Kinyoun Stain" | "MICROSCOPIC EXAMINATION" | "MYOGLOBIN" | "PAS Stain" | "MODIFIED ZIELH-NEELSEN STAIN" | "Nalidixic Acid" | "N meningitides A,C,Y,W135" | "N meningitides B/E coli:" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Nevirapine (NVP)" | "Nitrofurantoin" | "Nitrofurantoin" | "NNRTI Resistance Mutations" | "Non-Nucleoside RTI" | "%Normal" | "Organisms Seen" | "Nucleated Red Cells" | "NRTI Resistance Mutations" | "Nucleoside RTI" | "Stool Occult Blood Test" | "Carcinoembryonic Antigen" | "O Cells" | "Oocysts" | "Opiates" | "Organism Identification" | "Organism" | "Organism" | "Organism" | "Organism" | "Saturation" | "Other Mutations" | "Other" | "Other" | "Other" | "Ova" | "Ova /Cysts" | "Ova/Cysts" | "White Cell Count (Uncorrected)" | "Proteus OX19 antibody" | "Proteus OX2 antibody" | "Oxacillin" | "Oxacillin" | "Proteus OXK antibody" | "Pos/Neg" | "PRESUMPTIVE TB#/TB REGISTER#" | "PAN Antigen" | "Paracetamol" | "Parasites" | "Parasitemia Count" | "Pathologist" | "Pathologist(s):" | "Type of Pattern" | "Porphobilinogen/Creatinine" | "proBNP" | "pCO2" | "Factor V Leiden Mutation" | "DNA PCR Test Information" | "Quantitative" | "PCR Result" | "Procalcitonin - Rapid Test" | "CULTURE RESULT" | "PCV" | "Conjuagted Bilirubin (Paeds)" | "Platelet Distribution Width" | "Penicillin G" | "Penicillin G" | "Penicillin G" | "Creat. Clearance Period" | "Plasmodium Falciparum Ag" | "Patient Group" | "Ph" | "Phoned by" | "Date Phoned" | "Phenobarbitone" | "Phencyclidine" | "Phenytoin" | "Phoned to" | "Time phoned" | "Message" | "Homocysteine 6H Postmethionine" | "Patient - Hys Peak 0 hr" | "Patient - Hys Peak 6 hr" | "Patient - Hys Peak Unknown" | "Piperacillin" | "p-Lactic Acid" | "Platelet Count" | "Platelet Antibodies" | "PMTCT Infant" | "PMTCT Mother" | "Streptococcus pneumoniae" | "Porphyrin/Creatinine" | "pO2" | "HIV: Viral Load (GENEX)" | "Poliovirus Type 1 Abs" | "Poliovirus Type 2 Abs" | "Poliovirus Type 3 Abs" | "Polymorphonuclear cells" | "Polymyxin B" | "log value" | "Pregnancy Test" | "Prolactin (PRL)" | "Progesterone" | "Promyelocytes" | "Promyelocytes" | "Protein C (Chromogenic)" | "Protein S (Functional)" | "Protein C" | "Prostate Specific Antigen" | "Pseudocholinesterase" | "Pseudohyphae" | "Patient - Int Std Peak 0 hr" | "Patient - Int Std Peak 6 hr" | "Patient-Int Std Peak Unknown" | "Prothrombin Time (Patient)" | "Total Bilirubin (Paediatric)" | "Prothrombin Time (Control)" | "Parathyroid Hormone" | "Parathyroid Hormone" | "Parathyroid Hormone (mass)" | "p-Parathyroid Hormone" | "PTT Ratio" | "Plasmodium Vivax Ag" | "Basophils" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD4%" | "CD8 Count" | "CD8%" | "Leucocyte Count" | "Eosinophils" | "ABO Blood group" | "Quantitative á-HCG" | "Rhesus status" | "Lymphocytes" | "EQMCHC" | "Monocytes" | "Neutrophils" | "CTROPHORETIC PATTERN" | "RPR" | "RPR titre" | "RPR Titre Wells" | "HIV 1/2 Rapid Repeat" | "RATIOS" | "Erythrocyte Count" | "RBC" | "Erythrocyte Count" | "Red Cell Cholinesterase" | "Red Cell Eluate" | "Red Cell Morphology" | "RDW" | "Recepient Result" | "Specimen Rejected" | "Remarks" | "Renin" | "Test/s requested" | "Mgit Reading (for Controls)" | "Absolute Reticulocyte Count" | "Reticulocyte Count" | "Maturation Time" | "Rheumatoid Factor(Screen)" | "IgE to Peanuts" | "IgE to Soya Bean" | "IgE to Cow`s Milk" | "IgE to Fish (Cod)" | "Rheumatoid Factor Titre" | "to Maize" | "Rheumatoid Factor" | "RF Rule" | "Rheumatoid Factor Titre" | "Rhesus Type" | "Glucose Random" | "Rhesus (D)" | "Atypical Antibodies" | "Anribody Identification" | "Antibody Identification" | "Antibody Titre" | "Negative" | "Rifampicin" | "Rilpivirine (RPV)" | "Inhalant Screen Test" | "Reject Reason" | "Remarks" | "Rotavirus Antigen" | "Rotavirus Antigen" | "Rotavirus PCR Results" | "Rotavirus: PCR" | "Reticulocyte Production Index" | "RPR" | "RPR Titre" | "RPR Titre Wells" | "IgE to Egg White" | "IgE to Wheat" | "Real-time PCR for M tubercul" | "Rubella IgG" | "Rubella IgG Titre" | "Rubella IgM" | "Rubella IgM Titre" | "Cut off : Surface antibody" | "Hepatitis B surface Antibodies" | "Abnormal forms include:" | "Value : Surface antibody" | "Angiotensin Converting Enzyme" | "Adreno-corticotrophic Hormone" | "Adreno-corticotrophic Hormone" | "Adenosine Deaminase" | "Cut off : Surface antigen" | "Hepatitis B Surface Antigen" | "Value : Surface antigen" | "S-Salicylate" | "Salmonella typhi H titre" | "Alkaline Phosphatase (ALP)" | "Alanine Transaminase (ALT)" | "Serum Amylase" | "Appearance (fresh semen)" | "Aspartate Transaminase (AST)" | "Bilirubin (indirect)" | "S-Cholesterol" | "Creatine Kinase (CK)" | "CKMB" | "Carbon dioxide" | "Cortisol" | "Count" | "ABO Screening" | "S-Creatinine" | "Bilirubin (direct)" | "Red Blood Cells" | "g-Glutamyl Transferase (GGT)" | "Glucose" | "S-HDL Cholesterol" | "Iron" | "Potassium" | "Lactate Dehydrogenase (LD)" | "S-LDL Cholesterol" | "Slides GIEMSA Stain" | "Slides PAP Stain" | "S-Magnesium" | "%Progressive motility 2nd hour" | "%Progressive motility 3rd hour" | "%Progressive motility 6th hour" | "Motility Studies" | "S-Myoglobin" | "Sodium" | "S-Acid Phos. Non-Prostatic" | "Spermatozoa" | "Reaction (pH)" | "S-Phosphate Inorganic" | "Rate of forward progression" | "Smell" | "S-Acid Phosphatase (Total)" | "Bilirubin (Total)" | "S-Total Protein" | "S-Triglycerides" | "Blood urea nitrogen" | "Viscosity after liquefaction" | "Vitality after 2 hours" | "Volume of collection" | "White Blood cells" | "Tuberculosis investigation" | "Amikacin (1ug/ml)" | "Result" | "Grading" | "Remarks" | "Mgit Reading" | "Bactec Comment" | "Instrument Date" | "Reprocessed Date" | "Clofazimine (1ug/ml)" | "Reprocessed" | "Ethambutol" | "Isoniazid" | "Levofloxacin (1ug/ml)" | "Moxifloxacin (0.25ug/ml)" | "Date" | "Org Isolated" | "P-Aminosalicylic Acid (4ug/ml)" | "TB Rapid Comment" | "Rifampicin" | "TB Rapid ID" | "Testosterone" | "Tetracycline" | "T H/S Ratio" | "Trimethoprim" | "TPHA" | "Troponin T" | "S-TROPONIN I" | "Trypanosomes" | "Co-trimoxazole" | "S-TSH" | "Total White Blood Cell Count" | "Toxoplasma IgM" | "Piperacillin/Tazobactam" | "Amylase" | "Bacteria" | "Blood" | "U-Creatinine" | "Haemoglobin" | "U-Microalbumin" | "Microalbumin excretion rate" | "Pregnancy Test" | "Specific Gravity" | "Urobilinogen" | "U-Volume" | "S-Valproate" | "Vancomycin" | "CULTURE RESULT" | "VDRL Screen" | "VDRL Titre" | "Epithelial Cells" | "F-Glucose" | "1.25 Dihydroxy Vitamin D" | "Volume of collection" | "Varicella-Zoster IgG" | "0rganisms Seen" | "Leucocyte Count" | "Weak D" | "EPITHELIAL CELLS" | "RED BLOOD CELLS" | "WET PREPARATION" | "FUNGAL HYPHAE" | "PSEUDOHYPHAE" | "WHITE BLOOD CELLS" | "YEAST CELLS" | "P-Glucose (Fasting)" | "Yeast Cells" | "Zinate" | "SARS-CoV-2" | "SARS-CoV-2" | "CA153" | "S-Calcium total" | "Chloride" | "Cross Match Result" | "GeneXpert MTB Rule" | "Uric acid" | "Uric acid" | "Creatinine" | "Delamanid" | "Linezolid" | "Bedaquiline" | "Ethionamide" | "Isoniazid" | "ZN Comment" | "Zn Date" | "ZEIHL-NEELSEN STAIN" | "Ziehl-Neelsen Stain" | "TBZN Internal" | "Linezolid" | "WBC" | "Salmonella typhi H antibodies" | "Salmonella typhi O titre" | "Lymphocytes" | "COVID-19 Ag Rapid Test" | "Chlamydia Trachomatis" | "Neisseria Gonorrhoeae" | "RCHOL-Result" | "Determinate Syphilis TP" | "Auramine Result" | "Auramine Comment" | "Rifampicin (0.5ug/ml)" | "Moxifloxacin (1ug/ml)" | "TB First Line Comment" | "TB Line Probe Comment" | "HIV Viral Load (PSC)" | "Log Value" | "HIV Viral Load" | "Comment"; - component?: BackboneElement[]; + component?: FHIR.BackboneElement[]; contained?: any[]; - dataAbsentReason?: CodeableConcept; - derivedFrom?: Reference[]; - device?: Reference; - effective?: string | Period | Timing; - encounter?: Reference; - extension?: Extension[]; - focus?: Reference[]; - hasMember?: Reference[]; + dataAbsentReason?: FHIR.CodeableConcept; + derivedFrom?: FHIR.Reference[]; + device?: FHIR.Reference; + effective?: string | FHIR.Period | FHIR.Timing; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focus?: FHIR.Reference[]; + hasMember?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - interpretation?: CodeableConcept[]; + interpretation?: FHIR.CodeableConcept[]; issued?: string; language?: string; - meta?: Meta; - method?: CodeableConcept; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: Reference[]; - referenceRange?: BackboneElement[]; - specimen?: Reference; + meta?: FHIR.Meta; + method?: FHIR.CodeableConcept; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.Reference[]; + referenceRange?: FHIR.BackboneElement[]; + specimen?: FHIR.Reference; status?: string; - subject?: Reference; - testingLaboratory?: Reference[]; - text?: Narrative; - value?: Quantity | CodeableConcept | string | boolean | number | Range | Ratio | SampledData | Period; + subject?: FHIR.Reference; + testingLaboratory?: FHIR.Reference[]; + text?: FHIR.Narrative; + value?: FHIR.Quantity | FHIR.CodeableConcept | string | boolean | number | FHIR.Range | FHIR.Ratio | FHIR.SampledData | FHIR.Period; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts b/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts index d2a09d8ed0..7d770e6f35 100644 --- a/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts +++ b/packages/fhir-eswatini/src/profiles/SzLabSpecimen.ts @@ -4,32 +4,32 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Specimen_SzLabSpecimen_Props = { - accessionIdentifier?: Identifier; - collection?: BackboneElement; - condition?: CodeableConcept[]; + accessionIdentifier?: FHIR.Identifier; + collection?: FHIR.BackboneElement; + condition?: FHIR.CodeableConcept[]; contained?: any[]; - container?: BackboneElement[]; - extension?: Extension[]; + container?: FHIR.BackboneElement[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - parent?: Reference[]; - processing?: BackboneElement[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + parent?: FHIR.Reference[]; + processing?: FHIR.BackboneElement[]; receivedTime?: string; - request?: Reference[]; + request?: FHIR.Reference[]; status?: string; - subject?: Reference; - text?: Narrative; - type?: CodeableConcept; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + type?: FHIR.CodeableConcept; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzLocation.ts b/packages/fhir-eswatini/src/profiles/SzLocation.ts index ebc7e0ab68..9bd838bdeb 100644 --- a/packages/fhir-eswatini/src/profiles/SzLocation.ts +++ b/packages/fhir-eswatini/src/profiles/SzLocation.ts @@ -4,36 +4,36 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Location_SzLocation_Props = { - address?: Address; + address?: FHIR.Address; alias?: string[]; availabilityExceptions?: string; contained?: any[]; description?: string; - endpoint?: Reference[]; - extension?: Extension[]; - hoursOfOperation?: BackboneElement[]; + endpoint?: FHIR.Reference[]; + extension?: FHIR.Extension[]; + hoursOfOperation?: FHIR.BackboneElement[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - managingOrganization?: Reference; - meta?: Meta; + managingOrganization?: FHIR.Reference; + meta?: FHIR.Meta; mode?: string; - modifierExtension?: Extension[]; + modifierExtension?: FHIR.Extension[]; name?: string; - operationalStatus?: Coding; - partOf?: Reference; - physicalType?: CodeableConcept; - position?: BackboneElement; + operationalStatus?: FHIR.Coding; + partOf?: FHIR.Reference; + physicalType?: FHIR.CodeableConcept; + position?: FHIR.BackboneElement; status?: string; - telecom?: ContactPoint[]; - text?: Narrative; - type?: CodeableConcept[]; + telecom?: FHIR.ContactPoint[]; + text?: FHIR.Narrative; + type?: FHIR.CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts b/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts index a5fd5c453d..b89eba0743 100644 --- a/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts +++ b/packages/fhir-eswatini/src/profiles/SzMannerOfDeath.ts @@ -4,42 +4,42 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Observation_SzMannerOfDeath_Props = { - basedOn?: Reference[]; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; - code?: CodeableConcept; - component?: BackboneElement[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept; + category?: FHIR.CodeableConcept[]; + code?: FHIR.CodeableConcept; + component?: FHIR.BackboneElement[]; contained?: any[]; - dataAbsentReason?: CodeableConcept; - derivedFrom?: Reference[]; - device?: Reference; - effective?: string | Period | Timing; - encounter?: Reference; - extension?: Extension[]; - focus?: Reference[]; - hasMember?: Reference[]; + dataAbsentReason?: FHIR.CodeableConcept; + derivedFrom?: FHIR.Reference[]; + device?: FHIR.Reference; + effective?: string | FHIR.Period | FHIR.Timing; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focus?: FHIR.Reference[]; + hasMember?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - interpretation?: CodeableConcept[]; + interpretation?: FHIR.CodeableConcept[]; issued?: string; language?: string; - meta?: Meta; - method?: CodeableConcept; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: Reference[]; - referenceRange?: BackboneElement[]; - specimen?: Reference; + meta?: FHIR.Meta; + method?: FHIR.CodeableConcept; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.Reference[]; + referenceRange?: FHIR.BackboneElement[]; + specimen?: FHIR.Reference; status?: string; - subject?: Reference; - text?: Narrative; + subject?: FHIR.Reference; + text?: FHIR.Narrative; value?: string; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMedication.ts b/packages/fhir-eswatini/src/profiles/SzMedication.ts index 14899c0d1c..f5bc48b534 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedication.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedication.ts @@ -4,27 +4,27 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Medication_SzMedication_Props = { - amount?: Ratio; - batch?: BackboneElement; + amount?: FHIR.Ratio; + batch?: FHIR.BackboneElement; code?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; contained?: any[]; - extension?: Extension[]; - form?: CodeableConcept; + extension?: FHIR.Extension[]; + form?: FHIR.CodeableConcept; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - ingredient?: BackboneElement[]; + ingredient?: FHIR.BackboneElement[]; language?: string; - manufacturer?: Reference; - meta?: Meta; - modifierExtension?: Extension[]; + manufacturer?: FHIR.Reference; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; status?: string; - text?: Narrative; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts b/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts index fd2e071682..5aecd79133 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedicationDispense.ts @@ -4,41 +4,41 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type MedicationDispense_SzMedicationDispense_Props = { - authorizingPrescription?: Reference[]; - category?: CodeableConcept; + authorizingPrescription?: FHIR.Reference[]; + category?: FHIR.CodeableConcept; contained?: any[]; - context?: Reference; - daysSupply?: Quantity; - destination?: Reference; - detectedIssue?: Reference[]; - dosageInstruction?: Dosage[]; - eventHistory?: Reference[]; - extension?: Extension[]; + context?: FHIR.Reference; + daysSupply?: FHIR.Quantity; + destination?: FHIR.Reference; + detectedIssue?: FHIR.Reference[]; + dosageInstruction?: FHIR.Dosage[]; + eventHistory?: FHIR.Reference[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - location?: Reference; - medication?: CodeableConcept; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: BackboneElement[]; - quantity?: Quantity; - receiver?: Reference[]; + location?: FHIR.Reference; + medication?: FHIR.CodeableConcept; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.BackboneElement[]; + quantity?: FHIR.Quantity; + receiver?: FHIR.Reference[]; status?: string; - statusReason?: CodeableConcept | Reference; - subject?: Reference; - substitution?: BackboneElement; - supportingInformation?: Reference[]; - text?: Narrative; - type?: CodeableConcept; + statusReason?: FHIR.CodeableConcept | FHIR.Reference; + subject?: FHIR.Reference; + substitution?: FHIR.BackboneElement; + supportingInformation?: FHIR.Reference[]; + text?: FHIR.Narrative; + type?: FHIR.CodeableConcept; whenHandedOver?: string; whenPrepared?: string; [key: string]: any; diff --git a/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts b/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts index a55182f1b3..c0e0520530 100644 --- a/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts +++ b/packages/fhir-eswatini/src/profiles/SzMedicationRequest.ts @@ -4,51 +4,51 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type MedicationRequest_SzMedicationRequest_Props = { authoredOn?: string; - basedOn?: Reference[]; - category?: CodeableConcept[]; + basedOn?: FHIR.Reference[]; + category?: FHIR.CodeableConcept[]; contained?: any[]; - courseOfTherapyType?: CodeableConcept; - detectedIssue?: Reference[]; - dispenseRequest?: BackboneElement; + courseOfTherapyType?: FHIR.CodeableConcept; + detectedIssue?: FHIR.Reference[]; + dispenseRequest?: FHIR.BackboneElement; doNotPerform?: boolean; - dosageInstruction?: Dosage[]; - encounter?: Reference; - eventHistory?: Reference[]; - extension?: Extension[]; - groupIdentifier?: Identifier; + dosageInstruction?: FHIR.Dosage[]; + encounter?: FHIR.Reference; + eventHistory?: FHIR.Reference[]; + extension?: FHIR.Extension[]; + groupIdentifier?: FHIR.Identifier; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: Reference[]; + insurance?: FHIR.Reference[]; intent?: string; language?: string; medication?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - performer?: Reference; - performerType?: CodeableConcept; - priorPrescription?: Reference; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + performer?: FHIR.Reference; + performerType?: FHIR.CodeableConcept; + priorPrescription?: FHIR.Reference; priority?: string; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - recorder?: Reference; - reported?: boolean | Reference; - requester?: Reference; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + recorder?: FHIR.Reference; + reported?: boolean | FHIR.Reference; + requester?: FHIR.Reference; status?: string; - statusReason?: CodeableConcept; - subject?: Reference; - substitution?: BackboneElement; - supportingInformation?: Reference[]; - text?: Narrative; + statusReason?: FHIR.CodeableConcept; + subject?: FHIR.Reference; + substitution?: FHIR.BackboneElement; + supportingInformation?: FHIR.Reference[]; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzOrganization.ts b/packages/fhir-eswatini/src/profiles/SzOrganization.ts index a66daef27a..6b08bd686b 100644 --- a/packages/fhir-eswatini/src/profiles/SzOrganization.ts +++ b/packages/fhir-eswatini/src/profiles/SzOrganization.ts @@ -4,29 +4,29 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Organization_SzOrganization_Props = { active?: boolean; - address?: Address[]; + address?: FHIR.Address[]; alias?: string[]; - contact?: BackboneElement[]; + contact?: FHIR.BackboneElement[]; contained?: any[]; - endpoint?: Reference[]; - extension?: Extension[]; + endpoint?: FHIR.Reference[]; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - meta?: Meta; - modifierExtension?: Extension[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; name?: string; - partOf?: Reference; - telecom?: ContactPoint[]; - text?: Narrative; - type?: CodeableConcept[]; + partOf?: FHIR.Reference; + telecom?: FHIR.ContactPoint[]; + text?: FHIR.Narrative; + type?: FHIR.CodeableConcept[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzPatient.ts b/packages/fhir-eswatini/src/profiles/SzPatient.ts index 82f16edb87..aa253ef445 100644 --- a/packages/fhir-eswatini/src/profiles/SzPatient.ts +++ b/packages/fhir-eswatini/src/profiles/SzPatient.ts @@ -4,39 +4,39 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Patient_SzPatient_Props = { active?: boolean; - address?: Address[]; + address?: FHIR.Address[]; birthDate?: string; chiefdom?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "61" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "69" | "70" | "71" | "72" | "73" | "74" | "75" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "83" | "84" | "85" | "86" | "87" | "88" | "89" | "90" | "91" | "92" | "93" | "94" | "95" | "96" | "97" | "98" | "99" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "113" | "114" | "115" | "116" | "117" | "118" | "119" | "120" | "121" | "122" | "123" | "124" | "125" | "126" | "127" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "138" | "139" | "140" | "141" | "142" | "143" | "144" | "145" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "156" | "157" | "158" | "159" | "160" | "161" | "162" | "163" | "164" | "165" | "166" | "167" | "168" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "191" | "192" | "193" | "194" | "195" | "196" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "214" | "215" | "216" | "217" | "218" | "219" | "220" | "221" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "230" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "244" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "255" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "310" | "311" | "312" | "313" | "314" | "315" | "316" | "317" | "318" | "319" | "320" | "321" | "322" | "323" | "324" | "325" | "326" | "327" | "328" | "329" | "330" | "331" | "332" | "333" | "334" | "335" | "336" | "337" | "338" | "340" | "-99" | "Lamgabhi " | "Dlangeni" | "Kasiko" | "Sitseni" | "Zulwini" | "ELangeni" | "Lobamba " | "Nkhanini" | "Zabeni" | "Zandondo" | "Gucuka " | "Tfuntini/Buhlebuyeza " | "Dvokolwako / Ekuphakameni" | "Ekukhulumeni/ Mandlangempisi" | "Nyonyane/ Maguga" | "Mavula" | "Maphalaleni" | "Dlozini" | "Mcengeni" | "Madlolo" | "Nsingweni" | "Mfeni" | "Mkhuzweni" | "Mfasini" | "Mkhweni" | "Mavula" | "Herefords" | "Msunduza" | "Fontein" | "Sidwashini" | "Mdzimba/Lofokati" | "Manzana" | "Nkwalini " | "Mangwaneni " | "Mangweni" | "Ndvwabangeni" | "Nhlanguyavuka" | "Zinyane " | "Emalibeni " | "Sidvwashini" | "Nyakatfo" | "Mphofu" | "Mgungundlovu" | "Nkamanzi" | "Ludlawini " | "Mvuma" | "Bulandzeni" | "Ndzingeni" | "Kwaliweni" | "Meleti" | "Ntsanjeni" | "Ejubukweni" | "Malanti" | "Nkhaba" | "Kuvinjelweni" | "Vusweni" | "Mshingishingini" | "ka-Hhohho" | "Lomshiyo" | "Emvembili" | "Kandwandwa" | "Hhelehhele" | "Bulembu (Luhhumaneni 1)" | "Luhhumaneni/kaNdeva" | "Luhlangotsini" | "Piggs Peak" | "Nginamadvolo" | "Nsangwini" | "Siphocosini" | "Sigangeni" | "Luhlendlweni" | "Mantabeni" | "Mashobeni North" | "Mvembili" | "Ludzibini" | "Hhohho" | "Hlane" | "Malindza" | "Mdumezulu" | "Njabulweni" | "Ntandweni (Malindza)" | "Etjedze" | "Sigcaweni West" | "Macetjeni (Mabondvweni)" | "Hlutse" | "Macetjeni" | "Vikizijula" | "Bulunga" | "Lomahasha" | "Shewula" | "kaVuma" | "Canter berry" | "Mabantaneni" | "Ntuthwakazi" | "kaLanga" | "Makhewu" | "Mlindazwe" | "Sitsatsaweni" | "Lukhetseni" | "Mambane" | "Maphungwane" | "Tikhuba" | "Mafucula" | "Mhlume" | "Simunye" | "Tambankulu" | "Tshaneni" | "Vuvulane" | "Tsambokhulu" | "kaShoba" | "Mpolonjeni" | "Ndzangu" | "Ngcina" | "Sigcaweni East" | "Crooks Plantations" | "Gamula" | "Lunkuntfu" | "Nkhanini/Lusabeni" | "Illovo/Mayaluka" | "Phafeni" | "Madlenya" | "Maphilingo" | "kaMkhweli" | "Mphumakudze" | "Nceka" | "Ngevini" | "Tambuti" | "Luhlanyeni" | "Mamisa" | "Nkonjwa" | "Nokwane" | "Nyakeni" | "Nkiliji" | "Bhekinkhosi" | "Nswaceni" | "Mkhulamini" | "Maliyaduma" | "Mbeka" | "Kwaluseni" | "Logoba" | "Mhlane" | "Lamgabhi" | "Dvudvusini" | "Luhleko" | "Emhlangeni" | "Nhlulweni" | "Kufinyeni" | "Luyengo" | "Mahlanya" | "Ngwenyameni" | "Mbekelweni" | "Zombodze" | "Lozitha" | "Nkamanzi" | "Kudzeni" | "Ngculwini" | "Ka-Nkhambule" | "Mafutseni" | "Luhlokohla" | "Timbutini" | "Bhudla" | "Mgomfelweni" | "Luzelweni" | "Mambatfweni" | "Nsangwini" | "Mpolonjeni" | "Ludvondvolweni" | "KaZulu" | "Nciniselweni" | "Ndzeleni" | "Sigcineni " | "Bhahwini" | "Mangcongco/Zenukeni" | "Sandlane/Ekuthuleni" | "Mabhukwini" | "Dwalile" | "Makholweni" | "St Pauls" | "Mnyenyweni" | "Manzini Central" | "Dwaleni" | "Mzimnene" | "Mhobodleni" | "Mjingo " | "Moneni" | "Ticancweni" | "Zakhele" | "Ngwane Park" | "Zondwako" | "Lundzi" | "Dingizwe" | "Mlindazwe" | "Mbangave" | "Bhunya" | "Dvokolwako" | "Mbelebeleni" | "Kutsimuleni" | "Khuphuka" | "Likima" | "Gundvwini" | "Gundvwini/Lesibovu" | "Lwandle" | "Ndlandlameni" | "Hlane/Bulunga" | "Dladleni" | "Ngcoseni" | "Bhadzeni 1" | "Velezizweni" | "Macudvulwini" | "Ngonini" | "Njelu" | "Mphankhomo" | "Masundvwini" | "Sibuyeni" | "Vusweni" | "Sigombeni" | "Ntunja" | "Eni" | "Ngcayini" | "Sankolweni" | "Nsenga" | "Nsingweni" | "Ntondozi" | "Ncabaneni" | "Khalangilile" | "Mphini" | "Ndinda" | "Ndlinilembi" | "Gebeni" | "Mgazini" | "Bhadzeni 2" | "Mahhashini" | "Lushikishini" | "Khabonina" | "Dilini" | "KaDinga" | "kaTsambekwako" | "Mashobeni" | "Mhlahlweni " | "Mlindazwe" | "Nshamanti" | "Nsukazi " | "Sidwala" | "Sisingeni" | "Siyendle" | "Bufaneni" | "Hhohho Emuva" | "kaLiba" | "Lushini" | "Manyiseni" | "Nsingizini" | "Ondiyaneni" | "Ezishineni/ Manyeveni" | "Kaphunga" | "KaNdlovu" | "Ngobelweni" | "Nhlalabantfu" | "KaKholwane" | "kaMbhoke" | "kaGwebu" | "Gasa" | "Khamsile" | "Lomfa" | "Mbabane" | "Mbangweni" | "Nkalaneni" | "Nzameya" | "Nkomonye" | "KaDlovunga " | "KaMzizi" | "Masibini" | "Mbilaneni" | "Simemeni " | "Vusweni" | "Bambitje" | "Dinabanye" | "Kwaluseni" | "Nkonka" | "Nsalitje" | "Qomintaba" | "Benezer" | "Bhanganoma" | "Kwendzeni" | "Magele" | "Zenzile" | "KaMbiko" | "KaMhawu" | "KaMshengu" | "Lusitini" | "Mphini" | "Ndushulweni" | "Nokwane" | "Phobane" | "Buseleni" | "Hlobane" | "Kuphumuleni" | "Nkwene" | "kaGwegwe" | "Ezibondeni/Kashiba" | "Nhletjeni" | "Nkhungwini" | "Ngololweni" | "Dumenkhungwini" | "Eposini" | "Hhuhhuma" | "Mabonabulawe" | "Manyandzeni " | "Mchinsweni " | "Zikhotheni " | "Mahlalini" | "Mbabala" | "Mbeka" | "Makhwelela" | "Mpangisweni" | "Mbangweni" | "Mathendele" | "Mkhitsini" | "Sikhotseni" | "Lulakeni" | "Kuphumleni " | "Ndunayithini" | "Nyatsini" | "Ezindwendweni" | "Luhlekweni" | "Maplotini" | "Ntuthwakazi" | "Nsubane" | "Phangweni" | "Vimbizibuko" | "Bulekeni" | "Mampondweni" | "Ngwenyameni " | "Zombodze " | "Nduma" | "Kupheleni" | "Mpolonjeni" | "Nhlalabantfu" | "Mhlangatane" | "Mhawini" | "Unspecified"; - communication?: BackboneElement[]; - contact?: BackboneElement[]; + communication?: FHIR.BackboneElement[]; + contact?: FHIR.BackboneElement[]; contained?: any[]; deceased?: boolean | string; - extension?: Extension[]; + extension?: FHIR.Extension[]; gender?: string; - generalPractitioner?: Reference[]; + generalPractitioner?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; inkhundla?: "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "-99" | "HHUKWINI" | "LOBAMBA" | "MADLANGEMPISI" | "MAPHALALENI" | "MAYIWANE" | "MBABANE EAST" | "MBABANE WEST" | "MHLANGATANE" | "NDZINGENI" | "NKHABA" | "NTFONJENI" | "PIGGS PEAK" | "SIPHOCOSINI" | "TIMPHISINI" | "DVOKODVWENI" | "GILGALI" | "LOMAHASHA" | "LUBULI" | "LUGONGOLWENI" | "MATSANJENI NORTH" | "MHLUME" | "MPOLONJENI" | "NKILONGO" | "SIPHOFANENI" | "SITHOBELA" | "KUKHANYENI" | "KWALUSENI" | "LAMGABHI" | "LOBAMBA LOMDZALA" | "LUDZELUDZE" | "MAFUTSENI" | "MAHLANGATSHA" | "MANGCONGCO" | "MANZINI NORTH" | "MANZINI SOUTH" | "MHLAMBANYATSI" | "MKHIWENI" | "MTFONGWANENI" | "NGWEMPISI" | "NHLAMBENI" | "NKOMIYAHLABA" | "NTONDOZI" | "PHONDO" | "GEGE" | "HOSEA" | "KUBUTA" | "KUMETHULA" | "MASEYISINI" | "MATSANJENI SOUTH" | "MTSAMBAMA" | "NGUDZENI" | "NKWENE" | "SANDLENI" | "SHISELWENI I" | "SHISELWENI II" | "SIGWE" | "SOMNTONGO" | "ZOMBODZE EMUVA" | "MOTSHANE" | "Unspecified"; language?: string; - link?: BackboneElement[]; - managingOrganization?: Reference; - maritalStatus?: CodeableConcept; - meta?: Meta; - modifierExtension?: Extension[]; + link?: FHIR.BackboneElement[]; + managingOrganization?: FHIR.Reference; + maritalStatus?: FHIR.CodeableConcept; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; multipleBirth?: boolean | number; - name?: HumanName[]; - nationality?: Extension[]; - photo?: Attachment[]; + name?: FHIR.HumanName[]; + nationality?: FHIR.Extension[]; + photo?: FHIR.Attachment[]; registrationDate?: string[]; - telecom?: ContactPoint[]; - text?: Narrative; + telecom?: FHIR.ContactPoint[]; + text?: FHIR.Narrative; [key: string]: any; }; @@ -135,37 +135,6 @@ export default function(props: Partial) { } } - { - if (!_.isNil(props._birthDate)) { - if (_.isPlainObject(props._birthDate)) { - resource._birthDate = Object.assign({}, props._birthDate); - } else { - delete resource._birthDate; - resource._birthDate = {}; - - dt.addExtension( - resource._birthDate, - "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - props._birthDate - ); - } - } - - if (!_.isNil(props._birthTime)) { - delete resource._birthTime; - - if (!resource._birthDate) { - resource._birthDate = {}; - } - - dt.addExtension( - resource._birthDate, - "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - props._birthTime - ); - } - } - if (!_.isNil(props.deceased)) { delete resource.deceased; dt.composite(resource, "deceased", props.deceased); diff --git a/packages/fhir-eswatini/src/profiles/SzPractitioner.ts b/packages/fhir-eswatini/src/profiles/SzPractitioner.ts index e6a7f9d57a..ae20c767be 100644 --- a/packages/fhir-eswatini/src/profiles/SzPractitioner.ts +++ b/packages/fhir-eswatini/src/profiles/SzPractitioner.ts @@ -4,29 +4,29 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Practitioner_SzPractitioner_Props = { active?: boolean; - address?: Address[]; + address?: FHIR.Address[]; birthDate?: string; - communication?: CodeableConcept[]; + communication?: FHIR.CodeableConcept[]; contained?: any[]; - extension?: Extension[]; + extension?: FHIR.Extension[]; gender?: string; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; language?: string; - meta?: Meta; - modifierExtension?: Extension[]; - name?: HumanName[]; - photo?: Attachment[]; - qualification?: BackboneElement[]; - telecom?: ContactPoint[]; - text?: Narrative; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + name?: FHIR.HumanName[]; + photo?: FHIR.Attachment[]; + qualification?: FHIR.BackboneElement[]; + telecom?: FHIR.ContactPoint[]; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzProcedure.ts b/packages/fhir-eswatini/src/profiles/SzProcedure.ts index 022c569622..0de0ff6862 100644 --- a/packages/fhir-eswatini/src/profiles/SzProcedure.ts +++ b/packages/fhir-eswatini/src/profiles/SzProcedure.ts @@ -4,47 +4,47 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Procedure_SzProcedure_Props = { - asserter?: Reference; - basedOn?: Reference[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept; - code?: CodeableConcept; - complication?: CodeableConcept[]; - complicationDetail?: Reference[]; + asserter?: FHIR.Reference; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept[]; + category?: FHIR.CodeableConcept; + code?: FHIR.CodeableConcept; + complication?: FHIR.CodeableConcept[]; + complicationDetail?: FHIR.Reference[]; contained?: any[]; - encounter?: Reference; - extension?: Extension[]; - focalDevice?: BackboneElement[]; - followUp?: CodeableConcept[]; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focalDevice?: FHIR.BackboneElement[]; + followUp?: FHIR.CodeableConcept[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; language?: string; - location?: Reference; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - outcome?: CodeableConcept; - partOf?: Reference[]; - performed?: string | Period | Age | Range; - performer?: BackboneElement[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - recorder?: Reference; - report?: Reference[]; + location?: FHIR.Reference; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + outcome?: FHIR.CodeableConcept; + partOf?: FHIR.Reference[]; + performed?: string | FHIR.Period | FHIR.Age | FHIR.Range; + performer?: FHIR.BackboneElement[]; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + recorder?: FHIR.Reference; + report?: FHIR.Reference[]; status?: string; - statusReason?: CodeableConcept; - subject?: Reference; - text?: Narrative; - usedCode?: CodeableConcept[]; - usedReference?: Reference[]; + statusReason?: FHIR.CodeableConcept; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + usedCode?: FHIR.CodeableConcept[]; + usedReference?: FHIR.Reference[]; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzReferral.ts b/packages/fhir-eswatini/src/profiles/SzReferral.ts index 0e7ef673b5..310634bb6f 100644 --- a/packages/fhir-eswatini/src/profiles/SzReferral.ts +++ b/packages/fhir-eswatini/src/profiles/SzReferral.ts @@ -4,53 +4,53 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type ServiceRequest_SzReferral_Props = { - asNeeded?: boolean | CodeableConcept; + asNeeded?: boolean | FHIR.CodeableConcept; authoredOn?: string; - basedOn?: Reference[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - code?: CodeableConcept; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept[]; + category?: FHIR.CodeableConcept[]; + code?: FHIR.CodeableConcept; contained?: any[]; doNotPerform?: boolean; - encounter?: Reference; - extension?: Extension[]; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; instantiatesCanonical?: any[]; instantiatesUri?: string[]; - insurance?: Reference[]; + insurance?: FHIR.Reference[]; intent?: string; language?: string; - locationCode?: CodeableConcept[]; - locationReference?: Reference[]; - meta?: Meta; - modifierExtension?: Extension[]; - note?: Annotation[]; - occurrence?: string | Period | Timing; - orderDetail?: CodeableConcept[]; + locationCode?: FHIR.CodeableConcept[]; + locationReference?: FHIR.Reference[]; + meta?: FHIR.Meta; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + occurrence?: string | FHIR.Period | FHIR.Timing; + orderDetail?: FHIR.CodeableConcept[]; patientInstruction?: string; - performer?: Reference[]; - performerType?: CodeableConcept; + performer?: FHIR.Reference[]; + performerType?: FHIR.CodeableConcept; priority?: string; - quantity?: Quantity | Ratio | Range; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference[]; - recipient?: any[] | boolean[] | string[] | number[] | Address[] | Age[] | Annotation[] | Attachment[] | CodeableConcept[] | Coding[] | ContactPoint[] | Count[] | Distance[] | Duration[] | HumanName[] | Identifier[] | Money[] | Period[] | Quantity[] | Range[] | Ratio[] | Reference[] | SampledData[] | Signature[] | Timing[] | ContactDetail[] | Contributor[] | DataRequirement[] | Expression[] | ParameterDefinition[] | RelatedArtifact[] | TriggerDefinition[] | UsageContext[] | Dosage[] | Meta[]; - relevantHistory?: Reference[]; - replaces?: Reference[]; - requester?: Reference; - requisition?: Identifier; - specimen?: Reference[]; + quantity?: FHIR.Quantity | FHIR.Ratio | FHIR.Range; + reasonCode?: FHIR.CodeableConcept[]; + reasonReference?: FHIR.Reference[]; + recipient?: any[] | boolean[] | string[] | number[] | FHIR.Address[] | FHIR.Age[] | FHIR.Annotation[] | FHIR.Attachment[] | FHIR.CodeableConcept[] | FHIR.Coding[] | FHIR.ContactPoint[] | FHIR.Count[] | FHIR.Distance[] | FHIR.Duration[] | FHIR.HumanName[] | FHIR.Identifier[] | FHIR.Money[] | FHIR.Period[] | FHIR.Quantity[] | FHIR.Range[] | FHIR.Ratio[] | FHIR.Reference[] | FHIR.SampledData[] | FHIR.Signature[] | FHIR.Timing[] | FHIR.ContactDetail[] | FHIR.Contributor[] | FHIR.DataRequirement[] | FHIR.Expression[] | FHIR.ParameterDefinition[] | FHIR.RelatedArtifact[] | FHIR.TriggerDefinition[] | FHIR.UsageContext[] | FHIR.Dosage[] | FHIR.Meta[]; + relevantHistory?: FHIR.Reference[]; + replaces?: FHIR.Reference[]; + requester?: FHIR.Reference; + requisition?: FHIR.Identifier; + specimen?: FHIR.Reference[]; status?: string; - subject?: Reference; - supportingInfo?: Reference[]; - text?: Narrative; + subject?: FHIR.Reference; + supportingInfo?: FHIR.Reference[]; + text?: FHIR.Narrative; [key: string]: any; }; diff --git a/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts b/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts index d5efb18143..57c1ed4ee9 100644 --- a/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts +++ b/packages/fhir-eswatini/src/profiles/SzVitalSigns.ts @@ -4,43 +4,43 @@ // SEE THE README FILE FOR DETAILS import _ from "lodash"; -import * as dt from "../datatypes"; -import type * as FHIR from "../fhir"; +import { b as dt } from "@openfn/language-fhir-4"; +import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Observation_SzVitalSigns_Props = { - basedOn?: Reference[]; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; - code?: CodeableConcept; - component?: BackboneElement[]; + basedOn?: FHIR.Reference[]; + bodySite?: FHIR.CodeableConcept; + category?: FHIR.CodeableConcept[]; + code?: FHIR.CodeableConcept; + component?: FHIR.BackboneElement[]; contained?: any[]; - dataAbsentReason?: CodeableConcept; - derivedFrom?: Reference[]; - device?: Reference; - effective?: string | Period; - encounter?: Reference; - extension?: Extension[]; - focus?: Reference[]; - hasMember?: Reference[]; + dataAbsentReason?: FHIR.CodeableConcept; + derivedFrom?: FHIR.Reference[]; + device?: FHIR.Reference; + effective?: string | FHIR.Period; + encounter?: FHIR.Reference; + extension?: FHIR.Extension[]; + focus?: FHIR.Reference[]; + hasMember?: FHIR.Reference[]; id?: string; - identifier?: Identifier[]; + identifier?: FHIR.Identifier[]; implicitRules?: string; - interpretation?: CodeableConcept[]; + interpretation?: FHIR.CodeableConcept[]; issued?: string; language?: string; - meta?: Meta; - method?: CodeableConcept; - modifierExtension?: Extension[]; - note?: Annotation[]; - partOf?: Reference[]; - performer?: Reference[]; - referenceRange?: BackboneElement[]; - specimen?: Reference; + meta?: FHIR.Meta; + method?: FHIR.CodeableConcept; + modifierExtension?: FHIR.Extension[]; + note?: FHIR.Annotation[]; + partOf?: FHIR.Reference[]; + performer?: FHIR.Reference[]; + referenceRange?: FHIR.BackboneElement[]; + specimen?: FHIR.Reference; status?: string; - subject?: Reference; - text?: Narrative; - value?: Quantity; + subject?: FHIR.Reference; + text?: FHIR.Narrative; + value?: FHIR.Quantity; [key: string]: any; }; diff --git a/packages/fhir-eswatini/test/resources/Patient.test.ts b/packages/fhir-eswatini/test/resources/Patient.test.ts index a8d16ac200..653d767e60 100644 --- a/packages/fhir-eswatini/test/resources/Patient.test.ts +++ b/packages/fhir-eswatini/test/resources/Patient.test.ts @@ -439,7 +439,7 @@ describe('SzPatient', () => { valueDateTime: '2025-06-01T10:00:00Z', }); }); - it('should map primitive extensions', ()=>{ + it.skip('should map primitive extensions', ()=>{ const state = {}; const resource = b.patient('SzPatient',{ diff --git a/packages/fhir-eswatini/types/builders.d.ts b/packages/fhir-eswatini/types/builders.d.ts index 208b47f628..c2d2b5a388 100644 --- a/packages/fhir-eswatini/types/builders.d.ts +++ b/packages/fhir-eswatini/types/builders.d.ts @@ -1,25 +1,706 @@ -import "./values"; -import { Appointment_SzAppointment_Props } from "./profiles/SzAppointment"; -import { Condition_SzCondition_Props } from "./profiles/SzCondition"; -import { Encounter_SzEncounter_Props } from "./profiles/SzEncounter"; -import { EpisodeOfCare_SzEpisodeOfCare_Props } from "./profiles/SzEpisodeOfCare"; -import { Location_SzLocation_Props } from "./profiles/SzLocation"; -import { Medication_SzMedication_Props } from "./profiles/SzMedication"; -import { MedicationDispense_SzMedicationDispense_Props } from "./profiles/SzMedicationDispense"; -import { MedicationRequest_SzMedicationRequest_Props } from "./profiles/SzMedicationRequest"; -import { Observation_SzCauseOfDeath_Props } from "./profiles/SzCauseOfDeath"; -import { Observation_SzClinicalObservation_Props } from "./profiles/SzClinicalObservation"; -import { Observation_SzLabResult_Props } from "./profiles/SzLabResult"; -import { Observation_SzMannerOfDeath_Props } from "./profiles/SzMannerOfDeath"; -import { Observation_SzVitalSigns_Props } from "./profiles/SzVitalSigns"; -import { Organization_SzOrganization_Props } from "./profiles/SzOrganization"; -import { Patient_SzPatient_Props } from "./profiles/SzPatient"; -import { Practitioner_SzPractitioner_Props } from "./profiles/SzPractitioner"; -import { Procedure_SzProcedure_Props } from "./profiles/SzProcedure"; -import { ServiceRequest_SzLabRequest_Props } from "./profiles/SzLabRequest"; -import { ServiceRequest_SzReferral_Props } from "./profiles/SzReferral"; -import { Specimen_SzLabSpecimen_Props } from "./profiles/SzLabSpecimen"; -export * from "./datatypes"; + +// THIS FILE WAS AUTO-GENERATED +// DO NOT MAKE CHANGES MANUALLY OR THEY WILL BE LOST +// SEE THE README FILE FOR DETAILS + +import { builders } from '@openfn/language-fhir-4'; + +declare type Appointment_SzAppointment_Props = { + appointmentType?: builders.CodeableConcept; + basedOn?: builders.Reference[]; + cancelationReason?: builders.CodeableConcept; + comment?: string; + contained?: any[]; + created?: string; + description?: string; + end?: string; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + meta?: builders.Meta; + minutesDuration?: number; + modifierExtension?: builders.Extension[]; + participant?: builders.BackboneElement[]; + patientInstruction?: string; + priority?: number; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + requestedPeriod?: builders.Period[]; + serviceCategory?: builders.CodeableConcept[]; + serviceType?: builders.CodeableConcept[]; + slot?: builders.Reference[]; + specialty?: builders.CodeableConcept[]; + start?: string; + status?: string; + supportingInformation?: builders.Reference[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type Condition_SzCondition_Props = { + abatement?: string | builders.Age | builders.Period | builders.Range; + asserter?: builders.Reference; + bodySite?: builders.CodeableConcept[]; + category?: builders.CodeableConcept[]; + clinicalStatus?: builders.CodeableConcept; + code?: builders.CodeableConcept; + contained?: any[]; + encounter?: builders.Reference; + evidence?: builders.BackboneElement[]; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + onset?: string; + recordedDate?: string; + recorder?: builders.Reference; + severity?: builders.CodeableConcept; + stage?: builders.BackboneElement[]; + subject?: builders.Reference; + text?: builders.Narrative; + verificationStatus?: builders.CodeableConcept; + [key: string]: any; +}; + +declare type Encounter_SzEncounter_Props = { + account?: builders.Reference[]; + appointment?: builders.Reference[]; + basedOn?: builders.Reference[]; + class?: "OPD" | "IPD" | "CO" | "SO" | "Outpatient Department" | "Inpatient Department" | "Community Outreach" | "Schools Outreach"; + classHistory?: builders.BackboneElement[]; + contained?: any[]; + diagnosis?: builders.BackboneElement[]; + episodeOfCare?: builders.Reference[]; + extension?: builders.Extension[]; + hospitalization?: builders.BackboneElement; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + length?: builders.Duration; + location?: builders.BackboneElement[]; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + partOf?: builders.Reference; + participant?: builders.BackboneElement[]; + period?: builders.Period; + priority?: builders.CodeableConcept; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + serviceProvider?: builders.Reference; + serviceType?: builders.CodeableConcept; + status?: string; + statusHistory?: builders.BackboneElement[]; + subject?: builders.Reference; + text?: builders.Narrative; + type?: builders.CodeableConcept[]; + [key: string]: any; +}; + +declare type EpisodeOfCare_SzEpisodeOfCare_Props = { + account?: builders.Reference[]; + careManager?: builders.Reference; + contained?: any[]; + diagnosis?: builders.BackboneElement[]; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + managingOrganization?: builders.Reference; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + patient?: builders.Reference; + period?: builders.Period; + referralRequest?: builders.Reference[]; + status?: string; + statusHistory?: builders.BackboneElement[]; + team?: builders.Reference[]; + text?: builders.Narrative; + type?: "tbds" | "tbdr" | "anc" | "fp" | "art" | "prep" | "TB DS" | "TB DR" | "ANC" | "Family Planning" | "ART" | "PrEP"; + [key: string]: any; +}; + +declare type Location_SzLocation_Props = { + address?: builders.Address; + alias?: string[]; + availabilityExceptions?: string; + contained?: any[]; + description?: string; + endpoint?: builders.Reference[]; + extension?: builders.Extension[]; + hoursOfOperation?: builders.BackboneElement[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + managingOrganization?: builders.Reference; + meta?: builders.Meta; + mode?: string; + modifierExtension?: builders.Extension[]; + name?: string; + operationalStatus?: builders.Coding; + partOf?: builders.Reference; + physicalType?: builders.CodeableConcept; + position?: builders.BackboneElement; + status?: string; + telecom?: builders.ContactPoint[]; + text?: builders.Narrative; + type?: builders.CodeableConcept[]; + [key: string]: any; +}; + +declare type Medication_SzMedication_Props = { + amount?: builders.Ratio; + batch?: builders.BackboneElement; + code?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; + contained?: any[]; + extension?: builders.Extension[]; + form?: builders.CodeableConcept; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + ingredient?: builders.BackboneElement[]; + language?: string; + manufacturer?: builders.Reference; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + status?: string; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type MedicationDispense_SzMedicationDispense_Props = { + authorizingPrescription?: builders.Reference[]; + category?: builders.CodeableConcept; + contained?: any[]; + context?: builders.Reference; + daysSupply?: builders.Quantity; + destination?: builders.Reference; + detectedIssue?: builders.Reference[]; + dosageInstruction?: builders.Dosage[]; + eventHistory?: builders.Reference[]; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + location?: builders.Reference; + medication?: builders.CodeableConcept; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.BackboneElement[]; + quantity?: builders.Quantity; + receiver?: builders.Reference[]; + status?: string; + statusReason?: builders.CodeableConcept | builders.Reference; + subject?: builders.Reference; + substitution?: builders.BackboneElement; + supportingInformation?: builders.Reference[]; + text?: builders.Narrative; + type?: builders.CodeableConcept; + whenHandedOver?: string; + whenPrepared?: string; + [key: string]: any; +}; + +declare type MedicationRequest_SzMedicationRequest_Props = { + authoredOn?: string; + basedOn?: builders.Reference[]; + category?: builders.CodeableConcept[]; + contained?: any[]; + courseOfTherapyType?: builders.CodeableConcept; + detectedIssue?: builders.Reference[]; + dispenseRequest?: builders.BackboneElement; + doNotPerform?: boolean; + dosageInstruction?: builders.Dosage[]; + encounter?: builders.Reference; + eventHistory?: builders.Reference[]; + extension?: builders.Extension[]; + groupIdentifier?: builders.Identifier; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + instantiatesCanonical?: any[]; + instantiatesUri?: string[]; + insurance?: builders.Reference[]; + intent?: string; + language?: string; + medication?: "100001" | "100009" | "100014" | "100089" | "100221" | "100238" | "100304" | "100449" | "100460" | "100528" | "100648" | "100651" | "100654" | "100666" | "100686" | "100689" | "100700" | "100706" | "100707" | "100734" | "102263" | "102266" | "102268" | "102272" | "102273" | "102276" | "102277" | "102280" | "102282" | "102304" | "102323" | "102324" | "102327" | "102332" | "102333" | "102341" | "102346" | "102348" | "102443" | "102492" | "102502" | "Cyclophosphamide Tablets 25mg 100" | "Amoxycillin Capsules 500mg 500 CAPS" | "Cefaclor Tablets 375mg 10 TABS" | "Albendazole Tablets 200mg (Chewable) 1000 TABS" | "Cloxacillin Suspension 125mg/5ml 100 ML" | "Cold & Flu Syrup 100 ML" | "Adrenaline Injection 1:1000 10 AMPS" | "Acyclovir Eye Ointment 3% 4.5 G" | "Betamethasone Cream 0.1% 15G" | "Beclomethasone Nasal Spray 27.5mcg/dose (Paeds)Com 1" | "Abacavir 300mg Tablets 60 TABS" | "Atazanavir/Ritonavir 300/100mg Tablets 30" | "Efavirenz 200mg Scored Tablets 90" | "Raltegravir 400mg Tablets 60 TABS" | "Isoniazid 100mg Tablets 100 TABS" | "Saquinavir 200mg Capsules 270 CAPS" | "Flucytosine 500mg 100 TABS" | "Dapsone Tablets 100mg 100" | "Cotrimoxazole/Isoniazid/Pyridoxine 960/300/25mg 30 TABS" | "Bleomycin Injection 15 Units Vial (With Cold Chain 1 AMP" | "Clofazimine Tablets 100mg 100 TABS" | "Delamanid FILM COATED Tablets 50mg 48 TABS" | "Ethambutol FILM COATEDTablets 100mg 100 TABS" | "Ethionamide FILM COATED Capsules 250mg 50 CAPS" | "Isoniazid Tablets 300mg 28 TABS" | "Levofloxacin Tablets 500mg 100 TABS" | "Linezolid FILM COATED Tablets 600mg 60 TABS" | "Moxifloxacillin FILM COATED Tablets 400mg 100 TABS" | "Pyrazinamide Tablets 500mg 1000 TABS" | "Amikacin 1g 50 VIALS" | "Levonorgestrel 30mcg Tablets 84 TABS" | "Norgestrel 300mcg/Ethinylestradiol 30mcg Tablets 28 TABS" | "Levonorgestrel +Ethinyl Estradiol 150mcg+30mcg Tab 3 TABS" | "Medroxyprogesterone Acetate 150mg/ml Injection 20 VIALS" | "Norethisterone Enanthate + Estradiol Valerate In O 100 VIALS" | "Intra-Uterine Device (Iucd) T380 ( Polymer Film Po 1" | "Strawberry Scented Male Condoms ( natural latex,53mm) 100" | "Water Based Lubricant (SRH) SATCHET" | "Cefazolin 1g; 10 Vial 10 VIAL" | "Paracetamol Tablets 500g (Coloured Green) 100 TABS" | "T Section; 1 Each 1 EACH"; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + performer?: builders.Reference; + performerType?: builders.CodeableConcept; + priorPrescription?: builders.Reference; + priority?: string; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + recorder?: builders.Reference; + reported?: boolean | builders.Reference; + requester?: builders.Reference; + status?: string; + statusReason?: builders.CodeableConcept; + subject?: builders.Reference; + substitution?: builders.BackboneElement; + supportingInformation?: builders.Reference[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type Observation_SzCauseOfDeath_Props = { + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept; + category?: builders.CodeableConcept[]; + code?: builders.CodeableConcept; + component?: builders.BackboneElement[]; + contained?: any[]; + dataAbsentReason?: builders.CodeableConcept; + derivedFrom?: builders.Reference[]; + device?: builders.Reference; + effective?: string | builders.Period | builders.Timing; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focus?: builders.Reference[]; + hasMember?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + interpretation?: builders.CodeableConcept[]; + issued?: string; + language?: string; + meta?: builders.Meta; + method?: builders.CodeableConcept; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.Reference[]; + referenceRange?: builders.BackboneElement[]; + specimen?: builders.Reference; + status?: string; + subject?: builders.Reference; + text?: builders.Narrative; + value?: builders.CodeableConcept; + [key: string]: any; +}; + +declare type Observation_SzClinicalObservation_Props = { + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept; + category?: builders.CodeableConcept[]; + code?: builders.CodeableConcept; + component?: builders.BackboneElement[]; + contained?: any[]; + dataAbsentReason?: builders.CodeableConcept; + derivedFrom?: builders.Reference[]; + device?: builders.Reference; + effective?: string | builders.Period | builders.Timing; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focus?: builders.Reference[]; + hasMember?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + interpretation?: builders.CodeableConcept[]; + issued?: string; + language?: string; + meta?: builders.Meta; + method?: builders.CodeableConcept; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.Reference[]; + referenceRange?: builders.BackboneElement[]; + specimen?: builders.Reference; + status?: string; + subject?: builders.Reference; + text?: builders.Narrative; + value?: builders.Quantity | builders.CodeableConcept | string | boolean | number | builders.Range | builders.Ratio | builders.SampledData | builders.Period; + [key: string]: any; +}; + +declare type Observation_SzLabResult_Props = { + authorizer?: builders.Reference[]; + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept; + category?: builders.CodeableConcept[]; + code?: "NIT" | "UG" | "UP" | "UPH" | "UBILI" | "UKET" | "ULEST" | "N/A" | "#BAND" | "#BASO" | "#EOS" | "#IG" | "#LYM" | "#META" | "#MONO" | "#MYEL" | "#NEUT" | "#PROM" | "%BJP" | "%BSAT" | "%HBA1" | "%SAT" | "17AHQ" | "1ST" | "2ND" | "A1ATR" | "A1CEL" | "A2CEL" | "ABAC" | "ABNO" | "ABO" | "ABRH" | "ABRH1" | "ABRH2" | "ABRH3" | "ABRH4" | "ACA" | "ACAS" | "ACEA" | "ACEAB" | "ACLA" | "ACLAG" | "ACLAM" | "ACOLA" | "ACTH" | "ACTHI" | "ACTHO" | "ADATE" | "ADENO" | "ADNA" | "ADNAM" | "ADNAR" | "ADNAS" | "AFB" | "AFP" | "AGHT" | "AHE" | "AHEAL" | "AHG" | "AK" | "AK1" | "ALDOQ" | "ALDOS" | "AMC" | "AMIK" | "AMITA" | "AMITT" | "AMOX" | "AMOX1" | "AMP" | "AMPHE" | "AMPIC" | "ANAH" | "ANCN" | "ANCP" | "ANDRS" | "ANION" | "ANTAB" | "ANTIA" | "ANTIB" | "ANTID" | "APCA" | "APP" | "APPEA" | "APPET" | "APPF" | "APPS" | "APTC" | "APTT" | "ARTN" | "ARTTX" | "ARVID" | "ARVO" | "ARVO1" | "ARVO2" | "ARVO3" | "ARVS" | "ARVT1" | "ARVT2" | "ARVT3" | "ASKMA" | "ASL" | "ASMA" | "ASOT" | "ASPR" | "AST" | "AUG" | "AUG1" | "B2GPG" | "B2GPM" | "BACET" | "BACT" | "SALB" | "BAND#" | "BAND%" | "BARB" | "BARES" | "BASA#" | "BASA%" | "BASO#" | "BASO%" | "BAUTO" | "BBCOM" | "BBTXT" | "BCEL" | "BCULT" | "BE" | "BENZO" | "BENZV" | "BG" | "BHCG2" | "BIOCH" | "BIRON" | "BLST#" | "BLST%" | "BMTXT" | "BPH" | "BPROC" | "BREAS" | "BROMS" | "BS1" | "BS2" | "BSA" | "BSCR1" | "BSCR2" | "BSCR3" | "BTFN" | "BTIME" | "BTNP" | "BTYPE" | "BUA" | "BV" | "C125B" | "C15-3" | "C1EI" | "C1ESC" | "C1ESI" | "C3" | "C4" | "C6" | "CA199" | "CA724" | "CABCO" | "CABFL" | "CABVA" | "CACOR" | "CAERU" | "CALCL" | "CALCN" | "CALCO" | "CANN" | "CANNQ" | "CAPIL" | "CAPP" | "CARB" | "CAREH" | "CASTS" | "CATSC" | "CATSO" | "CBAC" | "CCL" | "CCLEA" | "CCNT" | "CCOM" | "CCON" | "CCOO" | "CCREM" | "CCULT" | "CD3" | "CD3L" | "CD4" | "CD45" | "CD4L" | "CD8" | "CD8L" | "CEFAZ" | "CEFO1" | "CEFOT" | "CEFOX" | "CEFTA" | "CEPHA" | "CEPHR" | "CERYT" | "CGLOB" | "CGLU" | "CHEMC" | "CHEMF" | "CHEMH" | "CHEMO" | "CHEMU" | "CHILD" | "CHIST" | "CHLDN" | "CHLET" | "CHLLV" | "CHLO1" | "CHLOG" | "CHLOR" | "CHLPN" | "CHLPS" | "CHLTR" | "CHM" | "CHR" | "CIPR1" | "CIPRO" | "CLAR" | "CLIND" | "CLOD" | "CLODA" | "CLTR" | "CLTRE" | "CLUE" | "CMGFL" | "CMGVA" | "CMMFL" | "CMMVA" | "COCAI" | "COL" | "COLI" | "COLM" | "COM" | "COMAL" | "COMCL" | "CONCE" | "CONSE" | "COOMB" | "CORWC" | "COTR" | "COTR1" | "COTRI" | "COUN" | "COXVI" | "CPEP2" | "CPROT" | "CRES" | "CRINK" | "CRO" | "CROSM" | "CRP" | "CRPS" | "CRPT" | "CRYLF" | "CRYP" | "CRYST" | "CRYTI" | "CSOB" | "CTIME" | "CTITR" | "CTX" | "CTXT" | "CUTC" | "CUTP" | "CUTS" | "CWBC" | "CWTX" | "CYADE" | "CYADH" | "CYBGH" | "CYBGR" | "CYCYT" | "CYINF" | "CYINH" | "CYINT" | "CYNAH" | "CYNAT" | "CYNFH" | "CYNTH" | "CYRCH" | "CYREC" | "CYSS" | "CYSTS" | "CYTC" | "CYTCH" | "CYTLA" | "CYTLM" | "CYTNA" | "CYTPA" | "CYTPR" | "CYTTY" | "CYTXT" | "DATEP" | "DATEQ" | "DATER" | "DATET" | "DCC3" | "DCC3C" | "DCC3T" | "DCEA" | "DCIGA" | "DCIGG" | "DCIGM" | "DCIGT" | "DCOOH" | "DCOOM" | "DCOT" | "DCRT" | "DDATE" | "DDIME" | "DEATH" | "DHEAS" | "DIAMT" | "DIBN" | "DID" | "DIDA" | "DIFCN" | "DIGO2" | "DIGOX" | "DOA" | "DONG" | "DONN" | "DOXY" | "DOXY1" | "DPROT" | "DRSNO" | "DRTH" | "DRUGI" | "DTIME" | "DUR" | "DUVMA" | "E2" | "E2C" | "EBREA" | "ECOTH" | "ECOTR" | "ECURR" | "EDNAP" | "EEC" | "EFAVI" | "EGFRI" | "EIDCM" | "EIDCN" | "EIDCP" | "EIFS" | "EIFY" | "EMTRI" | "ENVPB" | "ENVPS" | "ENZYM" | "EOS#" | "EOS%" | "EOSA#" | "EOSA%" | "EOTHE" | "EPI" | "EPRE" | "EPRED" | "EPRER" | "EPRES" | "EQAC1" | "EQAC2" | "EQAC3" | "EQAC4" | "EQAC5" | "EQAHS" | "EQAHU" | "EQAMT" | "EQAN2" | "EQAN3" | "EQANP" | "EQAR1" | "EQAR2" | "EQAR3" | "EQAR4" | "EQAR5" | "EQAS1" | "EQAS2" | "EQASC" | "EQCAB" | "EQCAC" | "EQCDI" | "EQCLM" | "EQCPC" | "EQHCT" | "EQHGB" | "EQHPC" | "EQHPE" | "EQHPK" | "EQHPM" | "EQHSD" | "EQHST" | "EQMCH" | "EQMCN" | "EQMCV" | "EQMF2" | "EQMF3" | "EQMFA" | "EQMIC" | "EQMPC" | "EQPF" | "EQPLT" | "EQPO" | "EQRBC" | "EQRDW" | "EQSED" | "EQSLN" | "EQSP1" | "EQSP2" | "EQSP3" | "EQSS1" | "EQSS2" | "EQSS3" | "EQSS4" | "EQSS5" | "EQSS6" | "EQST" | "EQSTM" | "EQWB2" | "EQWB3" | "EQWBC" | "EQWC2" | "EQWC3" | "EQWCC" | "EREGA" | "ERSLT" | "ERTP" | "ERY" | "ERY1" | "ERYT" | "ERYTH" | "ESR" | "ESTBR" | "ESTOB" | "ETRAV" | "EXHYS" | "EXPD" | "EXSTD" | "FCLI" | "FEP" | "FERM2" | "FERM3" | "FERR" | "FERRM" | "FERRR" | "FERRX" | "FERX2" | "FHYS" | "FILAG" | "FINR" | "FLN" | "FLQNS" | "FOB" | "FPORI" | "FPORQ" | "FPROT" | "FRF" | "FROTA" | "FSHC" | "F-T3" | "F-T4" | "FUNGI" | "FWBC" | "G6PD" | "G6PDS" | "GCLUE" | "GCPRD" | "GELNO" | "GENO" | "GENT" | "GENT1" | "GENTA" | "GERMT" | "GL120" | "GL150" | "GL180" | "GL210" | "GL240" | "GL270" | "GL30" | "GL300" | "GL360" | "GL480" | "GL60" | "GL90" | "GLOB" | "GLUCS" | "GNB" | "GNC" | "GNCB" | "GNDC" | "GNPB" | "GPB" | "GPBB" | "GPC" | "GPCC" | "GPCCL" | "GPCP" | "GPDC" | "GPFB" | "GRAMS" | "GREPI" | "GRERY" | "GRWC" | "GTBA" | "GTDOS" | "GTXT" | "GVC" | "GVINC" | "GXRIF" | "GXTB" | "GXTBR" | "H2RL" | "H2VRS" | "HAEM" | "HAEMI" | "HAUTO" | "HBA" | "HBA1" | "HBA1C" | "HBA2" | "HBA2D" | "HBF1" | "HBFD" | "HBH" | "HBSB1" | "HBU" | "HCBCO" | "HCBFL" | "HCBVA" | "HCG" | "HCGS" | "HCO3" | "HCOM" | "HCT" | "HEAL" | "HELPV" | "HELPY" | "HEPD" | "HEPE" | "HERG1" | "HERG2" | "HERPG" | "HERPM" | "HFLU" | "HGB" | "HGH" | "HISTD" | "HISTS" | "HISTT" | "HIV-1" | "HIVA" | "HIVAR" | "HIVBL" | "HIVBR" | "HIVCO" | "HIVD" | "HIVE" | "HIVL" | "HIVL2" | "HIVLA" | "HIVLC" | "HIVLL" | "HIVML" | "HIVP" | "HIVPC" | "HIVPL" | "HIVPR" | "HIVQL" | "HIVR" | "HIVRL" | "HIVRT" | "HIVSI" | "HIVTL" | "HIVTM" | "HIVU" | "HIVVA" | "HIVVB" | "HIVVC" | "HIVVD" | "HIVVM" | "HIVVP" | "HIVVQ" | "HIVVR" | "HLAXB" | "HLB27" | "HPRL" | "HSVG" | "HSVM" | "HT" | "HTSTB" | "HTXT" | "HVVRS" | "HYS0H" | "HYS6H" | "HYSIN" | "HYSUH" | "ICD10" | "ICOM" | "ICOOH" | "ICOOM" | "ICT" | "IG#" | "IGA" | "IHYS" | "IMFIX" | "IMI" | "IMMA" | "IMMSP" | "INCLU" | "INJCS" | "INK" | "INR" | "INTXT" | "IPROT" | "IS" | "ISI" | "ITIME" | "ITITR" | "ITXT" | "IV" | "JRF" | "LA1:2" | "LA1NP" | "LA2NP" | "LACTT" | "LAMIV" | "LCHOL" | "LCRYP" | "LEUCO" | "LHC" | "LI" | "LINE0" | "LINE1" | "LISS" | "LJDAT" | "LJDT" | "LJRES" | "LLA1" | "LLA2" | "LN1:2" | "LPRIF" | "LSD" | "LTIME" | "LUPN" | "LUPP" | "LYM#" | "LYM%" | "LYMA%" | "LYMP" | "MAAG" | "MACS" | "MAL" | "MALF" | "MALRT" | "MALTH" | "MAPP" | "MASS" | "MBILH" | "MCEA" | "MCH" | "MCHC" | "MCM2" | "MCOM" | "MCV" | "MEASG" | "MEASM" | "MEM" | "MET" | "META#" | "META%" | "METH" | "METHD" | "METQ" | "MFIL" | "MGMSA" | "MGMSB" | "MGMSC" | "MGMSD" | "MGMSE" | "MGMSF" | "MGSMH" | "MGSRH" | "MGSSA" | "MGSSB" | "MGSSC" | "MGSSD" | "MGSSE" | "MGSSF" | "MHEAD" | "MIC" | "MICH" | "MICIN" | "MICRE" | "MICRO" | "MLDL" | "MLEUD" | "MMACR" | "MOART" | "MON" | "MONA#" | "MONA%" | "MONO" | "MONO#" | "MONO%" | "MONTH" | "MORPH" | "MOTIL" | "MPCR" | "MPROT" | "MPV" | "M-TP" | "MTRIC" | "MTXT" | "MTZ" | "MUCUS" | "MUMPG" | "MUMPM" | "MUP" | "MXD#" | "MXD%" | "MYCH" | "MYCUL" | "MYEAS" | "MYEL#" | "MYEL%" | "MYGIE" | "MYGT" | "MYKIN" | "MYMIC" | "MYOG" | "MYPAS" | "MZNS" | "NALID" | "NEI" | "NEICO" | "NEUA#" | "NEUA%" | "NEUT#" | "NEUT%" | "NEVI" | "NITR" | "NITRO" | "NNRTI" | "NONNU" | "NORM" | "NOS" | "NRBC" | "NRTIR" | "NUCLE" | "OB" | "OCEA" | "OCEL" | "OOCYS" | "OPIAT" | "ORGS" | "ORGSV" | "ORGSW" | "ORGSX" | "ORGSY" | "OSAT" | "OTERM" | "OTHER" | "OTHR#" | "OTHR%" | "OVA" | "OVA1" | "OVA2" | "OWCC" | "OX19" | "OX2" | "OXAC1" | "OXACI" | "OXK" | "P/N" | "PADIS" | "PAN" | "PARAC" | "PARAS" | "PARS" | "PATH" | "PATHH" | "PATT" | "PB/CR" | "PBNP" | "PCO2" | "PCRAP" | "PCRH" | "PCRQ" | "PCRR" | "PCTR" | "PCULT" | "PCV" | "PDBIL" | "PDW" | "PEN" | "PENG" | "PENG1" | "PER" | "PFAL" | "PGRP" | "PH" | "PHB" | "PHD" | "PHENB" | "PHENC" | "PHENY" | "PHN" | "PHT" | "PHTXT" | "PHYS" | "PHYS0" | "PHYS6" | "PHYSU" | "PIPER" | "PLAC" | "PLT" | "PLTAB" | "PMTCH" | "PMTMO" | "PNEUM" | "PO/CR" | "PO2" | "POCVR" | "POLI1" | "POLI2" | "POLI3" | "POLY" | "POLYM" | "PORL" | "PREG" | "PRLC" | "PROGC" | "PROM#" | "PROM%" | "PROTC" | "PROTS" | "PRTCF" | "PSA" | "PSCHE" | "PSHY" | "PSTD0" | "PSTD6" | "PSTDU" | "PT" | "PTBIL" | "PTC" | "PTH" | "PTHA" | "PTHM" | "PTHP" | "PTTR" | "PVIV" | "QBAS%" | "QCD3" | "QCD3L" | "QCD4" | "QCD4L" | "QCD8" | "QCD8L" | "QCWBC" | "QEOS%" | "QHBG" | "QHCG" | "QHRG" | "QLYM%" | "QMCHC" | "QMON%" | "QNEU%" | "QPEHE" | "QRPR1" | "QRPRT" | "QRPRW" | "RAPI2" | "RATIO" | "RBC" | "RBCA" | "RCC" | "RCCHE" | "RCELU" | "RCOM" | "RDW" | "RECR" | "REJCT" | "REM" | "RENIC" | "REQTS" | "RESLT" | "RETA" | "RETIC" | "RETM" | "RF" | "RF13" | "RF14" | "RF2" | "RF3" | "RF4" | "RF8" | "RFQM" | "RFR" | "RFT" | "RG" | "RGLU" | "RH" | "RHAB" | "RHABC" | "RHABI" | "RHABT" | "RHNEG" | "RIFTB" | "RILPI" | "RINHS" | "RJREA" | "RJREM" | "ROTA" | "ROTAG" | "ROTRT" | "RPCR" | "RPI" | "RPR1" | "RPRT" | "RPRW" | "RRF1" | "RRF4" | "RTTBP" | "RUGFL" | "RUGT" | "RUMFL" | "RUMT" | "SABCO" | "SABFL" | "SABNI" | "SABVA" | "SACE" | "SACT2" | "SACTH" | "SADA" | "SAGCO" | "SAGFL" | "SAGVA" | "SALC" | "SALHT" | "SALP" | "SALT" | "SAMY" | "SAPP" | "SAST" | "SIBIL" | "SCHOL" | "SCK2" | "SCKMB" | "SCO2" | "SCORT" | "SCOUN" | "SCRN" | "SCRT" | "SDBIL" | "SERY" | "SGGT" | "SGLU" | "SHDL" | "SIRON" | "SK" | "SLDH" | "SLDL" | "SLGIE" | "SLPAP" | "SMG" | "SMOT2" | "SMOT3" | "SMOT6" | "SMOTI" | "SMYO" | "SNA" | "SNPP" | "SPEM" | "SPH" | "SPO4" | "SRATE" | "SSMEL" | "STACP" | "STBIL" | "STP" | "STRIG" | "SUREA" | "SVISC" | "SVITA" | "SVOL" | "SWBC" | "TBADT" | "TBAMI" | "TBAR1" | "TBAR2" | "TBARM" | "TBBAC" | "TBBCM" | "TBBDT" | "TBC1D" | "TBCLO" | "TBCN1" | "TBETM" | "TBINH" | "TBLEV" | "TBMOF" | "TBODT" | "TBORG" | "TBP-A" | "TBRCM" | "TBRIF" | "TBRP" | "TEST" | "TETRA" | "THSR" | "TMP" | "TPHA" | "TROP" | "TROPI" | "TRYP" | "TS" | "TSH" | "TWBCC" | "TXMFL" | "TZP" | "UAMY" | "UBACT" | "UBL" | "UCRT" | "UHB" | "UMA" | "UMAER" | "UPREG" | "USG" | "UUBGN" | "UVOL" | "VALPR" | "VANCO" | "VCULT" | "VDRLS" | "VDRLT" | "VEPI" | "VGLU" | "VITD" | "VOL" | "VZG" | "WBACT" | "WBC" | "WDU" | "WEPI" | "WERY" | "WET" | "WFH" | "WPSHY" | "WWBC" | "WYST" | "XGLUC" | "YEAST" | "ZIN" | "COV19" | "CVCOM" | "CA15-3" | "SCA" | "SCL" | "XMATC" | "!GXMT" | "SUA" | "SUAA" | "VCRT" | "DLM" | "LZD" | "BDQ" | "TBETH" | "TBISO" | "TBZCM" | "TBZDT" | "TBZH" | "TBZN" | "TBZNI" | "TBLIN" | "WBCA" | "SALTH" | "SALOT" | "LYMA#" | "CVRP" | "CT" | "NG" | "RCHOL" | "DSYTP" | "TBAU" | "TBCM" | "TBRI2" | "TBMOX" | "TBSF" | "TBLP" | "HIVPS" | "PSC2" | "PSCD" | "SCOM" | "Nitrate" | "Glucose" | "Protein" | "pH" | "Bilirubin" | "Ketones" | "Leucocyte Esterase" | "Urobilirubin" | "Band Cells" | "Basophils" | "Eosinophils" | "IG" | "Lymphocytes" | "Metamyelocytes" | "Monocytes" | "Myelocytes" | "Neutrophils" | "Promyelocytes" | "% Bence Jones Protein" | "Transferrin Saturation" | "% HBA1C" | "Transferrin Saturation" | "17 Alpha-hydroxyprogesterone" | "First Line" | "Second Line" | "S-ƒ -1-antitrypsin" | "A1 Cells" | "A2 Cells" | "Abacavir (ABC)" | "%Abnormal" | "Blood Group" | "or Group" | "Donor Unit 1" | "Donor Unit 2" | "Donor Unit 3" | "Donor Unit 4" | "i-Centromere Antibodies" | "Anti-Centromere Antibodies" | "Carcinoembryonic Antigen" | "Acetylcholine Receptor Ab`s" | "i-Cardiolipin Ab (IgG)" | "i-Cardiolipin Ab`s IgG" | "i-Cardiolipin Ab`s IgM" | "i-Collagen Antibodies" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "eno-corticotrophic Hormone" | "Autopsy Date" | "Fecal adenovirus" | "i-Double Stranded DNA" | "Anti-Double Stranded DNA (EIA)" | "dsDNA Rule" | "Anti-Double Stranded DNA" | "Zeihl-Neelsen" | "Alpa Feto Protein" | "Anti-human globulin testing" | "ormal Haemoglobin" | "ANC Health Facility" | "i-human globulin" | "Amikacin" | "Amikacin" | "Aldosterone" | "Aldosterone" | "Amoxilin/Clavulanic Acid" | "Amikacin" | "i-Mitochondrial Antibodies/A-Mit Ab" | "Titre" | "Amoxicillin" | "Amoxicillin" | "Ampicillin" | "hetamine" | "Ampicillin" | "i-Nuclear Ab (Hep-2)" | "ANC Number" | "From ANC (Pink) card" | "Androstenedione" | "Anion Gap" | "Anti AB" | "Anti A" | "Anti B" | "Rhesus D" | "i-Parietal Cell Antibodies" | "Appearance" | "Naked Eye Appearance" | "Naked eye appearance" | "Fluid" | "Supernatant Appearance" | "T (Control)" | "T (Patient)" | "ART Number" | "ART Number" | "ARV ID Number" | "Other ARV treatment" | "Other Drugs (1)" | "Other Drugs (2)" | "Other Drugs (3)" | "ARV Programme status" | "ARV treatment (1)" | "ARV treatment (2)" | "ARV treatment (3)" | "i-skeletal muscle Ab`s" | "i-Streptolysin O Latex" | "i-Smooth Muscle Antibodies" | "i-Streptolysin O Titre" | "ASPIRATOR" | "Antimicrobial Sensitivity Test" | "Co-amoxiclav" | "Augmentin" | "Beta-2 Glycoprotein IgG" | "Beta-2 Glycoprotein IgM" | "S-Acetaminophen" | "0rganisms Seen" | "Albumin" | "Band Cells" | "Band Cells" | "Barbiturate" | "Result" | "Basophils" | "Basophils" | "Basoophils" | "Basophils" | "Auto Control" | "Comment:" | "Remarks:" | "B Cells" | "TURE RESULT" | "Base Excess" | "Benzodiazepine" | "BZD Value" | "Blood Group" | "HCG TOTAL BETA (TUMOR MARKER)*" | "BIO-CHEMISTRY (Dipstick)" | "Iron" | "Blasts" | "Blasts" | "Remarks" | "pH" | "Product" | "Breastfeeding" | "Bromelin Screening" | "S1" | "S2" | "y Surface Area" | "Bromelin Screen Cell 1" | "Bromelin Screen Cell 2" | "Bromelin Screen Cell 3" | "Transferrin" | "Bleeding Time" | "B-Type Natriuretic Peptide" | "Bottle Type" | "Uric Acid" | "Interpretation" | "CA125" | "CA15-3" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "C1 Esterase Inhibitor" | "Complement Component C3" | "Complement Component C4" | "Complement Component C6" | "CA19-9" | "CA 72-4" | "Cut-off : Core antibodies" | "atitis B core ab (Total)" | "Value : Core antibodies" | "S-Calcium (Corrected)" | "Caeruloplasmin" | "Calculated Clearance" | "Calcitonin" | "cofluor Stain" | "U-Cannabinoids" | "U-Cannabinoids" | "ID Rapid Test" | "Specimen Appearance" | "S-Carbamazepine" | "Caregiver Details" | "Casts" | "U-Catecholamines" | "dU-Catecholamines" | "Control Bead Abs Cnt" | "CSF Chloride" | "Corrected Clearance" | "CELL COUNT" | "COMMENT" | "Conclusion" | "Coomb's control" | "Recommendation" | "CULTURE RESULT" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD45 Count" | "CD4%" | "CD 8 Count" | "CD8%" | "Cefazolin" | "Cefotaxime" | "Cefotaxime/Ceftriazone" | "Cefoxitin" | "Ceftazidime" | "Cephalexin" | "Cephradine" | "Red Blood Cells" | "Globulin" | "CSF Glucose" | "Concentrations" | "CAL RESULTS" | "CSF CHEMISTRY" | "AL URINE OUTPUT" | "NE RESULTS" | "From Child Health Card" | "CLINICAL HISTORY" | "Child No" | "Endemic Trachoma" | "phogranuloma venereum" | "Chloramphenicol" | "Oculo genital" | "Chloramphenicol" | "Chlamydia pneumoniae" | "Chlamydia psittaci" | "Chlamydia trachomatis" | "CHm (Mature RBC HB Content)" | "CHr (Reticulocyte HB Content)" | "Ciprofloxacin" | "Ciprofloxacin" | "Clarity" | "Clindamycin" | "C. difficile Toxin A Test" | "C. difficile Toxin A" | "Pathogen Identified" | "Culture Results" | "CLUE CELLS" | "Cytomegalovirus IgG" | "Value : CMG IgG" | "Cytomegalovirus IgM" | "Value : CMG IgM" | "Cocaine" | "Colour" | "Colistin" | "TBCOL Other Months" | "Comment:" | "Alternate Pathway" | "Classical Pathway" | "Antibiotic Concentrations" | "Consent to Contact" | "Indirect Coomb's Test" | "Comment" | "Cotrimoxazole" | "Cotrimoxazole" | "Co-trimoxazole" | "Count" | "Coxsackie virus IgM" | "C-Peptide" | "CSF Protein" | "Remarks" | "INDIA INK" | "Ceftriaxone" | "Crossmatch" | "CRP Quantitative" | "CRP Serology" | "CRP Titre" | "Cryptococcal LFA" | "Cryptococcal Latex" | "Crystals" | "Cryptococcal Titre" | "Occult Blood" | "Whole blood Clotting Time" | "Titre" | "Cefotaxime" | "Remarks" | "Cutup by" | "Pathologist" | "Cutup sites" | "White Blood cells" | "Child Welfare Number" | "Specimen Adequacy" | "Specimen Adequacy" | "Background" | "Cytology Background" | "SCREENER" | "Cytology Infection" | "Interpretation" | "Interpretation" | "Nature of Specimen" | "Cellular Changes" | "Infection" | "Cellular Changes" | "Recommendation" | "Cytology Recommendation" | "Cytology Special Stains" | "Cysts" | "Contraception" | "CLINICAL HISTORY" | "Last Pregnancy" | "LMP" | "Nature Of Specimen" | "Parity" | "Clinical History" | "Type" | "Remarks" | "Date reported" | "Date Required" | "Date Claim" | "Date Taken" | "C3" | "C3c" | "C3d Titre" | "Carcinoembryonic Antigen" | "IgA" | "IgG" | "IgM" | "IgG Titre" | "Direct Coomb" | "Polyspecific" | "Direct Coomb's Test" | "1:20 DILUTED CRT" | "Expiry" | "D-Dimer" | "Date of Death" | "Dehydroepiandrosterone Sulph" | "Zone Diametre" | "Dibucaine Number" | "Donor ID" | "Didanosine (DDI)" | "DIFFERENTIAL COUNT" | "S-Digoxin" | "S-Digoxin" | "Date of Admission" | "Donor Group" | "Donor Number" | "Doxycycline" | "Doxycycline" | "F-Total Protein" | "DR Survey Number" | "DRUG RESISTANCE TESTING" | "Drug Resistance Interpretation" | "Time of Death" | "Duration of collection" | "dU-Vanillylmandelic Acid" | "Oestradiol" | "Oestrodial" | "Child Breastfed" | "Other" | "Cotrimoxazole(CTX)for infant" | "Current Regimen" | "DNA PCR Test" | "Enteropathogenic E.coli" | "Efavirenz (EFV)" | "MDRD eGFR" | "Caregiver Name" | "Caregiver NRC Number" | "Caregiver Phone Number" | "If stopped why?" | "IF yes which apply" | "Emtricitabine (FTC)" | "NVP for full 6w after birth" | "When did child stop NVP" | "Enzyme" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Eosinophils" | "Other" | "Epithelial Cells" | "Previous DNA PCR Barcode no" | "Date Previous PCR" | "Pregnancy Regimen" | "Previous PCR Result" | "EQA Unstained 1" | "EQA Unstained 2" | "EQA Unstained 3" | "EQA Unstained 4" | "EQA Unstained 5" | "Stained Slides" | "Unstained Slides" | "Method" | "No Parasites" | "No Parasites" | "No Parasites" | "EQA Result 1" | "EQA Result 2" | "EQA Result 3" | "EQA Result 4" | "EQA Result 5" | "EQA Stain" | "EQA Stain" | "Screener" | "Absolute Count Beads" | "Antibody Combination" | "Instrument" | "Lysing Method" | "Problem Code" | "Haematocrit" | "Haemoglobin" | "Problem Code" | "Processing equipment:" | "Processing Kit/Reagent:" | "Processing Microscope" | "Microscope service date:" | "Stain used:" | "EQMCH" | "Challenge Number" | "EQMCV" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Final answer (Parasites Count)" | "Microscopy" | "Final Answer" | "Tested by" | "Platelet Count" | "Supervisor" | "Red Blood Cells" | "EQRDW" | "Expiration Date" | "Lot Number" | "Specimen 1" | "Specimen 2" | "Specimen 3" | "HIV PT 1" | "HIV PT 2" | "HIV PT 3" | "HIV PT 4" | "HIV PT 5" | "A-6" | "Person who Stained" | "Test Name" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "No of White Cells" | "White cell count" | "Regimen given after birth" | "Result" | "ERTAPENEM" | "Red Blood Cells" | "Erythromycin" | "Erythrocytes" | "Erythromycin" | "ESR" | "Child still breatfeeding" | "Stopped breastbeeding at" | "Etravirine (ETR)" | "External Standard - Hys Peak" | "Expiry Date" | "External Standard-Int Std Peak" | "Follow-up Clinic" | "CEFEPIME" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Ferritin" | "Homocysteine Fasting" | "Microfilariae Antigen" | "Final Result" | "Fluoride Number" | "Flouroquinolones" | "Ocult Blood" | "Identification" | "F-Porphyrin" | "F-Total Protein" | "Rheumatoid Factor (Pleural Fl)" | "Rotavirus" | "Follicle Stimulating Hormone" | "S-Free Tri-iodothyronine" | "S-Free Thyroxine (Direct)" | "Fungi" | "White Blood cells" | "G6PD Assay" | "D Screen Test" | "GRAM STAIN :CLUE CELLS" | "Pregnandiol" | "Number" | "Genotyping" | "Gentamicin" | "Gentamycin" | "Gentamicin" | "Result" | "Glucose - 2 Hours" | "Glucose - 2.5 Hours" | "Glucose - 3 Hours" | "Glucose - 3.5 Hours" | "Glucose - 4 Hours" | "Glucose - 4.5 Hours" | "Glucose - 30 mins" | "Glucose - 5 Hours" | "Glucose - 6 hrs" | "Glucose - 8 hr" | "Glucose - 1 Hour" | "Glucose - 1.5 Hours" | "Globulin" | "Glucose (POCT)" | "Gram Negative Bacilli" | "Gram Negative Cocci" | "Gram Negative Coccobacilli" | "Gram Negative Dipplococci" | "GN Pleomorphic Bacilli" | "Gram Positive Bacilli" | "GP Branching Beaded Bacilli" | "Gram Positive Cocci" | "Gram Positive Cocci Chains" | "Gram Positive Cocci Clusters" | "Gram Positive Cocci Pairs" | "Gram Positive Diplococci" | "GP Filamentous Bacilli" | "GRAM STAIN" | "Epithelial Cells" | "Erythrocytes" | "White Blood cells" | "Glucose - Basal" | "Glucose Dose" | "Text" | "Gram Variable Coccobacilli" | "Vincent's Orgnisms" | "Rifampicin" | "PCR result" | "PCR result (raw data)" | "log value" | "HIV: Viral Load (Cap/CTM)" | "Specimen Haemolysed" | "Haemolysis index" | "Please note:" | "Haemoglobin A" | "Average Glucose (calculated)" | "Hb A1c (Glycosylated)" | "Haemoglobin A2" | "Haemoglobin A2" | "Haemoglobin F" | "Haemoglobin F" | "Haemoglobin" | "Hep B surface Antibody Titre" | "Unstable Haemoglobin" | "Cut off : Hepatitis C" | "Hepatitis C Antibodies" | "Value : Hepatitis C" | "Beta HCG" | "Serum ß-HCG Pregnancy Screen" | "Bicarbonate (actual)" | "Comment" | "Haematocrit" | "Health Facility" | "OD Value" | "Helicobacter pylori IgG" | "Hepatitis D Antibodies" | "Hepatitis E Antibodies" | "Herpes simplex Type 1 IgM" | "Herpes simplex Type 2 IgG" | "Herpes simplex virus IgG" | "Herpes simplex virus IgM" | "Haemophilus influenzae" | "Haemoglobin" | "Human Growth Hormone" | "Pathologist" | "Special Stain" | "Specimen" | "HIV-1" | "HIV ASANTE" | "HIV: Viral Load (ART)" | "log value" | "HIV: Viral Load (BIO/CEN)" | "CUT-OFF : HIV" | "HIV Determine" | "HIV Antibodies: ELISA Method" | "HIV: Viral load (LCx)" | "HIV: Viral load (LCx)" | "Log Value" | "HIV: Viral Load (LCx)" | "Log Value" | "Log Value" | "HIV Rapid" | "Infant HIV DNA PCR" | "Log Value" | "HIV: Viral Load (PANTHER)" | "Log Value" | "HIV 1/2 Rapid Screening Test" | "log value" | "HIV-1 resistance" | "Sequence ID" | "Log Value" | "HIV: Viral Load (Taqman)" | "HIV Unigold" | "HIV VALUE" | "HIV: Viral Load" | "HIV : Viral load (low value)" | "HIV: Viral Load" | "HIV : VIRAL LOAD" | "HIV: Viral Load (Ampliprep)" | "HIV : Viral Load (NASBA)" | "HIV: Viral Load (CAP/CTM)" | "Crossmatching B-Cells" | "HLA B27" | "log value" | "HERPES SIMPLEX VIRUS IgG" | "Herpes simplex Virus IgM" | "Patient`s Height" | "Heat Stability Test" | "Haematology Text" | "HIV: Viral Load (CAP/CTM)" | "Homocysteine Fasting" | "Homocysteine 6H Postmethionine" | "Homocysteine Increase" | "Homocysteine Unknown Time" | "ICD10" | "Comment" | "Indirect Coomb" | "Abnormal Antibodies" | "Indirect coomb's test" | "IG" | "Total IgA" | "Homocysteine Increase" | "Immunofixation" | "Imipenem" | "%Immature" | "Immediate Spin" | "Inclusions" | "Injectibles" | "India Ink" | "Int Normalised Ratio (INR)" | "Remarks" | "F-Total Protein" | "Immediate spin" | "ISI" | "Incubation Time" | "Titre" | "Remarks" | "Index Value" | "Rheumatoid Factor- Joint Fluid" | "LA-1:LA-2" | "LA-1 with normal plasma" | "LA-2 with normal plasma" | "Lactate" | "Lamivudine (3TC)" | "Cholesterol" | "LFA Cryptococcal Antigen" | "White Blood Cells" | "Luteinising Hormone (L)" | "Lithium" | "LINE0" | "LINE1" | "LISS-IAT" | "Date" | "LJ Date" | "LJ Result" | "Lupus anticoagulant 1" | "Lupus anticoagulant 2" | "LA-1 NP:LA-2 NP" | "Rifampicin" | "Lysergic Acid Diethylamide" | "Liquefaction time" | "Lupus anticoagulant" | "Lupus anticoagulant (KCT)" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Lymphocytes" | "Malaria Antigen" | "Macroscopic supernatant" | "Malaria" | "Plasmodium Antigen" | "Malaria: PCR Results" | "Malaria(Thin film prep.)" | "Macroscopic Apprearance" | "Patient`s Mass" | "istosoma haematobium" | "Carcinoembryonic Antigen" | "MCH" | "MCHC" | "Comment" | "Comment" | "MCV" | "Measles IgG" | "Measles IgM" | "MEROPENEM" | "Methicillin" | "Metamyelocytes" | "Metamyelocyte" | "Methicillin" | "Methadone" | "Methaqualone (Mandrax)" | "Microfilariae" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Microscopic Morphology" | "Microscopic Gram Stain Reactio" | "Slide A" | "Slide B" | "Slide C" | "Slide D" | "Slide E" | "Slide F" | "Morphology and Comment" | "Microscope #" | "Microbiology:" | "Microscopic Examination" | "MICROSCOPIC EXAMINATION" | "Microscope Used" | "LDL Cholesterol" | "Leucocytes" | "MACROSCOPIC" | "Months since starting ARV" | "Monoclonal Band" | "Monocytes" | "Monocytes" | "Epstein Barr Heterophile Ab's" | "Monocytes" | "Monocytes" | "Stopped at month" | "Morphology" | "Motility" | "Malaria: PCR" | "U-Protein" | "Mean Platelet Volume" | "Micro Total Protein" | "TRICHOMONAS VAGINALIS" | "Remarks" | "Metranidazole" | "Mucus Threads" | "Mumps IgG" | "Mumps IgM" | "MUPIROCIN" | "Mixed Cells" | "Mixed Cells" | "Culture" | "Result" | "Yeast Cells" | "Myelocytes" | "Myelocytes" | "Giemsa Stain" | "Germ Tube" | "Kinyoun Stain" | "MICROSCOPIC EXAMINATION" | "MYOGLOBIN" | "PAS Stain" | "MODIFIED ZIELH-NEELSEN STAIN" | "Nalidixic Acid" | "N meningitides A,C,Y,W135" | "N meningitides B/E coli:" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Neutrophils" | "Nevirapine (NVP)" | "Nitrofurantoin" | "Nitrofurantoin" | "NNRTI Resistance Mutations" | "Non-Nucleoside RTI" | "%Normal" | "Organisms Seen" | "Nucleated Red Cells" | "NRTI Resistance Mutations" | "Nucleoside RTI" | "Stool Occult Blood Test" | "Carcinoembryonic Antigen" | "O Cells" | "Oocysts" | "Opiates" | "Organism Identification" | "Organism" | "Organism" | "Organism" | "Organism" | "Saturation" | "Other Mutations" | "Other" | "Other" | "Other" | "Ova" | "Ova /Cysts" | "Ova/Cysts" | "White Cell Count (Uncorrected)" | "Proteus OX19 antibody" | "Proteus OX2 antibody" | "Oxacillin" | "Oxacillin" | "Proteus OXK antibody" | "Pos/Neg" | "PRESUMPTIVE TB#/TB REGISTER#" | "PAN Antigen" | "Paracetamol" | "Parasites" | "Parasitemia Count" | "Pathologist" | "Pathologist(s):" | "Type of Pattern" | "Porphobilinogen/Creatinine" | "proBNP" | "pCO2" | "Factor V Leiden Mutation" | "DNA PCR Test Information" | "Quantitative" | "PCR Result" | "Procalcitonin - Rapid Test" | "CULTURE RESULT" | "PCV" | "Conjuagted Bilirubin (Paeds)" | "Platelet Distribution Width" | "Penicillin G" | "Penicillin G" | "Penicillin G" | "Creat. Clearance Period" | "Plasmodium Falciparum Ag" | "Patient Group" | "Ph" | "Phoned by" | "Date Phoned" | "Phenobarbitone" | "Phencyclidine" | "Phenytoin" | "Phoned to" | "Time phoned" | "Message" | "Homocysteine 6H Postmethionine" | "Patient - Hys Peak 0 hr" | "Patient - Hys Peak 6 hr" | "Patient - Hys Peak Unknown" | "Piperacillin" | "p-Lactic Acid" | "Platelet Count" | "Platelet Antibodies" | "PMTCT Infant" | "PMTCT Mother" | "Streptococcus pneumoniae" | "Porphyrin/Creatinine" | "pO2" | "HIV: Viral Load (GENEX)" | "Poliovirus Type 1 Abs" | "Poliovirus Type 2 Abs" | "Poliovirus Type 3 Abs" | "Polymorphonuclear cells" | "Polymyxin B" | "log value" | "Pregnancy Test" | "Prolactin (PRL)" | "Progesterone" | "Promyelocytes" | "Promyelocytes" | "Protein C (Chromogenic)" | "Protein S (Functional)" | "Protein C" | "Prostate Specific Antigen" | "Pseudocholinesterase" | "Pseudohyphae" | "Patient - Int Std Peak 0 hr" | "Patient - Int Std Peak 6 hr" | "Patient-Int Std Peak Unknown" | "Prothrombin Time (Patient)" | "Total Bilirubin (Paediatric)" | "Prothrombin Time (Control)" | "Parathyroid Hormone" | "Parathyroid Hormone" | "Parathyroid Hormone (mass)" | "p-Parathyroid Hormone" | "PTT Ratio" | "Plasmodium Vivax Ag" | "Basophils" | "CD3 Count" | "CD3%" | "CD4 Count" | "CD4%" | "CD8 Count" | "CD8%" | "Leucocyte Count" | "Eosinophils" | "ABO Blood group" | "Quantitative á-HCG" | "Rhesus status" | "Lymphocytes" | "EQMCHC" | "Monocytes" | "Neutrophils" | "CTROPHORETIC PATTERN" | "RPR" | "RPR titre" | "RPR Titre Wells" | "HIV 1/2 Rapid Repeat" | "RATIOS" | "Erythrocyte Count" | "RBC" | "Erythrocyte Count" | "Red Cell Cholinesterase" | "Red Cell Eluate" | "Red Cell Morphology" | "RDW" | "Recepient Result" | "Specimen Rejected" | "Remarks" | "Renin" | "Test/s requested" | "Mgit Reading (for Controls)" | "Absolute Reticulocyte Count" | "Reticulocyte Count" | "Maturation Time" | "Rheumatoid Factor(Screen)" | "IgE to Peanuts" | "IgE to Soya Bean" | "IgE to Cow`s Milk" | "IgE to Fish (Cod)" | "Rheumatoid Factor Titre" | "to Maize" | "Rheumatoid Factor" | "RF Rule" | "Rheumatoid Factor Titre" | "Rhesus Type" | "Glucose Random" | "Rhesus (D)" | "Atypical Antibodies" | "Anribody Identification" | "Antibody Identification" | "Antibody Titre" | "Negative" | "Rifampicin" | "Rilpivirine (RPV)" | "Inhalant Screen Test" | "Reject Reason" | "Remarks" | "Rotavirus Antigen" | "Rotavirus Antigen" | "Rotavirus PCR Results" | "Rotavirus: PCR" | "Reticulocyte Production Index" | "RPR" | "RPR Titre" | "RPR Titre Wells" | "IgE to Egg White" | "IgE to Wheat" | "Real-time PCR for M tubercul" | "Rubella IgG" | "Rubella IgG Titre" | "Rubella IgM" | "Rubella IgM Titre" | "Cut off : Surface antibody" | "Hepatitis B surface Antibodies" | "Abnormal forms include:" | "Value : Surface antibody" | "Angiotensin Converting Enzyme" | "Adreno-corticotrophic Hormone" | "Adreno-corticotrophic Hormone" | "Adenosine Deaminase" | "Cut off : Surface antigen" | "Hepatitis B Surface Antigen" | "Value : Surface antigen" | "S-Salicylate" | "Salmonella typhi H titre" | "Alkaline Phosphatase (ALP)" | "Alanine Transaminase (ALT)" | "Serum Amylase" | "Appearance (fresh semen)" | "Aspartate Transaminase (AST)" | "Bilirubin (indirect)" | "S-Cholesterol" | "Creatine Kinase (CK)" | "CKMB" | "Carbon dioxide" | "Cortisol" | "Count" | "ABO Screening" | "S-Creatinine" | "Bilirubin (direct)" | "Red Blood Cells" | "g-Glutamyl Transferase (GGT)" | "Glucose" | "S-HDL Cholesterol" | "Iron" | "Potassium" | "Lactate Dehydrogenase (LD)" | "S-LDL Cholesterol" | "Slides GIEMSA Stain" | "Slides PAP Stain" | "S-Magnesium" | "%Progressive motility 2nd hour" | "%Progressive motility 3rd hour" | "%Progressive motility 6th hour" | "Motility Studies" | "S-Myoglobin" | "Sodium" | "S-Acid Phos. Non-Prostatic" | "Spermatozoa" | "Reaction (pH)" | "S-Phosphate Inorganic" | "Rate of forward progression" | "Smell" | "S-Acid Phosphatase (Total)" | "Bilirubin (Total)" | "S-Total Protein" | "S-Triglycerides" | "Blood urea nitrogen" | "Viscosity after liquefaction" | "Vitality after 2 hours" | "Volume of collection" | "White Blood cells" | "Tuberculosis investigation" | "Amikacin (1ug/ml)" | "Result" | "Grading" | "Remarks" | "Mgit Reading" | "Bactec Comment" | "Instrument Date" | "Reprocessed Date" | "Clofazimine (1ug/ml)" | "Reprocessed" | "Ethambutol" | "Isoniazid" | "Levofloxacin (1ug/ml)" | "Moxifloxacin (0.25ug/ml)" | "Date" | "Org Isolated" | "P-Aminosalicylic Acid (4ug/ml)" | "TB Rapid Comment" | "Rifampicin" | "TB Rapid ID" | "Testosterone" | "Tetracycline" | "T H/S Ratio" | "Trimethoprim" | "TPHA" | "Troponin T" | "S-TROPONIN I" | "Trypanosomes" | "Co-trimoxazole" | "S-TSH" | "Total White Blood Cell Count" | "Toxoplasma IgM" | "Piperacillin/Tazobactam" | "Amylase" | "Bacteria" | "Blood" | "U-Creatinine" | "Haemoglobin" | "U-Microalbumin" | "Microalbumin excretion rate" | "Pregnancy Test" | "Specific Gravity" | "Urobilinogen" | "U-Volume" | "S-Valproate" | "Vancomycin" | "CULTURE RESULT" | "VDRL Screen" | "VDRL Titre" | "Epithelial Cells" | "F-Glucose" | "1.25 Dihydroxy Vitamin D" | "Volume of collection" | "Varicella-Zoster IgG" | "0rganisms Seen" | "Leucocyte Count" | "Weak D" | "EPITHELIAL CELLS" | "RED BLOOD CELLS" | "WET PREPARATION" | "FUNGAL HYPHAE" | "PSEUDOHYPHAE" | "WHITE BLOOD CELLS" | "YEAST CELLS" | "P-Glucose (Fasting)" | "Yeast Cells" | "Zinate" | "SARS-CoV-2" | "SARS-CoV-2" | "CA153" | "S-Calcium total" | "Chloride" | "Cross Match Result" | "GeneXpert MTB Rule" | "Uric acid" | "Uric acid" | "Creatinine" | "Delamanid" | "Linezolid" | "Bedaquiline" | "Ethionamide" | "Isoniazid" | "ZN Comment" | "Zn Date" | "ZEIHL-NEELSEN STAIN" | "Ziehl-Neelsen Stain" | "TBZN Internal" | "Linezolid" | "WBC" | "Salmonella typhi H antibodies" | "Salmonella typhi O titre" | "Lymphocytes" | "COVID-19 Ag Rapid Test" | "Chlamydia Trachomatis" | "Neisseria Gonorrhoeae" | "RCHOL-Result" | "Determinate Syphilis TP" | "Auramine Result" | "Auramine Comment" | "Rifampicin (0.5ug/ml)" | "Moxifloxacin (1ug/ml)" | "TB First Line Comment" | "TB Line Probe Comment" | "HIV Viral Load (PSC)" | "Log Value" | "HIV Viral Load" | "Comment"; + component?: builders.BackboneElement[]; + contained?: any[]; + dataAbsentReason?: builders.CodeableConcept; + derivedFrom?: builders.Reference[]; + device?: builders.Reference; + effective?: string | builders.Period | builders.Timing; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focus?: builders.Reference[]; + hasMember?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + interpretation?: builders.CodeableConcept[]; + issued?: string; + language?: string; + meta?: builders.Meta; + method?: builders.CodeableConcept; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.Reference[]; + referenceRange?: builders.BackboneElement[]; + specimen?: builders.Reference; + status?: string; + subject?: builders.Reference; + testingLaboratory?: builders.Reference[]; + text?: builders.Narrative; + value?: builders.Quantity | builders.CodeableConcept | string | boolean | number | builders.Range | builders.Ratio | builders.SampledData | builders.Period; + [key: string]: any; +}; + +declare type Observation_SzMannerOfDeath_Props = { + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept; + category?: builders.CodeableConcept[]; + code?: builders.CodeableConcept; + component?: builders.BackboneElement[]; + contained?: any[]; + dataAbsentReason?: builders.CodeableConcept; + derivedFrom?: builders.Reference[]; + device?: builders.Reference; + effective?: string | builders.Period | builders.Timing; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focus?: builders.Reference[]; + hasMember?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + interpretation?: builders.CodeableConcept[]; + issued?: string; + language?: string; + meta?: builders.Meta; + method?: builders.CodeableConcept; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.Reference[]; + referenceRange?: builders.BackboneElement[]; + specimen?: builders.Reference; + status?: string; + subject?: builders.Reference; + text?: builders.Narrative; + value?: string; + [key: string]: any; +}; + +declare type Observation_SzVitalSigns_Props = { + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept; + category?: builders.CodeableConcept[]; + code?: builders.CodeableConcept; + component?: builders.BackboneElement[]; + contained?: any[]; + dataAbsentReason?: builders.CodeableConcept; + derivedFrom?: builders.Reference[]; + device?: builders.Reference; + effective?: string | builders.Period; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focus?: builders.Reference[]; + hasMember?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + interpretation?: builders.CodeableConcept[]; + issued?: string; + language?: string; + meta?: builders.Meta; + method?: builders.CodeableConcept; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + partOf?: builders.Reference[]; + performer?: builders.Reference[]; + referenceRange?: builders.BackboneElement[]; + specimen?: builders.Reference; + status?: string; + subject?: builders.Reference; + text?: builders.Narrative; + value?: builders.Quantity; + [key: string]: any; +}; + +declare type Organization_SzOrganization_Props = { + active?: boolean; + address?: builders.Address[]; + alias?: string[]; + contact?: builders.BackboneElement[]; + contained?: any[]; + endpoint?: builders.Reference[]; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + name?: string; + partOf?: builders.Reference; + telecom?: builders.ContactPoint[]; + text?: builders.Narrative; + type?: builders.CodeableConcept[]; + [key: string]: any; +}; + +declare type Patient_SzPatient_Props = { + active?: boolean; + address?: builders.Address[]; + birthDate?: string; + chiefdom?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "61" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "69" | "70" | "71" | "72" | "73" | "74" | "75" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "83" | "84" | "85" | "86" | "87" | "88" | "89" | "90" | "91" | "92" | "93" | "94" | "95" | "96" | "97" | "98" | "99" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "113" | "114" | "115" | "116" | "117" | "118" | "119" | "120" | "121" | "122" | "123" | "124" | "125" | "126" | "127" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "138" | "139" | "140" | "141" | "142" | "143" | "144" | "145" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "156" | "157" | "158" | "159" | "160" | "161" | "162" | "163" | "164" | "165" | "166" | "167" | "168" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "191" | "192" | "193" | "194" | "195" | "196" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "214" | "215" | "216" | "217" | "218" | "219" | "220" | "221" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "230" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "244" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "255" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "306" | "307" | "308" | "309" | "310" | "311" | "312" | "313" | "314" | "315" | "316" | "317" | "318" | "319" | "320" | "321" | "322" | "323" | "324" | "325" | "326" | "327" | "328" | "329" | "330" | "331" | "332" | "333" | "334" | "335" | "336" | "337" | "338" | "340" | "-99" | "Lamgabhi " | "Dlangeni" | "Kasiko" | "Sitseni" | "Zulwini" | "ELangeni" | "Lobamba " | "Nkhanini" | "Zabeni" | "Zandondo" | "Gucuka " | "Tfuntini/Buhlebuyeza " | "Dvokolwako / Ekuphakameni" | "Ekukhulumeni/ Mandlangempisi" | "Nyonyane/ Maguga" | "Mavula" | "Maphalaleni" | "Dlozini" | "Mcengeni" | "Madlolo" | "Nsingweni" | "Mfeni" | "Mkhuzweni" | "Mfasini" | "Mkhweni" | "Mavula" | "Herefords" | "Msunduza" | "Fontein" | "Sidwashini" | "Mdzimba/Lofokati" | "Manzana" | "Nkwalini " | "Mangwaneni " | "Mangweni" | "Ndvwabangeni" | "Nhlanguyavuka" | "Zinyane " | "Emalibeni " | "Sidvwashini" | "Nyakatfo" | "Mphofu" | "Mgungundlovu" | "Nkamanzi" | "Ludlawini " | "Mvuma" | "Bulandzeni" | "Ndzingeni" | "Kwaliweni" | "Meleti" | "Ntsanjeni" | "Ejubukweni" | "Malanti" | "Nkhaba" | "Kuvinjelweni" | "Vusweni" | "Mshingishingini" | "ka-Hhohho" | "Lomshiyo" | "Emvembili" | "Kandwandwa" | "Hhelehhele" | "Bulembu (Luhhumaneni 1)" | "Luhhumaneni/kaNdeva" | "Luhlangotsini" | "Piggs Peak" | "Nginamadvolo" | "Nsangwini" | "Siphocosini" | "Sigangeni" | "Luhlendlweni" | "Mantabeni" | "Mashobeni North" | "Mvembili" | "Ludzibini" | "Hhohho" | "Hlane" | "Malindza" | "Mdumezulu" | "Njabulweni" | "Ntandweni (Malindza)" | "Etjedze" | "Sigcaweni West" | "Macetjeni (Mabondvweni)" | "Hlutse" | "Macetjeni" | "Vikizijula" | "Bulunga" | "Lomahasha" | "Shewula" | "kaVuma" | "Canter berry" | "Mabantaneni" | "Ntuthwakazi" | "kaLanga" | "Makhewu" | "Mlindazwe" | "Sitsatsaweni" | "Lukhetseni" | "Mambane" | "Maphungwane" | "Tikhuba" | "Mafucula" | "Mhlume" | "Simunye" | "Tambankulu" | "Tshaneni" | "Vuvulane" | "Tsambokhulu" | "kaShoba" | "Mpolonjeni" | "Ndzangu" | "Ngcina" | "Sigcaweni East" | "Crooks Plantations" | "Gamula" | "Lunkuntfu" | "Nkhanini/Lusabeni" | "Illovo/Mayaluka" | "Phafeni" | "Madlenya" | "Maphilingo" | "kaMkhweli" | "Mphumakudze" | "Nceka" | "Ngevini" | "Tambuti" | "Luhlanyeni" | "Mamisa" | "Nkonjwa" | "Nokwane" | "Nyakeni" | "Nkiliji" | "Bhekinkhosi" | "Nswaceni" | "Mkhulamini" | "Maliyaduma" | "Mbeka" | "Kwaluseni" | "Logoba" | "Mhlane" | "Lamgabhi" | "Dvudvusini" | "Luhleko" | "Emhlangeni" | "Nhlulweni" | "Kufinyeni" | "Luyengo" | "Mahlanya" | "Ngwenyameni" | "Mbekelweni" | "Zombodze" | "Lozitha" | "Nkamanzi" | "Kudzeni" | "Ngculwini" | "Ka-Nkhambule" | "Mafutseni" | "Luhlokohla" | "Timbutini" | "Bhudla" | "Mgomfelweni" | "Luzelweni" | "Mambatfweni" | "Nsangwini" | "Mpolonjeni" | "Ludvondvolweni" | "KaZulu" | "Nciniselweni" | "Ndzeleni" | "Sigcineni " | "Bhahwini" | "Mangcongco/Zenukeni" | "Sandlane/Ekuthuleni" | "Mabhukwini" | "Dwalile" | "Makholweni" | "St Pauls" | "Mnyenyweni" | "Manzini Central" | "Dwaleni" | "Mzimnene" | "Mhobodleni" | "Mjingo " | "Moneni" | "Ticancweni" | "Zakhele" | "Ngwane Park" | "Zondwako" | "Lundzi" | "Dingizwe" | "Mlindazwe" | "Mbangave" | "Bhunya" | "Dvokolwako" | "Mbelebeleni" | "Kutsimuleni" | "Khuphuka" | "Likima" | "Gundvwini" | "Gundvwini/Lesibovu" | "Lwandle" | "Ndlandlameni" | "Hlane/Bulunga" | "Dladleni" | "Ngcoseni" | "Bhadzeni 1" | "Velezizweni" | "Macudvulwini" | "Ngonini" | "Njelu" | "Mphankhomo" | "Masundvwini" | "Sibuyeni" | "Vusweni" | "Sigombeni" | "Ntunja" | "Eni" | "Ngcayini" | "Sankolweni" | "Nsenga" | "Nsingweni" | "Ntondozi" | "Ncabaneni" | "Khalangilile" | "Mphini" | "Ndinda" | "Ndlinilembi" | "Gebeni" | "Mgazini" | "Bhadzeni 2" | "Mahhashini" | "Lushikishini" | "Khabonina" | "Dilini" | "KaDinga" | "kaTsambekwako" | "Mashobeni" | "Mhlahlweni " | "Mlindazwe" | "Nshamanti" | "Nsukazi " | "Sidwala" | "Sisingeni" | "Siyendle" | "Bufaneni" | "Hhohho Emuva" | "kaLiba" | "Lushini" | "Manyiseni" | "Nsingizini" | "Ondiyaneni" | "Ezishineni/ Manyeveni" | "Kaphunga" | "KaNdlovu" | "Ngobelweni" | "Nhlalabantfu" | "KaKholwane" | "kaMbhoke" | "kaGwebu" | "Gasa" | "Khamsile" | "Lomfa" | "Mbabane" | "Mbangweni" | "Nkalaneni" | "Nzameya" | "Nkomonye" | "KaDlovunga " | "KaMzizi" | "Masibini" | "Mbilaneni" | "Simemeni " | "Vusweni" | "Bambitje" | "Dinabanye" | "Kwaluseni" | "Nkonka" | "Nsalitje" | "Qomintaba" | "Benezer" | "Bhanganoma" | "Kwendzeni" | "Magele" | "Zenzile" | "KaMbiko" | "KaMhawu" | "KaMshengu" | "Lusitini" | "Mphini" | "Ndushulweni" | "Nokwane" | "Phobane" | "Buseleni" | "Hlobane" | "Kuphumuleni" | "Nkwene" | "kaGwegwe" | "Ezibondeni/Kashiba" | "Nhletjeni" | "Nkhungwini" | "Ngololweni" | "Dumenkhungwini" | "Eposini" | "Hhuhhuma" | "Mabonabulawe" | "Manyandzeni " | "Mchinsweni " | "Zikhotheni " | "Mahlalini" | "Mbabala" | "Mbeka" | "Makhwelela" | "Mpangisweni" | "Mbangweni" | "Mathendele" | "Mkhitsini" | "Sikhotseni" | "Lulakeni" | "Kuphumleni " | "Ndunayithini" | "Nyatsini" | "Ezindwendweni" | "Luhlekweni" | "Maplotini" | "Ntuthwakazi" | "Nsubane" | "Phangweni" | "Vimbizibuko" | "Bulekeni" | "Mampondweni" | "Ngwenyameni " | "Zombodze " | "Nduma" | "Kupheleni" | "Mpolonjeni" | "Nhlalabantfu" | "Mhlangatane" | "Mhawini" | "Unspecified"; + communication?: builders.BackboneElement[]; + contact?: builders.BackboneElement[]; + contained?: any[]; + deceased?: boolean | string; + extension?: builders.Extension[]; + gender?: string; + generalPractitioner?: builders.Reference[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + inkhundla?: "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | "41" | "42" | "43" | "44" | "45" | "46" | "47" | "48" | "49" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "60" | "-99" | "HHUKWINI" | "LOBAMBA" | "MADLANGEMPISI" | "MAPHALALENI" | "MAYIWANE" | "MBABANE EAST" | "MBABANE WEST" | "MHLANGATANE" | "NDZINGENI" | "NKHABA" | "NTFONJENI" | "PIGGS PEAK" | "SIPHOCOSINI" | "TIMPHISINI" | "DVOKODVWENI" | "GILGALI" | "LOMAHASHA" | "LUBULI" | "LUGONGOLWENI" | "MATSANJENI NORTH" | "MHLUME" | "MPOLONJENI" | "NKILONGO" | "SIPHOFANENI" | "SITHOBELA" | "KUKHANYENI" | "KWALUSENI" | "LAMGABHI" | "LOBAMBA LOMDZALA" | "LUDZELUDZE" | "MAFUTSENI" | "MAHLANGATSHA" | "MANGCONGCO" | "MANZINI NORTH" | "MANZINI SOUTH" | "MHLAMBANYATSI" | "MKHIWENI" | "MTFONGWANENI" | "NGWEMPISI" | "NHLAMBENI" | "NKOMIYAHLABA" | "NTONDOZI" | "PHONDO" | "GEGE" | "HOSEA" | "KUBUTA" | "KUMETHULA" | "MASEYISINI" | "MATSANJENI SOUTH" | "MTSAMBAMA" | "NGUDZENI" | "NKWENE" | "SANDLENI" | "SHISELWENI I" | "SHISELWENI II" | "SIGWE" | "SOMNTONGO" | "ZOMBODZE EMUVA" | "MOTSHANE" | "Unspecified"; + language?: string; + link?: builders.BackboneElement[]; + managingOrganization?: builders.Reference; + maritalStatus?: builders.CodeableConcept; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + multipleBirth?: boolean | number; + name?: builders.HumanName[]; + nationality?: builders.Extension[]; + photo?: builders.Attachment[]; + registrationDate?: string[]; + telecom?: builders.ContactPoint[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type Practitioner_SzPractitioner_Props = { + active?: boolean; + address?: builders.Address[]; + birthDate?: string; + communication?: builders.CodeableConcept[]; + contained?: any[]; + extension?: builders.Extension[]; + gender?: string; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + name?: builders.HumanName[]; + photo?: builders.Attachment[]; + qualification?: builders.BackboneElement[]; + telecom?: builders.ContactPoint[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type Procedure_SzProcedure_Props = { + asserter?: builders.Reference; + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept[]; + category?: builders.CodeableConcept; + code?: builders.CodeableConcept; + complication?: builders.CodeableConcept[]; + complicationDetail?: builders.Reference[]; + contained?: any[]; + encounter?: builders.Reference; + extension?: builders.Extension[]; + focalDevice?: builders.BackboneElement[]; + followUp?: builders.CodeableConcept[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + instantiatesCanonical?: any[]; + instantiatesUri?: string[]; + language?: string; + location?: builders.Reference; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + outcome?: builders.CodeableConcept; + partOf?: builders.Reference[]; + performed?: string | builders.Period | builders.Age | builders.Range; + performer?: builders.BackboneElement[]; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + recorder?: builders.Reference; + report?: builders.Reference[]; + status?: string; + statusReason?: builders.CodeableConcept; + subject?: builders.Reference; + text?: builders.Narrative; + usedCode?: builders.CodeableConcept[]; + usedReference?: builders.Reference[]; + [key: string]: any; +}; + +declare type ServiceRequest_SzLabRequest_Props = { + asNeeded?: boolean | builders.CodeableConcept; + authoredOn?: string; + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept[]; + category?: builders.CodeableConcept[]; + code?: "CD4" | "AST" | "CREA" | "HB" | "LFT" | "HIVVL" | "ICUP" | "GGT" | "KFT" | "CARDE" | "ART" | "ELECT" | "GLUCF" | "GLUCR" | "GTT" | "CL" | "K" | "NA" | "CO2" | "UA" | "CREAC" | "TBIL" | "BILI" | "ALP" | "ALT" | "ALB" | "TPROT" | "CK" | "CKMB" | "MYOG" | "TROPI" | "MAG" | "PO4" | "CAL" | "LDH" | "TRIG" | "LDL" | "HDL" | "CHOL" | "AMY" | "LACT" | "CRP" | "LIPAS" | "HBA1C" | "M-TP" | "FBC" | "DIFF" | "ESR" | "RET" | "COOMB" | "SICKL" | "MAL" | "MALPC" | "MALS" | "PT" | "APTT" | "PI" | "BTIME" | "DDIME" | "TFT" | "T3" | "T4" | "TSH" | "LH" | "FSH" | "E2" | "PROG" | "PRL" | "TESTO" | "CORT" | "PTH" | "HCGSU" | "HCGSB" | "ABORH" | "RPR" | "TPHA" | "PSSA" | "BHCG" | "AFP" | "CA153" | "CA125" | "CEA" | "CA199" | "GRAM" | "MCSF" | "CSF" | "CRINK" | "SEMEN" | "HIVR" | "HIVE" | "HIPOC" | "LCRAG" | "TOXO" | "HELIP" | "HEAG" | "HBCAB" | "HEPC" | "QCRPR" | "WIDAL" | "RF" | "ASOT" | "XMAT" | "HLAX" | "ANISC" | "DCT" | "ICT" | "IGGS" | "ZN1" | "CUBFL" | "HIVGE" | "TROPT" | "UCHEM" | "CRAG" | "CRGLF" | "TBLAM" | "17OPH" | "A1ATR" | "ACA" | "ACE" | "ACERA" | "ACLA" | "ACOLA" | "ACTH" | "ADENO" | "ADNA" | "ALDOS" | "AMITA" | "AMYU" | "ANA" | "ANCA" | "ANDRO" | "ANTBG" | "ANTE" | "AUR1" | "AUR2" | "AUR3" | "AUR4" | "BFCC" | "BG" | "BGAS" | "BGRP" | "BHCG2" | "BM" | "BNP" | "BPARA" | "BPARM" | "C/UP" | "C1EST" | "CA724" | "CAERU" | "CALCI" | "CALCT" | "CARB" | "CATS" | "CHLAM" | "CMP" | "CMV" | "CPEPT" | "CPROT" | "CRPS" | "CSFA" | "CSFAG" | "CSFC" | "CUCSF" | "CULFU" | "CULMY" | "CULPU" | "CULSP" | "CUTUP" | "CYTCO" | "DBILI" | "DBSGE" | "DCRT" | "DIFFM" | "DIFFF" | "DRUGR" | "DRUGS" | "E2M" | "EQAM1" | "FDP" | "FE" | "FERR" | "FERRX" | "FGLU" | "FNA" | "FPROT" | "GLOB" | "GLUC" | "GLUCS" | "GNBST" | "GPCST" | "GROUP" | "GTT2" | "GTT4" | "GYN" | "GYNAE" | "HBELE" | "HBSAB" | "HBSAG" | "HELIC" | "HEPAG" | "HEPAM" | "HEPD" | "HEPE" | "HERP" | "HGH" | "HI2DF" | "HISIN" | "HISSU" | "HISTO" | "HISTX" | "HIV48" | "HIVA" | "HIVC" | "HIVCW" | "HIVLD" | "HIVPC" | "HIVP" | "HIVST" | "HIVWB" | "HSAGR" | "HSV" | "HVART" | "HYS" | "ICD10" | "IGE" | "INR" | "IRONX" | "LALB" | "LCHOL" | "LCOT" | "LCREA" | "LESR" | "LFBC" | "LGGT" | "LGLPF" | "LGLPR" | "LGLUF" | "LGLUR" | "LHBA1" | "LHDL" | "LI" | "LIPO" | "LRF" | "LUPUS" | "LUR" | "MALB" | "MBCAT" | "MBCLT" | "MBFAM" | "MBFAS" | "MBFCA" | "MBFL" | "MBFLU" | "MBFPE" | "MBFPL" | "MBFSY" | "MBTRA" | "MBUCT" | "MBUMC" | "MCES" | "MEAS" | "MENDC" | "MEYE" | "MGAS" | "MICBC" | "MICFL" | "MICNS" | "MICSA" | "MICTS" | "MICU" | "MONO" | "MPEN" | "MPT64" | "MPUS" | "MRCSW" | "MSPUT" | "MSTRS" | "MTISS" | "MUMPS" | "MUPS" | "MWUS" | "MYGT" | "MYMIC" | "MYOB" | "NGYN" | "MFOB" | "PARA" | "PBILI" | "PBS" | "PCRAP" | "PCTR" | "PHENB" | "PHENY" | "PHVS" | "PLAT" | "PM" | "POLIO" | "POSTM" | "POSTX" | "PRD" | "PROT" | "PRT24" | "PSA" | "PTT" | "RA" | "RAPI2" | "RCCHE" | "RH" | "ROTA" | "ROTPC" | "RUB" | "SADA" | "SCREA" | "SEICU" | "SENFA" | "SENGN" | "SENGP" | "SENSA" | "SENST" | "SENSU" | "SHBG" | "STDM" | "STOOL" | "TBA1" | "TBA2" | "TBA3" | "TBBA" | "TBCL" | "TBCL1" | "TBCL2" | "TBCL3" | "TBCON" | "TBEQA" | "TBGEN" | "TBHCG" | "TBILI" | "TBINF" | "TBLP1" | "TBLP2" | "TBLP3" | "TBLP" | "TBLPS" | "TBLSF" | "TBPC1" | "TBPC2" | "TBPC3" | "TBRAP" | "TBRP1" | "TBRP2" | "TBRP3" | "TBSF1" | "TBSF2" | "TBSF3" | "TBSFF" | "TBSS" | "TBSS2" | "TBSS3" | "TBSSF" | "TBZ" | "TBZ1" | "TBZ2" | "TBZ3" | "TBZN" | "TBZN1" | "TBZN2" | "TBZN3" | "THCGB" | "TT3" | "TTA" | "LURIC" | "UBHCG" | "UBJP" | "UCREA" | "UCUL" | "UE" | "UECA" | "UECA+" | "UMAC" | "UMIC" | "UPREG" | "UPROT" | "UREA" | "VALPR" | "VDRL" | "VLPOC" | "VMAC" | "VZV" | "WBCP" | "WCC" | "WF" | "YELLO" | "ZN" | "ZN2" | "ZN3" | "TBSF" | "QHCG" | "CVID" | "CVRP" | "MEASL" | "CD4 Test" | "AST (Aspartate Transaminase)" | "Creatinine " | "Haemoglobin" | "Liver Function Tests - Profile" | "HIV Viral Load (Plasma)" | "ICU- Profile" | "Gamma-Glutamyl Transferase GGT" | "Kidney Function Test - Profile" | "Cardiac Enzymes" | "ART Baseline - Profile" | "Electrolytes - Profile" | "Glucose (Fasting)" | "Glucose (Random)" | "Glucose Tolerance Test" | "S-Chloride" | "S-Potassium" | "S-Sodium" | "S-Carbon Dioxide" | "Uric Acid" | "Creatinine Clearance" | "Total Bilirubin" | "Total and Direct Bilirubin" | "Alkaline Phosphatase" | "ALT (Alanine Aminotransferase)" | "Albumin" | "Total Protein" | "Creatine Kinase (CK)" | "Creatine Kinase (MB-Frac)" | "Myoglobin" | "S-Troponin I" | "S-Magnesium" | "Phosphate" | "S-Calcium" | "Lactate Dehydrogenase (LD)" | "Triglyceride" | "LDL - Cholesterol" | "HDL - Cholesterol" | "Total Cholesterol" | "Serum Amylase" | "Lactate" | "C-Reactive Protein (CRP)" | "Lipase (Serum)" | "Glycated Haemoglobin (HbA1C)" | "Micro Total Protein" | "FBC (Full Blood Count)" | "Differential Count" | "ESR (Westergren)" | "Reticulocyte Studies" | "Coombs Test" | "Sickle Cells Screen" | "Malaria" | "Malaria: PCR" | "Malaria Smear: Parasitemia" | "Prothrombin Time(INR/PI)" | "Partial Thromboplastin Time" | "Prothrombin Time (INR/PI)" | "Bleeding Time" | "D-Dimer" | "Thyroid Function Tests " | "Free Tri-iodothyronine (FT3)" | "Free Thyroxine (T4)" | "Thyroid Stimulating Hormone" | "Luteinising Hormone" | "Follicle Stimulating Hormone" | "17 b Oestradial (E2)" | "Progesterone" | "Prolactin" | "Testosterone" | "Cortisol" | "Parathyroid Hormone" | "Qualitative -HCG (Urine)" | "Qualitative  -HCG" | "ABO + Rh Group" | "Syphilis RPR" | "TPHA" | "ANTIBIOTIC SENS: PSA" | "Beta-HCG (Pregnancy Test)" | "Alfa Feto Protein" | "CA15-3" | "CA125" | "Carcino-embryonic Antigen" | "CA19-9" | "MICROBIOLOGY : GRAM STAIN" | "MICROBIOLOGY : CSF" | "CSF Chem Profile" | "India Ink Stain" | "Semen Analysis" | "HIV Rapid Test" | "HIV ELISA" | "Point of Care DNA PCR" | "LFA Cryptococal Antigen" | "Toxoplasmosis Test" | "MICROBIOLOGY : H.pylori" | "Hepatitis A IgG" | "Hepatitis B Core Antibodies" | "Hepatitis C Antibodies" | "QC RPR" | "Widal" | "Rheumatoid Factor" | "Anti-Streptolysin O Test" | "Cross Match" | "Grouping/Crossmatch" | "Antibody Screening (^Bbloodban" | "Direct Coombs Test" | "Indirect Coomb's Test" | "IMMUNOGLOBULINS" | "Smear Microscopy 1" | "Culture : Body Fuilds" | "HIV GENE XPERT" | "Troponin-T" | "Biochemistry : Urine (Dipstick)" | "CRAG (CSF)" | "CRAG (LFA) Blood" | "TB LAM Ag TEST" | "17 Hydroxyprogesterone" | "Alpha-1-antitrypsin" | "Anti-Centromere Antibodies" | "Angiotensin Converting Enzyme" | "Acetylcholine Receptor Ab's" | "Anti-Cardiolipin Antibodies" | "Anti-Collagen Antibodies" | "Adrenocorticotrophic Hormone" | "ADENO" | "Anti-Double Stranded DNA" | "Aldosterone" | "Anti-Mitochondrial Antibodies" | "Urine Amylase" | "Anti-Nuclear Antibodies" | "Anti-Neutrophil Cytoplasmic Ab" | "Androstenedione" | "Blood Group + Rh" | "Antenatal Screening" | "TB Auramine Specimen 1" | "TB Auramine Specimen 2" | "TB Auramine Specimen 3" | "TB Auramine Specimen 4" | "Cell Count : Body Fluid" | "Blood Group + Rh" | "Blood Gases" | "Blood grouping" | "HCG TOTAL BETA 2" | "Bone Marrow Report" | "B-Type Natriuretic Peptide" | "Blood Parasite Investigation" | "Blood Parasites" | "Cutup" | "C1 Esterase Inhibitor Assay" | "CA 72-4" | "Caeruloplasmin" | "Calcitonin" | "1.25 Dihydroxy Vitamin D" | "S-Carbamazepine" | "U-Catecholamines" | "Antibody test for Chlamydia" | "Calcium,Magnesium,PO4" | "CYTOMEGALOVIRUS" | "C-Peptide" | "CSF PROTEIN" | "CRP Serology" | "CSF Analysis" | "BACTERIAL ANTIGEN TESTS" | "Cell Count : CSF" | "CULTURE : CSF" | "MYCOLOGY" | "Mycology Culture" | "Culture : PUS" | "Culture : Sputum" | "Histo Cut Up (Dummy)" | "Gynaecological Detail" | "Conjugated Bilirubin (Direct)" | "Dry Blood Spot Gene Xpert" | "1:20 Diluted CRT" | "Differential Count" | "Diff Micro" | "Drug Resistance Testing" | "DRUG SCREEN" | "Oestradiol" | "Microbiology EQA" | "Fibrinogen Deg. Products (FDP)" | "S-Iron" | "Ferritin" | "S-Ferritin" | "Fluid-Glucose" | "Fine Needle Biopsy" | "F-Total Protein" | "Globulin" | "Glucose" | "Glucose Strip" | "GNB Sensitivity Testing" | "GPC Sensitivity testing" | "Blood Group Serology" | "GTT - 2 hourly" | "GTT Prolonged" | "Gynaecological Cytology" | "MICROSCOPIC EXAMINATION" | "Haemoglobin Electrophoresis" | "Hepatitis B Surface Antibody" | "Hepatitis B Surface Antigen" | "Helicobacter pylori Antibodies" | "Hepatitis A (IgG)(Immunity)" | "Hepatitis A IgM" | "HEPATITIS D INVESTIGATION" | "HEPATITIS E INVESTIGATION" | "Herpes simplex virus" | "Human Growth Hormone" | "HIV Viral Load (DBS)" | "CLINICAL HISTORY" | "Supplementary Report" | "MACROSCOPIC EXAMINATION" | "Histo Extended text" | "CD4 + CD8*" | "HIV ASANTE" | "HIV Ag/Ab Combo" | "Child Welfare Number" | "HIV Viral Load*" | "HIV DNA PCR" | "HIV RAPID TEST" | "HIV EID Information" | "HIV DNA PCR : Whole Blood" | "HepB surface antigen Rapid" | "Herpes simplex Virus" | "ART Number" | "Homocysteine" | "ICD10" | "Total IgE" | "INR" | "S-IRON STUDIES" | "ALBUMIN" | "S-Cholesterol" | "Cotinine ELISA" | "Creatinine" | "ESR (Westergren)" | "Full Blood Count" | "Gamma Glutamyl Transferase" | "P-Glucose (Fasting)" | "P-Glucose (Random)" | "S-Glucose (Fasting)" | "S-Glucose (Random)" | "HbA1C" | "HDL Cholesterol" | "S-Lithium" | "Lipogram" | "Rheumatoid factor" | "Lupus anticoagulant" | "Urea" | "Micro-albumin" | "Microbiology: Catheter Tip" | "Microbiology: Catheter Line Ti" | "MICROBIOLOGY:AMNIOTIC FLUID" | "MICROBIOLOGY : ASCITIC FLUID" | "MICROBIOLOGY:PERICARDIAL FLUID" | "Microbiology:Body Fluid" | "Microbiology:Body Fluid" | "MICROBIOLOGY:PERITONEAL FLUID" | "MICROBIOLOGY:PLEURAL FLUID" | "MICROBIOLOGY:SYNOVIAL FLUID" | "Microbiology: Tracheal Tip" | "Microbiology: Urinary Catheter" | "Microbiology:Umbilical Cathete" | "MICROBIOLOGY : CERVICAL SWAB" | "MICROBIOLOGY : EAR SWAB" | "MICROBIOLOGY:ENDOCERVICAL SWAB" | "MICROBIOLOGY : EYE SWAB" | "MICROBIOLOGY : GASTRIC ASP" | "MICROBIOLOGY: BLOOD CULTURE" | "MICROBIOLOGY : FLUID" | "MICROBIOLOGY : NASAL SWAB" | "Microscopy - Sexual Assault" | "MICROBIOLOGY : THROAT SWAB" | "MICROBIOLOGY: URINE" | "Epstein Barr Ser-Mono Test" | "MICROBIOLOGY : PENILE SWAB" | "MPT64 Rapid" | "MICROBIOLOGY : PUS" | "MICROBIOLOGY : RECTAL SWAB" | "MICROBIOLOGY : SPUTUM" | "MICROBIOLOGY : STOOL CULTURE" | "MICROBIOLOGY : TISSUE" | "Mumps Serology (ELISA)" | "MICROBIOLOGY : URETHRAL SWAB" | "MICROBILOLOGY: Wound Swab" | "Germ Tube Test" | "Microscopy for Fungi" | "Myogloblin (Serum)" | "Non-Gynaecological Cytology" | "Faecal Occult Blood" | "Parasitology:Urine" | "Neonatal Bilirubin" | "Peripheral Blood Smear" | "Factor V Leiden Mutation" | "Procalcitonin" | "Phenobarbitone" | "S-Phenytoin" | "PARASITOLOGY: VAGINAL SWAB" | "Platelets" | "Post-Mortem Examination" | "Polio Neutralisation Serology" | "POST MORTEM REPORT" | "Postmorten Supplement" | "Pregnandiol" | "Total Protein & Albumin" | "Urine Protein (24 hr)" | "Prostate Specific Antigen" | "Part Thromboplastin Time (PTT)" | "RA Latex Test" | "HIV Rapid Repeat" | "Cholinesterase" | "RHESUS FACTOR" | "Rotavirus Antigen EIA Test" | "Rotavirus: PCR" | "Rubella Serology" | "Adenosine Deaminase" | "Creatinine Clearance" | "SENS ICU" | "ANTIBIOTIC SUSCEPTIBILITY" | "ANTIBIOTIC SENS: GN" | "ANTIBIOTIC SENS: GP" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: STOOL" | "ANTIBIOTIC SENS: URINE" | "Sex Hormone Binding Globulin" | "Direct Microscopy : Stool" | "Stool Microscopy" | "TB Microscopy Auramine 1" | "TB Microscopy Auramine 2" | "TB Microscopy Specimen 3" | "TB Blood Agar (TB Nat Ref)" | "TB Culture" | "TB Culture 1" | "TB Culture 2" | "TB Culture 3" | "TB Control" | "TB EQA" | "TB Genexpert" | "S-HCG Total Beta" | "S-Total Bilirubin" | "TB Diagnosis Information" | "TB Line Probe SP1" | "TB Line Probe SP2" | "TB Line Probe SP3" | "TB First Line -Line Probe Assay" | "TB Second Line -Line Probe Assay" | "2nd Line Probe Assay Final" | "TB PCR Specimen 1" | "TB PCR Specimen 2" | "TB PCR Specimen 3" | "TB Capilia Rapid Test" | "TB Capilia Rapid ID Test SP1" | "TB Capilia Rapid ID Test SP2" | "TB Capilia Rapid ID Test SP3" | "TB First Line Sens 1" | "TB First Line Sens 2" | "TB First Line Sens 3" | "TB First Line Sens Final" | "TB Second Line DST" | "TB Seconde Line Sens 2" | "TB Seconde Line Sens 3" | "TB Second Line Final" | "TBZN TB National Ref Lab" | "TB Direct Microscopy Spec. 1" | "TB Direct Microscopy Spec. 2" | "TB Direct Microscopy Spec. 3" | "TB Smear Microscopy" | "TBZN SP1" | "TBZN SP2" | "TBZN SP3" | "S-TOTAL HCG Beta" | "Total Tri-iodothyronine (TT3)" | "Tetanus Serology" | "Uric Acid" | "Urine Beta-HCG (Preg Test)" | "Urine Bence Jones Protein" | "Creatine Clearance" | "CULTURE : Urine" | "Urea & electrolytes" | "Urea, Electrolytes & Creatinin" | "Urea, Elec, Creat & eGFR" | "MACROSCOPY : Urine" | "MICROSCOPY : Urine" | "Urine Pregnancy Test" | "Total Protein (Urine)" | "Urea" | "S-Valproate" | "VDRL" | "HIV VIRAL LOAD (POC)" | "Vanillylmandelic Acid" | "VARICELLA-ZOSTER SEROLOGY" | "White Cell Count + Platelets" | "White Cell Count" | "WEIL FELIX" | "Yellow Fever" | "TBZN" | "Smear Microscopy 2" | "TBZN Specimen 3" | "TB First Line DST" | "Quantitative Beta-HCG (Blood)" | "PCR SARS-CoV-2" | "COVID-19 Ag Rapid Test" | "Measles"; + contained?: any[]; + doNotPerform?: boolean; + encounter?: builders.Reference; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + instantiatesCanonical?: any[]; + instantiatesUri?: string[]; + insurance?: builders.Reference[]; + intent?: string; + language?: string; + locationCode?: builders.CodeableConcept[]; + locationReference?: builders.Reference[]; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + occurrence?: string | builders.Period | builders.Timing; + orderDetail?: builders.CodeableConcept[]; + patientInstruction?: string; + performer?: builders.Reference[]; + performerType?: builders.CodeableConcept; + priority?: string; + quantity?: builders.Quantity | builders.Ratio | builders.Range; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + relevantHistory?: builders.Reference[]; + replaces?: builders.Reference[]; + requester?: builders.Reference; + requisition?: builders.Identifier; + specimen?: builders.Reference[]; + status?: string; + subject?: builders.Reference; + supportingInfo?: builders.Reference[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type ServiceRequest_SzReferral_Props = { + asNeeded?: boolean | builders.CodeableConcept; + authoredOn?: string; + basedOn?: builders.Reference[]; + bodySite?: builders.CodeableConcept[]; + category?: builders.CodeableConcept[]; + code?: builders.CodeableConcept; + contained?: any[]; + doNotPerform?: boolean; + encounter?: builders.Reference; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + instantiatesCanonical?: any[]; + instantiatesUri?: string[]; + insurance?: builders.Reference[]; + intent?: string; + language?: string; + locationCode?: builders.CodeableConcept[]; + locationReference?: builders.Reference[]; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + occurrence?: string | builders.Period | builders.Timing; + orderDetail?: builders.CodeableConcept[]; + patientInstruction?: string; + performer?: builders.Reference[]; + performerType?: builders.CodeableConcept; + priority?: string; + quantity?: builders.Quantity | builders.Ratio | builders.Range; + reasonCode?: builders.CodeableConcept[]; + reasonReference?: builders.Reference[]; + recipient?: any[] | boolean[] | string[] | number[] | builders.Address[] | builders.Age[] | builders.Annotation[] | builders.Attachment[] | builders.CodeableConcept[] | builders.Coding[] | builders.ContactPoint[] | builders.Count[] | builders.Distance[] | builders.Duration[] | builders.HumanName[] | builders.Identifier[] | builders.Money[] | builders.Period[] | builders.Quantity[] | builders.Range[] | builders.Ratio[] | builders.Reference[] | builders.SampledData[] | builders.Signature[] | builders.Timing[] | builders.ContactDetail[] | builders.Contributor[] | builders.DataRequirement[] | builders.Expression[] | builders.ParameterDefinition[] | builders.RelatedArtifact[] | builders.TriggerDefinition[] | builders.UsageContext[] | builders.Dosage[] | builders.Meta[]; + relevantHistory?: builders.Reference[]; + replaces?: builders.Reference[]; + requester?: builders.Reference; + requisition?: builders.Identifier; + specimen?: builders.Reference[]; + status?: string; + subject?: builders.Reference; + supportingInfo?: builders.Reference[]; + text?: builders.Narrative; + [key: string]: any; +}; + +declare type Specimen_SzLabSpecimen_Props = { + accessionIdentifier?: builders.Identifier; + collection?: builders.BackboneElement; + condition?: builders.CodeableConcept[]; + contained?: any[]; + container?: builders.BackboneElement[]; + extension?: builders.Extension[]; + id?: string; + identifier?: builders.Identifier[]; + implicitRules?: string; + language?: string; + meta?: builders.Meta; + modifierExtension?: builders.Extension[]; + note?: builders.Annotation[]; + parent?: builders.Reference[]; + processing?: builders.BackboneElement[]; + receivedTime?: string; + request?: builders.Reference[]; + status?: string; + subject?: builders.Reference; + text?: builders.Narrative; + type?: builders.CodeableConcept; + [key: string]: any; +}; + +declare const addExtension: (resource: any, url: any, value: any) => void; +declare const c: typeof builders.coding; +declare const cc: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept; +declare const coding: typeof builders.coding; +declare const composite: (object: any, key: any, value: any) => void; +declare const concept: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept; +declare const ensureConceptText: (concept: any) => void; +declare const ext: (url: string, value: any, props?: Omit) => { + extension: ({ + url: string; + } & Omit)[]; +}; +declare const extendSystemMap: (newMappings: any) => void; +declare const extendValues: (url: any, values: any, type?: string) => void; +declare const extension: (url: string, value: any, props?: Omit) => { + extension: ({ + url: string; + } & Omit)[]; +}; +declare const findExtension: (obj: any, targetUrl: any, path: any) => any; +declare const id: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any; +declare const identifier: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any; +declare const lookupValue: (url: any, code: any) => any; +declare const mapSystems: (obj: any) => any; +declare const mapValues: (obj: any, hints: any) => any; +declare const ref: (ref: any, opts?: {}) => any; +declare const reference: (ref: any, opts?: {}) => any; +declare const setSystemMap: (newMappings: any) => (state: any) => any; +declare const setValues: (url: any, values: any, type?: string) => void; +declare const value: (value: any, system: any, ...extra: any[]) => any; + /** * Create a Appointment resource. * @public @@ -56,8 +737,8 @@ export * from "./datatypes"; * @param {Reference} [props.supportingInformation] - Additional information to support the appointment * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function appointment(type: "SzAppointment", props: Appointment_SzAppointment_Props): any; -export declare function appointment(props: Appointment_SzAppointment_Props): any; +declare function appointment(type: "SzAppointment", props: Appointment_SzAppointment_Props): any; +declare function appointment(props: Appointment_SzAppointment_Props): any; /** * Create a Condition resource. * @public @@ -89,8 +770,8 @@ export declare function appointment(props: Appointment_SzAppointment_Props): any * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.verificationStatus] - unconfirmed | provisional | differential | confirmed | refuted | entered-in-error. Accepts all values from http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1 */ -export declare function condition(type: "SzCondition", props: Condition_SzCondition_Props): any; -export declare function condition(props: Condition_SzCondition_Props): any; +declare function condition(type: "SzCondition", props: Condition_SzCondition_Props): any; +declare function condition(props: Condition_SzCondition_Props): any; /** * Create a Encounter resource. * @public @@ -128,8 +809,8 @@ export declare function condition(props: Condition_SzCondition_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Specific type of encounter. Accepts all values from http://hl7.org/fhir/ValueSet/encounter-type|4.0.1 */ -export declare function encounter(type: "SzEncounter", props: Encounter_SzEncounter_Props): any; -export declare function encounter(props: Encounter_SzEncounter_Props): any; +declare function encounter(type: "SzEncounter", props: Encounter_SzEncounter_Props): any; +declare function encounter(props: Encounter_SzEncounter_Props): any; /** * Create a EpisodeOfCare resource. * @public @@ -156,8 +837,8 @@ export declare function encounter(props: Encounter_SzEncounter_Props): any; * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Episode of care classification. Accepts all values from https://hapifhir.eswatinihie.com/fhir/ValueSet/SzEpisodeOfCareTypeVS */ -export declare function episodeOfCare(type: "SzEpisodeOfCare", props: EpisodeOfCare_SzEpisodeOfCare_Props): any; -export declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props): any; +declare function episodeOfCare(type: "SzEpisodeOfCare", props: EpisodeOfCare_SzEpisodeOfCare_Props): any; +declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props): any; /** * Create a Location resource. * @public @@ -189,8 +870,8 @@ export declare function episodeOfCare(props: EpisodeOfCare_SzEpisodeOfCare_Props * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Location Type. Accepts all values from http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType|3.0.0 */ -export declare function location(type: "SzLocation", props: Location_SzLocation_Props): any; -export declare function location(props: Location_SzLocation_Props): any; +declare function location(type: "SzLocation", props: Location_SzLocation_Props): any; +declare function location(props: Location_SzLocation_Props): any; /** * Create a Medication resource. * @public @@ -213,8 +894,8 @@ export declare function location(props: Location_SzLocation_Props): any; * @param {string} [props.status] - active | inactive | entered-in-error. Accepts all values from http://hl7.org/fhir/ValueSet/medication-status|4.0.1 * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function medication(type: "SzMedication", props: Medication_SzMedication_Props): any; -export declare function medication(props: Medication_SzMedication_Props): any; +declare function medication(type: "SzMedication", props: Medication_SzMedication_Props): any; +declare function medication(props: Medication_SzMedication_Props): any; /** * Create a MedicationDispense resource. * @public @@ -253,8 +934,8 @@ export declare function medication(props: Medication_SzMedication_Props): any; * @param {dateTime} [props.whenHandedOver] - When product was given out * @param {dateTime} [props.whenPrepared] - When product was packaged and reviewed */ -export declare function medicationDispense(type: "SzMedicationDispense", props: MedicationDispense_SzMedicationDispense_Props): any; -export declare function medicationDispense(props: MedicationDispense_SzMedicationDispense_Props): any; +declare function medicationDispense(type: "SzMedicationDispense", props: MedicationDispense_SzMedicationDispense_Props): any; +declare function medicationDispense(props: MedicationDispense_SzMedicationDispense_Props): any; /** * Create a MedicationRequest resource. * @public @@ -301,8 +982,8 @@ export declare function medicationDispense(props: MedicationDispense_SzMedicatio * @param {Reference} [props.supportingInformation] - Information to support ordering of the medication * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function medicationRequest(type: "SzMedicationRequest", props: MedicationRequest_SzMedicationRequest_Props): any; -export declare function medicationRequest(props: MedicationRequest_SzMedicationRequest_Props): any; +declare function medicationRequest(type: "SzMedicationRequest", props: MedicationRequest_SzMedicationRequest_Props): any; +declare function medicationRequest(props: MedicationRequest_SzMedicationRequest_Props): any; /** * Create a Observation resource. * @public @@ -342,11 +1023,11 @@ export declare function medicationRequest(props: MedicationRequest_SzMedicationR * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {CodeableConcept} [props.value] - Actual result */ -export declare function observation(type: "SzCauseOfDeath", props: Observation_SzCauseOfDeath_Props): any; -export declare function observation(type: "SzClinicalObservation", props: Observation_SzClinicalObservation_Props): any; -export declare function observation(type: "SzLabResult", props: Observation_SzLabResult_Props): any; -export declare function observation(type: "SzMannerOfDeath", props: Observation_SzMannerOfDeath_Props): any; -export declare function observation(type: "SzVitalSigns", props: Observation_SzVitalSigns_Props): any; +declare function observation(type: "SzCauseOfDeath", props: Observation_SzCauseOfDeath_Props): any; +declare function observation(type: "SzClinicalObservation", props: Observation_SzClinicalObservation_Props): any; +declare function observation(type: "SzLabResult", props: Observation_SzLabResult_Props): any; +declare function observation(type: "SzMannerOfDeath", props: Observation_SzMannerOfDeath_Props): any; +declare function observation(type: "SzVitalSigns", props: Observation_SzVitalSigns_Props): any; /** * Create a Organization resource. * @public @@ -371,8 +1052,8 @@ export declare function observation(type: "SzVitalSigns", props: Observation_SzV * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Organization Type. Accepts all values from http://hl7.org/fhir/ValueSet/organization-type|4.0.1 */ -export declare function organization(type: "SzOrganization", props: Organization_SzOrganization_Props): any; -export declare function organization(props: Organization_SzOrganization_Props): any; +declare function organization(type: "SzOrganization", props: Organization_SzOrganization_Props): any; +declare function organization(props: Organization_SzOrganization_Props): any; /** * Create a Patient resource. * @public @@ -407,8 +1088,8 @@ export declare function organization(props: Organization_SzOrganization_Props): * @param {ContactPoint} [props.telecom] - A contact detail for the individual * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function patient(type: "SzPatient", props: Patient_SzPatient_Props): any; -export declare function patient(props: Patient_SzPatient_Props): any; +declare function patient(type: "SzPatient", props: Patient_SzPatient_Props): any; +declare function patient(props: Patient_SzPatient_Props): any; /** * Create a Practitioner resource. * @public @@ -433,8 +1114,8 @@ export declare function patient(props: Patient_SzPatient_Props): any; * @param {ContactPoint} [props.telecom] - A contact detail for the practitioner (that apply to all roles) * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function practitioner(type: "SzPractitioner", props: Practitioner_SzPractitioner_Props): any; -export declare function practitioner(props: Practitioner_SzPractitioner_Props): any; +declare function practitioner(type: "SzPractitioner", props: Practitioner_SzPractitioner_Props): any; +declare function practitioner(props: Practitioner_SzPractitioner_Props): any; /** * Create a Procedure resource. * @public @@ -477,8 +1158,8 @@ export declare function practitioner(props: Practitioner_SzPractitioner_Props): * @param {string} [props.usedCode] - Coded items used during the procedure. Accepts all values from http://hl7.org/fhir/ValueSet/device-kind|4.0.1 * @param {Reference} [props.usedReference] - Items used during procedure */ -export declare function procedure(type: "SzProcedure", props: Procedure_SzProcedure_Props): any; -export declare function procedure(props: Procedure_SzProcedure_Props): any; +declare function procedure(type: "SzProcedure", props: Procedure_SzProcedure_Props): any; +declare function procedure(props: Procedure_SzProcedure_Props): any; /** * Create a ServiceRequest resource. * @public @@ -527,8 +1208,8 @@ export declare function procedure(props: Procedure_SzProcedure_Props): any; * @param {Reference} [props.supportingInfo] - Additional clinical information * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation */ -export declare function serviceRequest(type: "SzLabRequest", props: ServiceRequest_SzLabRequest_Props): any; -export declare function serviceRequest(type: "SzReferral", props: ServiceRequest_SzReferral_Props): any; +declare function serviceRequest(type: "SzLabRequest", props: ServiceRequest_SzLabRequest_Props): any; +declare function serviceRequest(type: "SzReferral", props: ServiceRequest_SzReferral_Props): any; /** * Create a Specimen resource. * @public @@ -556,5 +1237,8 @@ export declare function serviceRequest(type: "SzReferral", props: ServiceRequest * @param {Narrative} [props.text] - Text summary of the resource, for human interpretation * @param {string} [props.type] - Type of specimen being collected. Accepts all values from http://terminology.hl7.org/CodeSystem/v2-0487|3.0.0 */ -export declare function specimen(type: "SzLabSpecimen", props: Specimen_SzLabSpecimen_Props): any; -export declare function specimen(props: Specimen_SzLabSpecimen_Props): any; +declare function specimen(type: "SzLabSpecimen", props: Specimen_SzLabSpecimen_Props): any; +declare function specimen(props: Specimen_SzLabSpecimen_Props): any; + +export { addExtension, appointment, c, cc, coding, composite, concept, condition, encounter, ensureConceptText, episodeOfCare, ext, extendSystemMap, extendValues, extension, findExtension, id, identifier, location, lookupValue, mapSystems, mapValues, medication, medicationDispense, medicationRequest, observation, organization, patient, practitioner, procedure, ref, reference, serviceRequest, setSystemMap, setValues, specimen, value }; + diff --git a/packages/fhir-eswatini/types/datatypes.d.ts b/packages/fhir-eswatini/types/datatypes.d.ts deleted file mode 100644 index 1702a92101..0000000000 --- a/packages/fhir-eswatini/types/datatypes.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { builders } from '@openfn/language-fhir-4'; -export declare const addExtension: (resource: any, url: any, value: any) => void, c: typeof builders.coding, cc: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept, coding: typeof builders.coding, composite: (object: any, key: any, value: any) => void, concept: (codings: (builders.Coding | [string, string, Omit?]) | (builders.Coding | [string, string, Omit?])[], extra?: Omit) => builders.CodeableConcept, ext: (url: string, value: any, props?: Omit) => { - extension: ({ - url: string; - } & Omit)[]; -}, extendSystemMap: (newMappings: any) => void, extendValues: (url: any, values: any, type?: string) => void, extension: (url: string, value: any, props?: Omit) => { - extension: ({ - url: string; - } & Omit)[]; -}, findExtension: (obj: any, targetUrl: any, path: any) => any, id: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any, identifier: (id: string | builders.Identifier, ext?: any[], valueHints?: any) => any, lookupValue: (url: any, code: any) => any, mapSystems: (obj: any) => any, mapValues: (obj: any, hints: any) => any, ref: (ref: any, opts?: {}) => any, reference: (ref: any, opts?: {}) => any, setSystemMap: (newMappings: any) => (state: any) => any, setValues: (url: any, values: any, type?: string) => void, value: (value: any, system: any, ...extra: any[]) => any; From 31cee9a472f8199daaf1a4852e15a9a93de3afa1 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Thu, 28 May 2026 11:02:56 +0300 Subject: [PATCH 05/10] fix: remove skipped tests Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/test/resources/Patient.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fhir-eswatini/test/resources/Patient.test.ts b/packages/fhir-eswatini/test/resources/Patient.test.ts index 653d767e60..a8d16ac200 100644 --- a/packages/fhir-eswatini/test/resources/Patient.test.ts +++ b/packages/fhir-eswatini/test/resources/Patient.test.ts @@ -439,7 +439,7 @@ describe('SzPatient', () => { valueDateTime: '2025-06-01T10:00:00Z', }); }); - it.skip('should map primitive extensions', ()=>{ + it('should map primitive extensions', ()=>{ const state = {}; const resource = b.patient('SzPatient',{ From dbc88b1d8f998ac10f7e48cb344c1d5a0b84c3f6 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Mon, 1 Jun 2026 17:24:05 +0300 Subject: [PATCH 06/10] feat: fix primp value renaming Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 4 +-- .../fhir-eswatini/src/profiles/SzPatient.ts | 31 +++++++++++++++++++ tools/generate-fhir/src/generate-schema.ts | 3 +- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index 9dc64e0ac2..0561b29b42 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "pnpm clean && build-adaptor fhir-eswatini src ast docs", "build:src": "pnpm generate-fhir fhir-eswatini --base fhir-4", - "build:spec": "pnpm generate-fhir fhir-eswatini --respec", + "build:spec": "pnpm generate-fhir fhir-eswatini --respec --base fhir-4", "test": "TS_NODE_TRANSPILE_ONLY=true mocha --experimental-specifier-resolution=node --no-warnings --loader=ts-node/esm \"**/*.test.ts\"", "clean": "rimraf dist docs", "pack": "pnpm pack --pack-destination ../../dist" @@ -15,7 +15,7 @@ "type": "module", "fhir": { "specUrl": "http://172.209.216.154/definitions.json.zip", - "adaptorGeneratedDate": "2026-05-27T16:44:13.281Z", + "adaptorGeneratedDate": "2026-06-01T13:30:07.161Z", "generatorVersion": "0.7.8", "options": {} }, diff --git a/packages/fhir-eswatini/src/profiles/SzPatient.ts b/packages/fhir-eswatini/src/profiles/SzPatient.ts index aa253ef445..1c6fb219a9 100644 --- a/packages/fhir-eswatini/src/profiles/SzPatient.ts +++ b/packages/fhir-eswatini/src/profiles/SzPatient.ts @@ -135,6 +135,37 @@ export default function(props: Partial) { } } + { + if (!_.isNil(props._birthDate)) { + if (_.isPlainObject(props._birthDate)) { + resource._birthDate = Object.assign({}, props._birthDate); + } else { + delete resource._birthDate; + resource._birthDate = {}; + + dt.addExtension( + resource._birthDate, + "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + props._birthDate + ); + } + } + + if (!_.isNil(props._birthTime)) { + delete resource._birthTime; + + if (!resource._birthDate) { + resource._birthDate = {}; + } + + dt.addExtension( + resource._birthDate, + "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + props._birthTime + ); + } + } + if (!_.isNil(props.deceased)) { delete resource.deceased; dt.composite(resource, "deceased", props.deceased); diff --git a/tools/generate-fhir/src/generate-schema.ts b/tools/generate-fhir/src/generate-schema.ts index 30713ee27d..9801c79e55 100644 --- a/tools/generate-fhir/src/generate-schema.ts +++ b/tools/generate-fhir/src/generate-schema.ts @@ -343,6 +343,7 @@ async function parseProp( data, ) { let [parent, prop] = path.split('.'); + const isExtensionPath = prop === 'extension'; // TODO skip if multiple dots if (/\[x\]/.test(prop)) { @@ -367,7 +368,7 @@ async function parseProp( const def: PropDef = {}; // Keep primitive props - const isExtensionChild = prop === 'extension'; + const isExtensionChild = isExtensionPath; const hasSlice = !!data.sliceName; const parentTypes = schema.props[parent].type || []; const isPrimitiveParent = From 4264ea5689bc53a762b047d766830ffb77607eea Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Mon, 1 Jun 2026 17:24:58 +0300 Subject: [PATCH 07/10] fix: package.json Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index 0561b29b42..14e25cd33a 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "pnpm clean && build-adaptor fhir-eswatini src ast docs", "build:src": "pnpm generate-fhir fhir-eswatini --base fhir-4", - "build:spec": "pnpm generate-fhir fhir-eswatini --respec --base fhir-4", + "build:spec": "pnpm generate-fhir fhir-eswatini --respec", "test": "TS_NODE_TRANSPILE_ONLY=true mocha --experimental-specifier-resolution=node --no-warnings --loader=ts-node/esm \"**/*.test.ts\"", "clean": "rimraf dist docs", "pack": "pnpm pack --pack-destination ../../dist" From b7c4547c29ed4372d4527cf29cc18793b424f8a2 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Tue, 2 Jun 2026 23:27:33 +0300 Subject: [PATCH 08/10] feat: rebuild fhir-eswatini Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index 42eeb503bd..f854e1f794 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -15,7 +15,7 @@ "type": "module", "fhir": { "specUrl": "http://172.209.216.154/definitions.json.zip", - "adaptorGeneratedDate": "2026-06-02T15:23:39.432Z", + "adaptorGeneratedDate": "2026-06-02T20:25:01.139Z", "generatorVersion": "0.7.9", "options": { "base": "fhir-4" From 74ce83d212843d0fd13565a3207262ed3f94e46c Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Fri, 5 Jun 2026 15:17:46 +0300 Subject: [PATCH 09/10] fix: remove nested `_birthTime` Signed-off-by: Hunter Achieng --- packages/fhir-eswatini/package.json | 2 +- packages/fhir-eswatini/src/builders.ts | 1 + packages/fhir-eswatini/src/profiles/SzPatient.ts | 1 + packages/fhir-eswatini/types/builders.d.ts | 2 ++ tools/generate-fhir/src/codegen/generate-types.ts | 13 +++++++++++++ tools/generate-fhir/src/generate-code.ts | 8 +++----- tools/generate-fhir/src/generate-schema.ts | 15 +++++++++++++-- tools/generate-fhir/test/generate-code.test.ts | 10 ++++++++++ 8 files changed, 44 insertions(+), 8 deletions(-) diff --git a/packages/fhir-eswatini/package.json b/packages/fhir-eswatini/package.json index f854e1f794..10ab792a03 100644 --- a/packages/fhir-eswatini/package.json +++ b/packages/fhir-eswatini/package.json @@ -15,7 +15,7 @@ "type": "module", "fhir": { "specUrl": "http://172.209.216.154/definitions.json.zip", - "adaptorGeneratedDate": "2026-06-02T20:25:01.139Z", + "adaptorGeneratedDate": "2026-06-05T10:42:23.868Z", "generatorVersion": "0.7.9", "options": { "base": "fhir-4" diff --git a/packages/fhir-eswatini/src/builders.ts b/packages/fhir-eswatini/src/builders.ts index d341f22443..b3e41ae0f6 100644 --- a/packages/fhir-eswatini/src/builders.ts +++ b/packages/fhir-eswatini/src/builders.ts @@ -573,6 +573,7 @@ export function organization(type: any, props?: any) { * @public * @function * @param {object} props - Properties to apply to the resource (includes common and custom properties). + * @param {} [props._birthDate] - undefined * @param {boolean} [props.active] - Whether this patient's record is in active use * @param {Address} [props.address] - An address for the individual * @param {date} [props.birthDate] - Date of birth: YYYY-MM-DD diff --git a/packages/fhir-eswatini/src/profiles/SzPatient.ts b/packages/fhir-eswatini/src/profiles/SzPatient.ts index 1c6fb219a9..2f8d41c233 100644 --- a/packages/fhir-eswatini/src/profiles/SzPatient.ts +++ b/packages/fhir-eswatini/src/profiles/SzPatient.ts @@ -9,6 +9,7 @@ import type { builders as FHIR } from "@openfn/language-fhir-4"; type MaybeArray = T | T[]; export type Patient_SzPatient_Props = { + _birthDate?: any; active?: boolean; address?: FHIR.Address[]; birthDate?: string; diff --git a/packages/fhir-eswatini/types/builders.d.ts b/packages/fhir-eswatini/types/builders.d.ts index c2d2b5a388..f027ecbbb1 100644 --- a/packages/fhir-eswatini/types/builders.d.ts +++ b/packages/fhir-eswatini/types/builders.d.ts @@ -461,6 +461,7 @@ declare type Organization_SzOrganization_Props = { }; declare type Patient_SzPatient_Props = { + _birthDate?: any; active?: boolean; address?: builders.Address[]; birthDate?: string; @@ -1059,6 +1060,7 @@ declare function organization(props: Organization_SzOrganization_Props): any; * @public * @function * @param {object} props - Properties to apply to the resource (includes common and custom properties). + * @param {} [props._birthDate] - undefined * @param {boolean} [props.active] - Whether this patient's record is in active use * @param {Address} [props.address] - An address for the individual * @param {date} [props.birthDate] - Date of birth: YYYY-MM-DD diff --git a/tools/generate-fhir/src/codegen/generate-types.ts b/tools/generate-fhir/src/codegen/generate-types.ts index e3e63083d3..dfeb491573 100644 --- a/tools/generate-fhir/src/codegen/generate-types.ts +++ b/tools/generate-fhir/src/codegen/generate-types.ts @@ -53,6 +53,19 @@ export const generateType = ( continue; } + // Primitive extension props (_birthDate etc) are typed as `any` -- + // their content depends on which extensions are present + if ((s as any).isPrimitiveExtension) { + props.push( + b.tsPropertySignature( + b.identifier(key), + b.tsTypeAnnotation(b.tsAnyKeyword()), + true, + ), + ); + continue; + } + // TODO need to handle this stuff! // let type; // if (s.typeDef) { diff --git a/tools/generate-fhir/src/generate-code.ts b/tools/generate-fhir/src/generate-code.ts index 91aae8502a..dfe6142dee 100644 --- a/tools/generate-fhir/src/generate-code.ts +++ b/tools/generate-fhir/src/generate-code.ts @@ -601,8 +601,8 @@ const mapSimpleProp = (propName: string, mapping: Mapping, schema: Schema) => { }; const mapPrimitiveTypeDef = (propName: string, schema: Schema) => { - // Primitive metadata elements lives in the sibling underscore property, eg _birthDate - const primitivePropName = `_${propName}`; + // propName is the underscore prop, eg _birthDate + const primitivePropName = propName; // Only retrieve extension-backed child props const primitiveExtensions = Object.entries(schema.typeDef || {}).filter( ([, spec]: [string, any]) => spec.extension, @@ -720,9 +720,7 @@ const mapPrimitiveTypeDef = (propName: string, schema: Schema) => { }; const isPrimitiveTypeDefParent = (schema: Schema) => - !schema.isArray && - !!schema.typeDef && - schema.type.every(type => type[0] === type[0]?.toLowerCase()); + !!(schema as any).isPrimitiveExtension && !!(schema as any).typeDef; // map a type def (ie, a nested object) property by property // TODO this is designed to handle singleton and array types diff --git a/tools/generate-fhir/src/generate-schema.ts b/tools/generate-fhir/src/generate-schema.ts index 9801c79e55..563c720c49 100644 --- a/tools/generate-fhir/src/generate-schema.ts +++ b/tools/generate-fhir/src/generate-schema.ts @@ -446,8 +446,19 @@ async function parseProp( // } if (Object.keys(def).length) { - schema.props[parent].typeDef ??= {}; - schema.props[parent].typeDef[prop] = def; + if (isPrimitiveParent && isExtensionChild) { + // primitive extension slices go on a top-level _parent prop, eg _birthDate + const underscoreProp = `_${parent}`; + schema.props[underscoreProp] ??= { + type: [], + isPrimitiveExtension: true, + typeDef: {}, + }; + schema.props[underscoreProp].typeDef[prop] = def; + } else { + schema.props[parent].typeDef ??= {}; + schema.props[parent].typeDef[prop] = def; + } } } } diff --git a/tools/generate-fhir/test/generate-code.test.ts b/tools/generate-fhir/test/generate-code.test.ts index 43669f17e1..108c042a4f 100644 --- a/tools/generate-fhir/test/generate-code.test.ts +++ b/tools/generate-fhir/test/generate-code.test.ts @@ -182,6 +182,11 @@ test.serial('builds primitive sibling extension from underscored slice input', t birthDate: { type: ['date'], isArray: false, + }, + _birthDate: { + type: [], + isArray: false, + isPrimitiveExtension: true, typeDef: { birthTime: { extension: { @@ -214,6 +219,11 @@ test.serial('builds primitive sibling extension from underscored parent shorthan birthDate: { type: ['date'], isArray: false, + }, + _birthDate: { + type: [], + isArray: false, + isPrimitiveExtension: true, typeDef: { text: { extension: { From 76a067125d90af885701ee33a8fc79ad81c6e717 Mon Sep 17 00:00:00 2001 From: Hunter Achieng Date: Fri, 5 Jun 2026 16:16:21 +0300 Subject: [PATCH 10/10] fix: add tests Signed-off-by: Hunter Achieng --- .../test/resources/Patient.test.ts | 42 +++++++++++++------ .../generate-fhir/test/generate-code.test.ts | 22 +++++----- 2 files changed, 40 insertions(+), 24 deletions(-) diff --git a/packages/fhir-eswatini/test/resources/Patient.test.ts b/packages/fhir-eswatini/test/resources/Patient.test.ts index a8d16ac200..7431b738c2 100644 --- a/packages/fhir-eswatini/test/resources/Patient.test.ts +++ b/packages/fhir-eswatini/test/resources/Patient.test.ts @@ -439,23 +439,39 @@ describe('SzPatient', () => { valueDateTime: '2025-06-01T10:00:00Z', }); }); - it('should map primitive extensions', ()=>{ - const state = {}; - const resource = b.patient('SzPatient',{ - birthDate:'10/07/1990', - _birthDate:'2000-01-01T14:35:45-05:00' - }); + it('should map _birthDate primitive extension shorthand', () => { + const resource = b.patient('SzPatient', { + birthDate: '10/07/1990', + _birthDate: '2000-01-01T14:35:45-05:00', + }); - assert.deepEqual(resource._birthDate, { - "extension": [ + assert.deepEqual(resource.birthDate, '10/07/1990'); + assert.deepEqual(resource._birthDate, { + extension: [ { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2000-01-01T14:35:45-05:00" - } - ] + url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', + valueDateTime: '2000-01-01T14:35:45-05:00', + }, + ], + }); + }); + + it('should map _birthTime shorthand into _birthDate extension', () => { + const resource = b.patient('SzPatient', { + birthDate: '10/07/1990', + _birthTime: '2000-01-01T14:35:45-05:00', }); assert.deepEqual(resource.birthDate, '10/07/1990'); -}); + assert.deepEqual(resource._birthDate, { + extension: [ + { + url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', + valueDateTime: '2000-01-01T14:35:45-05:00', + }, + ], + }); + assert.equal(resource._birthTime, undefined); + }); }); diff --git a/tools/generate-fhir/test/generate-code.test.ts b/tools/generate-fhir/test/generate-code.test.ts index 108c042a4f..3e615f45ab 100644 --- a/tools/generate-fhir/test/generate-code.test.ts +++ b/tools/generate-fhir/test/generate-code.test.ts @@ -68,7 +68,7 @@ const generateBuilder = (resourceType: any, props: any) => { return profiles[resourceType]; }; -test.serial('sets resourceType', t => { +run('sets resourceType', t => { const profile = {}; const schema = generateBuilder('Patient', profile); const builder = compileBuilder(schema); @@ -76,7 +76,7 @@ test.serial('sets resourceType', t => { t.is(result.resourceType, 'Patient'); }); -test.serial('spreads unknown props through', t => { +run('spreads unknown props through', t => { const profile = {}; const schema = generateBuilder('Patient', profile); const builder = compileBuilder(schema); @@ -85,7 +85,7 @@ test.serial('spreads unknown props through', t => { t.is(result.customField, 42); }); -test.serial('isArray wraps a single value into an array', t => { +run('isArray wraps a single value into an array', t => { const profile = { x: { type: ['Reference'], isArray: true }, }; @@ -96,7 +96,7 @@ test.serial('isArray wraps a single value into an array', t => { t.is(dt.reference.calls, 1); }); -test.serial('isArray keeps an existing array as-is', t => { +run('isArray keeps an existing array as-is', t => { const profile = { x: { type: ['Reference'], isArray: true }, }; @@ -108,7 +108,7 @@ test.serial('isArray keeps an existing array as-is', t => { t.is(dt.reference.calls, 1); }); -test.serial('calls dt.identifier for Identifier type', t => { +run('calls dt.identifier for Identifier type', t => { const profile = { identifier: { type: ['Identifier'] }, }; @@ -130,7 +130,7 @@ test.serial('builds single reference', t => { t.is(dt.reference.calls, 1); }); -test.serial('builds CodeableConcept', t => { +run('builds CodeableConcept', t => { const profile = { x: { type: ['CodeableConcept'], @@ -144,7 +144,7 @@ test.serial('builds CodeableConcept', t => { t.is(dt.concept.calls, 1); }); -test.serial('builds composite value[x]', t => { +run('builds composite value[x]', t => { const profile = { deceased: { type: ['boolean'], isComposite: true }, }; @@ -156,7 +156,7 @@ test.serial('builds composite value[x]', t => { t.is(dt.composite.calls, 1); }); -test.serial('builds typeDef with nested extension', t => { +run('builds typeDef with nested extension', t => { const profile = { contact: { type: ['BackboneElement'], @@ -177,7 +177,7 @@ test.serial('builds typeDef with nested extension', t => { t.is(dt.addExtension.calls, 1); }); -test.serial('builds primitive sibling extension from underscored slice input', t => { +run('builds primitive sibling extension from underscored slice input', t => { const profile = { birthDate: { type: ['date'], @@ -214,7 +214,7 @@ test.serial('builds primitive sibling extension from underscored slice input', t t.is(dt.addExtension.calls, 1); }); -test.serial('builds primitive sibling extension from underscored parent shorthand', t => { +run('builds primitive sibling extension from underscored parent shorthand', t => { const profile = { birthDate: { type: ['date'], @@ -250,7 +250,7 @@ test.serial('builds primitive sibling extension from underscored parent shorthan t.is(dt.addExtension.calls, 1); }); -test.serial('skips nil properties', t => { +run('skips nil properties', t => { const profile = { x: { type: ['Reference'] }, };