FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesmart.who.int.icvp
Resource TypeStructureMap
IdStructureMap-ICVPQRtoICVPClaim.json
FHIR VersionR4
Sourcehttp://smart.who.int/icvp/0.2.0/StructureMap-ICVPQRtoICVPClaim.html
URLhttp://smart.who.int/icvp/StructureMap/ICVPQRtoICVPClaim
Version0.2.0
Statusdraft
Date2025-10-08T14:32:12+00:00
NameICVPQRtoICVPClaim
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 ICVPQRtoICVPClaim

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

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source
uses "http://smart.who.int/icvp/StructureDefinition/ICVPMin" alias ICVPPayload as target
uses "http://smart.who.int/icvp/StructureDefinition/ICVP" alias ICVPModel as target
uses "http://smart.who.int/icvp/StructureDefinition/ICVPVaccineDetails" alias ICVPVaccineDetails as target

imports "http://smart.who.int/icvp/StructureMap/ICVPQRtoICVPLM"
imports "http://smart.who.int/icvp/StructureMap/ICVPLMtoICVPClaim"

group ICVPQRtoICVPClaim(source qr : QuestionnaireResponse, target ICVPClaim : ICVPPayload) {
  qr -> create('http://smart.who.int/icvp/StructureDefinition/ICVP') as model then {
    qr -> ICVPClaim then ICVPQRtoICVPLM(qr, model) "rule1aa";
    qr -> ICVPClaim then ICVPLMtoICVPClaim(model, ICVPClaim) "rule2";
  } "rule3";
}


Source1

{
  "resourceType": "StructureMap",
  "id": "ICVPQRtoICVPClaim",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/icvp/StructureMap/ICVPQRtoICVPClaim",
  "version": "0.2.0",
  "name": "ICVPQRtoICVPClaim",
  "status": "draft",
  "date": "2025-10-08T14:32:12+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/ICVPMin",
      "mode": "target",
      "alias": "ICVPPayload"
    },
    {
      "url": "http://smart.who.int/icvp/StructureDefinition/ICVP",
      "mode": "target",
      "alias": "ICVPModel"
    },
    {
      "url": "http://smart.who.int/icvp/StructureDefinition/ICVPVaccineDetails",
      "mode": "target",
      "alias": "ICVPVaccineDetails"
    }
  ],
  "import": [
    "http://smart.who.int/icvp/StructureMap/ICVPQRtoICVPLM",
    "http://smart.who.int/icvp/StructureMap/ICVPLMtoICVPClaim"
  ],
  "group": [
    {
      "name": "ICVPQRtoICVPClaim",
      "typeMode": "none",
      "input": [
        {
          "name": "qr",
          "type": "QuestionnaireResponse",
          "mode": "source"
        },
        {
          "name": "ICVPClaim",
          "type": "ICVPPayload",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "rule3",
          "source": [
            {
              "context": "qr"
            }
          ],
          "target": [
            {
              "contextType": "variable",
              "variable": "model",
              "transform": "create",
              "parameter": [
                {
                  "valueString": "http://smart.who.int/icvp/StructureDefinition/ICVP"
                }
              ]
            }
          ],
          "rule": [
            {
              "name": "rule1aa",
              "source": [
                {
                  "context": "qr"
                }
              ],
              "target": [
                {
                  "context": "ICVPClaim",
                  "contextType": "variable"
                }
              ],
              "dependent": [
                {
                  "name": "ICVPQRtoICVPLM",
                  "variable": [
                    "qr",
                    "model"
                  ]
                }
              ]
            },
            {
              "name": "rule2",
              "source": [
                {
                  "context": "qr"
                }
              ],
              "target": [
                {
                  "context": "ICVPClaim",
                  "contextType": "variable"
                }
              ],
              "dependent": [
                {
                  "name": "ICVPLMtoICVPClaim",
                  "variable": [
                    "model",
                    "ICVPClaim"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}