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

FHIR IG Statistics: StructureMap/BundleVSToAddBundle

Packagewho.ddcc
Resource TypeStructureMap
IdBundleVSToAddBundle
FHIR VersionR4
Sourcehttp://smart.who.int/ddcc/https://build.fhir.org/ig/WorldHealthOrganization/ddcc/StructureMap-BundleVSToAddBundle.html
URLhttp://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle
Version1.0.0
Statusdraft
Date2025-06-24T09:07:32+00:00
NameBundleVSToAddBundle
Realmuv
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 BundleVSToAddBundle

map "http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle" = "BundleVSToAddBundle"

uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias DDCCBundle as source
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias AddBundle as target

imports "http://smart.who.int/ddcc/StructureMap/CoreDataSetVSToAddBundle"

group BundleVSToAddBundle(source ddccbundle : DDCCBundle, target bundle : AddBundle) {
  ddccbundle.entry first as ddcc -> bundle then CoreDataSetVSToAddBundle(ddcc, bundle) "get first entry from bundle";
}


Source

{
  "resourceType": "StructureMap",
  "id": "BundleVSToAddBundle",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle",
  "version": "1.0.0",
  "name": "BundleVSToAddBundle",
  "status": "draft",
  "date": "2025-06-24T09:07:32+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Bundle",
      "mode": "source",
      "alias": "DDCCBundle"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Bundle",
      "mode": "target",
      "alias": "AddBundle"
    }
  ],
  "import": [
    "http://smart.who.int/ddcc/StructureMap/CoreDataSetVSToAddBundle"
  ],
  "group": [
    {
      "name": "BundleVSToAddBundle",
      "typeMode": "none",
      "input": [
        {
          "name": "ddccbundle",
          "type": "DDCCBundle",
          "mode": "source"
        },
        {
          "name": "bundle",
          "type": "AddBundle",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "get first entry from bundle",
          "source": [
            {
              "context": "ddccbundle",
              "element": "entry",
              "listMode": "first",
              "variable": "ddcc"
            }
          ],
          "target": [
            {
              "context": "bundle",
              "contextType": "variable"
            }
          ],
          "dependent": [
            {
              "name": "CoreDataSetVSToAddBundle",
              "variable": [
                "ddcc",
                "bundle"
              ]
            }
          ]
        }
      ]
    }
  ]
}