Server Home  |  XIG Home  |  XIG Stats  | 

FHIRsmith Logo FHIR IG analytics

Packagech.fhir.ig.ch-vaccination-domain-service
Resource TypeStructureMap
IdStructureMap-ImmunizationToAction.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/wg-hl7-openehr-ch/vaccination-domain-IG/StructureMap-ImmunizationToAction.html
URLhttp://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction
Version0.1.0
Statusdraft
Date2026-10-27T06:41:12+00:00
NameImmunizationToAction
Realmch
Authorityhl7
Descriptionurl = 'http://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction' name = 'ImmunizationToAction' status = 'active' description = 'Example demonstrating required metadata for the ImmunizationToAction map'

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 ImmunizationToAction

map "http://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction" = "ImmunizationToAction"

// url = 'http://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction'
// name = 'ImmunizationToAction'
// status = 'active'
// description = 'Example demonstrating required metadata for the ImmunizationToAction map'

uses "http://hl7.org/fhir/StructureDefinition/Immunization" alias Immunization as source
uses "http://openehr.org/fhir/StructureDefinition/ACTION" alias ACTION as target

group ImmunizationToAction(source src : Immunization, target tgt : ACTION) {
  src.language as v ->  tgt.language as lang,  lang.code_string = v,  lang.terminology_id as termId,  termId.code_string = 'ISO_639-1';
}


Source1

{
  "resourceType": "StructureMap",
  "id": "ImmunizationToAction",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction",
  "version": "0.1.0",
  "name": "ImmunizationToAction",
  "status": "draft",
  "date": "2026-10-27T06:41:12+00:00",
  "publisher": "HL7 Switzerland / openEHR Switzerland",
  "contact": [
    {
      "name": "HL7 Switzerland / openEHR Switzerland",
      "telecom": [
        {
          "system": "url",
          "value": "http://fhir.ch/ig/ch-vaccination-domain"
        }
      ]
    }
  ],
  "description": "url = 'http://fhir.ch/ig/ch-vaccination-domain-service/StructureMap/ImmunizationToAction'\r\nname = 'ImmunizationToAction'\r\nstatus = 'active'\r\ndescription = 'Example demonstrating required metadata for the ImmunizationToAction map'",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Immunization",
      "mode": "source",
      "alias": "Immunization"
    },
    {
      "url": "http://openehr.org/fhir/StructureDefinition/ACTION",
      "mode": "target",
      "alias": "ACTION"
    }
  ],
  "group": [
    {
      "name": "ImmunizationToAction",
      "typeMode": "none",
      "input": [
        {
          "name": "src",
          "type": "Immunization",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "ACTION",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "language",
          "source": [
            {
              "context": "src",
              "element": "language",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "contextType": "variable",
              "element": "language",
              "variable": "lang"
            },
            {
              "context": "lang",
              "contextType": "variable",
              "element": "code_string",
              "transform": "copy",
              "parameter": [
                {
                  "valueId": "v"
                }
              ]
            },
            {
              "context": "lang",
              "contextType": "variable",
              "element": "terminology_id",
              "variable": "termId"
            },
            {
              "context": "termId",
              "contextType": "variable",
              "element": "code_string",
              "transform": "copy",
              "parameter": [
                {
                  "valueString": "ISO_639-1"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}