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

FHIR IG Statistics: StructureMap/ERPTPrescriptionStructureMapTask

Packagede.gematik.erp.t-prescription
Resource TypeStructureMap
IdERPTPrescriptionStructureMapTask
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=de.gematik.erp.t-prescription@1.1.0-ballot-1&canonical=https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask
URLhttps://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask
Version1.0.0-ballot-1
Statusdraft
Date2025-07-07
NameERPTPrescriptionStructureMapTask
TitleE-T-Rezept Structure Map for Task
DescriptionMaps resources to BfArM T-Prescription format

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureMap",
  "id": "ERPTPrescriptionStructureMapTask",
  "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapTask",
  "title": "E-T-Rezept Structure Map for Task",
  "description": "Maps resources to BfArM T-Prescription format",
  "structure": [
    {
      "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task",
      "mode": "source",
      "alias": "task"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Identifier",
      "mode": "target",
      "alias": "tgtIdentifier"
    }
  ],
  "group": [
    {
      "input": [
        {
          "name": "task",
          "type": "task",
          "mode": "source"
        },
        {
          "name": "tgtIdentifier",
          "type": "tgtIdentifier",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "task",
              "element": "identifier",
              "variable": "srcTaskIdentifier",
              "condition": "$this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'",
              "logMessage": "'Prescription ID Identifier present: ' + ($this.system='https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId').toString()"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcTaskIdentifier",
                  "element": "value",
                  "variable": "srcTaskIdentifierValue",
                  "logMessage": "tgtIdentifier"
                }
              ],
              "target": [
                {
                  "parameter": [
                    {
                      "valueString": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"
                    }
                  ],
                  "context": "tgtIdentifier",
                  "contextType": "variable",
                  "element": "system",
                  "transform": "copy"
                },
                {
                  "parameter": [
                    {
                      "valueId": "srcTaskIdentifierValue"
                    }
                  ],
                  "context": "tgtIdentifier",
                  "contextType": "variable",
                  "element": "value",
                  "transform": "copy"
                }
              ],
              "name": "prescriptionIdValue"
            }
          ],
          "name": "prescriptionId"
        }
      ],
      "name": "ERPTPrescriptionStructureMapTask",
      "typeMode": "none",
      "documentation": "Mapping group for Task"
    }
  ],
  "status": "draft",
  "version": "1.0.0-ballot-1",
  "date": "2025-07-07",
  "name": "ERPTPrescriptionStructureMapTask",
  "experimental": false
}