FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureMap/IMMZ.D13.QRToLM

Packagesmart.who.int.immunizations
Resource TypeStructureMap
IdIMMZ.D13.QRToLM
FHIR VersionR4
Sourcehttp://smart.who.int/immunizations/https://build.fhir.org/ig/WorldHealthOrganization/smart-immunizations/StructureMap-IMMZ.D13.QRToLM.html
URLhttp://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM
Version0.2.0
Statusdraft
Date2025-08-08T19:12:11+00:00
NameIMMZ.D13.QRToLM
Authoritywho
DescriptionImmunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap IMMZ.D13.QRToLM

map "http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM" = "IMMZ.D13.QRToLM"

// Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source
uses "http://smart.who.int/immunizations/StructureDefinition/IMMZD13" alias IMMZD13 as target

imports "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers"

group QRespToIMMZD13(source qr : QResp, target immz : IMMZD13) {
  qr.subject as subject -> immz.patient = subject "setPatient";
  qr then D1andD13Questions(qr, immz) "D1andD13Questions";
  qr then D13Questions(qr, immz) "D13Questions";
}


Source

{
  "resourceType": "StructureMap",
  "id": "IMMZ.D13.QRToLM",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/immunizations/StructureMap/IMMZ.D13.QRToLM",
  "version": "0.2.0",
  "name": "IMMZ.D13.QRToLM",
  "status": "draft",
  "date": "2025-08-08T19:12:11+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "description": "Immunization Administer Vaccine - Transform QuestionnaireResponse to Logical Model",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
      "mode": "source",
      "alias": "QResp"
    },
    {
      "url": "http://smart.who.int/immunizations/StructureDefinition/IMMZD13",
      "mode": "target",
      "alias": "IMMZD13"
    }
  ],
  "import": [
    "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers"
  ],
  "group": [
    {
      "name": "QRespToIMMZD13",
      "typeMode": "none",
      "input": [
        {
          "name": "qr",
          "type": "QResp",
          "mode": "source"
        },
        {
          "name": "immz",
          "type": "IMMZD13",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "setPatient",
          "source": [
            {
              "context": "qr",
              "element": "subject",
              "variable": "subject"
            }
          ],
          "target": [
            {
              "context": "immz",
              "contextType": "variable",
              "element": "patient",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "subject"
                }
              ]
            }
          ]
        },
        {
          "name": "D1andD13Questions",
          "source": [
            {
              "context": "qr"
            }
          ],
          "dependent": [
            {
              "name": "D1andD13Questions",
              "variable": [
                "qr",
                "immz"
              ]
            }
          ]
        },
        {
          "name": "D13Questions",
          "source": [
            {
              "context": "qr"
            }
          ],
          "dependent": [
            {
              "name": "D13Questions",
              "variable": [
                "qr",
                "immz"
              ]
            }
          ]
        }
      ]
    }
  ]
}