Skip to content

Commit

Permalink
update map
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira authored Sep 21, 2024
1 parent 3a0de73 commit 684e963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions input/maps/IMMZCQRToLM.fml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 {
Expand Down Expand Up @@ -61,4 +61,4 @@ group NameToIMMZC( source name, target immzc) {
// } "FirstAnswerForFamilyName";

} "processNameItems";
}
}

0 comments on commit 684e963

Please sign in to comment.