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

FHIR IG Statistics: StructureMap/DVCQRtoDVCClaim

Packagesmart.who.int.icvp
Resource TypeStructureMap
IdDVCQRtoDVCClaim
FHIR VersionR4
Sourcehttp://smart.who.int/icvp/https://build.fhir.org/ig/WorldHealthOrganization/smart-icvp/StructureMap-DVCQRtoDVCClaim.html
URLhttp://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim
Version0.1.0
Statusdraft
Date2025-07-15T19:22:42+00:00
NameDVCQRtoDVCClaim
Authoritywho

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 DVCQRtoDVCClaim

map "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim" = "DVCQRtoDVCClaim"

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source
uses "http://smart.who.int/icvp/StructureDefinition/DVCPayload" alias DVCPayload as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelDVC" alias DVCModel as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails" alias ModelVaccineDetails as target

imports "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM"
imports "http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim"

group DVCQRtoDVCClaim(source qr : QuestionnaireResponse, target DVCClaim : DVCPayload) {
  qr -> create('http://smart.who.int/icvp/StructureDefinition/ModelDVC') as model then {
    qr -> DVCClaim then DVCQRtoDVCLM(qr, model) "rule1aa";
    qr -> DVCClaim then DVCLMtoDVCClaim(model, DVCClaim) "rule2";
  } "rule3";
}


Source

{
  "resourceType": "StructureMap",
  "id": "DVCQRtoDVCClaim",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCClaim",
  "version": "0.1.0",
  "name": "DVCQRtoDVCClaim",
  "status": "draft",
  "date": "2025-07-15T19:22:42+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
      "mode": "source",
      "alias": "QuestionnaireResponse"
    },
    {
      "url": "http://smart.who.int/icvp/StructureDefinition/DVCPayload",
      "mode": "target",
      "alias": "DVCPayload"
    },
    {
      "url": "http://smart.who.int/icvp/StructureDefinition/ModelDVC",
      "mode": "target",
      "alias": "DVCModel"
    },
    {
      "url": "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails",
      "mode": "target",
      "alias": "ModelVaccineDetails"
    }
  ],
  "import": [
    "http://smart.who.int/icvp/StructureMap/DVCQRtoDVCLM",
    "http://smart.who.int/icvp/StructureMap/DVCLMtoDVCClaim"
  ],
  "group": [
    {
      "name": "DVCQRtoDVCClaim",
      "typeMode": "none",
      "input": [
        {
          "name": "qr",
          "type": "QuestionnaireResponse",
          "mode": "source"
        },
        {
          "name": "DVCClaim",
          "type": "DVCPayload",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "rule3",
          "source": [
            {
              "context": "qr"
            }
          ],
          "target": [
            {
              "contextType": "variable",
              "variable": "model",
              "transform": "create",
              "parameter": [
                {
                  "valueString": "http://smart.who.int/icvp/StructureDefinition/ModelDVC"
                }
              ]
            }
          ],
          "rule": [
            {
              "name": "rule1aa",
              "source": [
                {
                  "context": "qr"
                }
              ],
              "target": [
                {
                  "context": "DVCClaim",
                  "contextType": "variable"
                }
              ],
              "dependent": [
                {
                  "name": "DVCQRtoDVCLM",
                  "variable": [
                    "qr",
                    "model"
                  ]
                }
              ]
            },
            {
              "name": "rule2",
              "source": [
                {
                  "context": "qr"
                }
              ],
              "target": [
                {
                  "context": "DVCClaim",
                  "contextType": "variable"
                }
              ],
              "dependent": [
                {
                  "name": "DVCLMtoDVCClaim",
                  "variable": [
                    "model",
                    "DVCClaim"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}