Skip to content

Commit ec891a3

Browse files
committed
Updated birth weight in the structuremap to include the DAK DE ID as well as the LOINC code in the Observation.
1 parent 6163d5d commit ec891a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

input/maps/IMMZ.Helpers.fml

+3-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,9 @@ group D1Observations(
376376
then MakeObservation( patient, immid, code, survey, content, bundle ) "clinicallyWell";
377377

378378
immz.birthWeightInGrams as value -> create("Quantity") as content, content.system = 'http://unitsofmeasure.org', content.code = 'g', content.unit = 'g', content.value = value,
379-
c( 'http://loinc.org', '8339-4', 'Birth weight Measured') as code,
379+
c( 'http://loinc.org', '8339-4', 'Birth weight Measured') as bwloinc,
380+
c( 'http://smart.who.int/immunizations/CodeSystem/IMMZ.D', 'DE211', 'Birth weight in grams') as bwdak,
381+
create("CodeableConcept") as code, code.coding = bwloinc, code.coding = bwdak,
380382
c( 'http://terminology.hl7.org/CodeSystem/observation-category', 'vital-signs', 'Vital Signs' ) as vital
381383
then MakeObservation( patient, immid, code, vital, content, bundle ) "birthWeightInGrams";
382384

0 commit comments

Comments
 (0)