Package | smart.who.int.immunizations |
Resource Type | StructureMap |
Id | IMMZ.C4.QRToPatient |
FHIR Version | R4 |
Source | http://smart.who.int/immunizations/https://build.fhir.org/ig/WorldHealthOrganization/smart-immunizations/StructureMap-IMMZ.C4.QRToPatient.html |
URL | http://smart.who.int/immunizations/StructureMap/IMMZ.C4.QRToPatient |
Version | 0.2.0 |
Status | draft |
Date | 2025-08-08T19:12:11+00:00 |
Name | IMMZ.C4.QRToPatient |
Authority | who |
Description | Immunization Client Registry - Transform QuestionnaireResponse to Patient resources |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap IMMZ.C4.QRToPatient
map "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.QRToPatient" = "IMMZ.C4.QRToPatient" // Immunization Client Registry - Transform QuestionnaireResponse to Patient resources uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source uses "http://smart.who.int/immunizations/StructureDefinition/IMMZC4" alias IMMZC as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target imports "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.QRToLM" imports "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.LMToPatient" group QRespToPatient(source qr : QResp, target bundle : Bundle) { qr -> create('http://smart.who.int/immunizations/StructureDefinition/IMMZC4') as model then { qr -> model then QRespToIMMZC(qr, model) "QRtoLM"; qr -> bundle then IMMZCToPatient(model, bundle) "LMtoPatient"; } "QRtoPatient"; }
{ "resourceType": "StructureMap", "id": "IMMZ.C4.QRToPatient", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "url": "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.QRToPatient", "version": "0.2.0", "name": "IMMZ.C4.QRToPatient", "status": "draft", "date": "2025-08-08T19:12:11+00:00", "publisher": "WHO", "contact": [ { "name": "WHO", "telecom": [ { "system": "url", "value": "http://who.int" } ] } ], "description": "Immunization Client Registry - Transform QuestionnaireResponse to Patient resources", "structure": [ { "url": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "mode": "source", "alias": "QResp" }, { "url": "http://smart.who.int/immunizations/StructureDefinition/IMMZC4", "mode": "source", "alias": "IMMZC" }, { "url": "http://hl7.org/fhir/StructureDefinition/Bundle", "mode": "target", "alias": "Bundle" } ], "import": [ "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.QRToLM", "http://smart.who.int/immunizations/StructureMap/IMMZ.C4.LMToPatient" ], "group": [ { "name": "QRespToPatient", "typeMode": "none", "input": [ { "name": "qr", "type": "QResp", "mode": "source" }, { "name": "bundle", "type": "Bundle", "mode": "target" } ], "rule": [ { "name": "QRtoPatient", "source": [ { "context": "qr" } ], "target": [ { "contextType": "variable", "variable": "model", "transform": "create", "parameter": [ { "valueString": "http://smart.who.int/immunizations/StructureDefinition/IMMZC4" } ] } ], "rule": [ { "name": "QRtoLM", "source": [ { "context": "qr" } ], "target": [ { "context": "model", "contextType": "variable" } ], "dependent": [ { "name": "QRespToIMMZC", "variable": [ "qr", "model" ] } ] }, { "name": "LMtoPatient", "source": [ { "context": "qr" } ], "target": [ { "context": "bundle", "contextType": "variable" } ], "dependent": [ { "name": "IMMZCToPatient", "variable": [ "model", "bundle" ] } ] } ] } ] } ] }