From 684e963ec80390fe6363d4a505cc0388c0781237 Mon Sep 17 00:00:00 2001 From: Jose Costa Teixeira Date: Sat, 21 Sep 2024 16:07:54 +0100 Subject: [PATCH] update map --- input/maps/IMMZCQRToLM.fml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/maps/IMMZCQRToLM.fml b/input/maps/IMMZCQRToLM.fml index da0acaeb6d..7799a4638e 100644 --- a/input/maps/IMMZCQRToLM.fml +++ b/input/maps/IMMZCQRToLM.fml @@ -1,4 +1,4 @@ -map "http://smart.who.int/immunizations-measles/StructureMap/IMMZCQRToLM" = "IMMZCQRToLM" +map "http://smart.who.int/immunizations-measles/StructureMap/IMMZCQRToLM" = IMMZCQRToLM // Immunization Client Registry - Extract QuestionnaireResponse to Logical Model uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source @@ -11,7 +11,7 @@ group QRespToIMMZC ( source qr : QResp, target immzc : IMMZC) { answer.value as content -> immzc.uniqueId = content "SetIdentifier"; } "FirstAnswerForIdentifier"; - item as name where item.linkId = 'name' then NameToIMMZC( name, immzc ) "SetNames"; + item as name where (item.linkId = 'name') then NameToIMMZC( name, immzc ) "SetNames"; item.answer first as answer where (item.linkId = 'sex') then { answer.value as coding then { @@ -61,4 +61,4 @@ group NameToIMMZC( source name, target immzc) { // } "FirstAnswerForFamilyName"; } "processNameItems"; -} \ No newline at end of file +}