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

FHIR IG analytics

Packagede.gematik.erp.t-prescription
Resource TypeStructureMap
IdStructureMap-ERPTPrescriptionStructureMapMedication.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=de.gematik.erp.t-prescription@1.1.0&canonical=https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedication
URLhttps://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedication
Version1.1.0
Statusactive
Date2025-12-19
NameERPTPrescriptionStructureMapMedication
TitleE-T-Rezept Structure Map for Medication
DescriptionRouter-Mapping zur Auswahl der korrekten Medication-Transformation basierend auf dem KBV/gematik Profil

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureMap",
  "id": "ERPTPrescriptionStructureMapMedication",
  "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapMedication",
  "title": "E-T-Rezept Structure Map for Medication",
  "description": "Router-Mapping zur Auswahl der korrekten Medication-Transformation basierend auf dem KBV/gematik Profil",
  "import": [
    "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapGEMMedication",
    "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVCompoundingMedication",
    "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVPZNMedication",
    "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication",
    "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVIngredientMedication"
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Medication",
      "mode": "source",
      "alias": "srcMedication"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Medication",
      "mode": "target",
      "alias": "tgtMedication"
    }
  ],
  "group": [
    {
      "input": [
        {
          "name": "srcMedication",
          "type": "srcMedication",
          "mode": "source"
        },
        {
          "name": "tgtMedication",
          "type": "tgtMedication",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "srcMedication",
              "variable": "srcPZN",
              "condition": "meta.profile.contains('KBV_PR_ERP_Medication_PZN')"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcPZN"
                }
              ],
              "dependent": [
                {
                  "variable": [
                    "srcMedication",
                    "tgtMedication"
                  ],
                  "name": "ERPTPrescriptionStructureMapKBVPZNMedication"
                }
              ],
              "name": "mapPZN",
              "documentation": "Führt die Transformation für PZN-Medikamente durch (Fertigarzneimittel mit Pharmazentralnummer)"
            }
          ],
          "name": "decideOnMedicationPZN",
          "documentation": "Erkennt PZN-basierte Medikamente und leitet an spezialisiertes PZN-Mapping weiter"
        },
        {
          "source": [
            {
              "context": "srcMedication",
              "variable": "srcFreeText",
              "condition": "meta.profile.contains('KBV_PR_ERP_Medication_FreeText')"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcFreeText"
                }
              ],
              "dependent": [
                {
                  "variable": [
                    "srcMedication",
                    "tgtMedication"
                  ],
                  "name": "ERPTPrescriptionStructureMapKBVFreeTextMedication"
                }
              ],
              "name": "mapFreeText",
              "documentation": "Führt die Transformation für Freitext-Medikamente durch (nicht standardisierte Arzneimittelangaben)"
            }
          ],
          "name": "decideOnMedicationFreeText",
          "documentation": "Erkennt Freitext-Medikamente und leitet an spezialisiertes FreeText-Mapping weiter"
        },
        {
          "source": [
            {
              "context": "srcMedication",
              "variable": "srcIngredient",
              "condition": "meta.profile.contains('KBV_PR_ERP_Medication_Ingredient')"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcIngredient"
                }
              ],
              "dependent": [
                {
                  "variable": [
                    "srcMedication",
                    "tgtMedication"
                  ],
                  "name": "ERPTPrescriptionStructureMapKBVIngredientMedication"
                }
              ],
              "name": "mapIngredient",
              "documentation": "Führt die Transformation für wirkstoffbasierte Medikamente durch (Rezeptur nach Wirkstoffen)"
            }
          ],
          "name": "decideOnMedicationIngredient",
          "documentation": "Erkennt wirkstoffbasierte Medikamente und leitet an spezialisiertes Ingredient-Mapping weiter"
        },
        {
          "source": [
            {
              "context": "srcMedication",
              "variable": "srcCompounding",
              "condition": "meta.profile.contains('KBV_PR_ERP_Medication_Compounding')"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcCompounding"
                }
              ],
              "dependent": [
                {
                  "variable": [
                    "srcMedication",
                    "tgtMedication"
                  ],
                  "name": "ERPTPrescriptionStructureMapKBVCompoundingMedication"
                }
              ],
              "name": "mapCompounding",
              "documentation": "Führt die Transformation für Rezeptur-Medikamente durch (individuell hergestellte Arzneimittel)"
            }
          ],
          "name": "decideOnMedicationCompounding",
          "documentation": "Erkennt Rezeptur-Medikamente und leitet an spezialisiertes Compounding-Mapping weiter"
        },
        {
          "source": [
            {
              "context": "srcMedication",
              "variable": "srcGemMed",
              "condition": "meta.profile.contains('GEM_ERP_PR_Medication')"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcGemMed"
                }
              ],
              "dependent": [
                {
                  "variable": [
                    "srcMedication",
                    "tgtMedication"
                  ],
                  "name": "ERPTPrescriptionStructureMapGEMMedication"
                }
              ],
              "name": "mapGemMed",
              "documentation": "Führt die Transformation für gematik-Medikamente durch (abgegebene Arzneimittel aus der Apotheke)"
            }
          ],
          "name": "decideOnMedicationGematik",
          "documentation": "Erkennt gematik-Medikamente und leitet an spezialisiertes gematik-Mapping weiter"
        }
      ],
      "name": "ERPTPrescriptionStructureMapMedication",
      "typeMode": "none",
      "documentation": "Router-Mapping zur Auswahl der korrekten Medication-Transformation basierend auf dem KBV/gematik Profil"
    }
  ],
  "status": "active",
  "version": "1.1.0",
  "date": "2025-12-19",
  "name": "ERPTPrescriptionStructureMapMedication",
  "experimental": false
}