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

FHIR IG Statistics: StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication

Packagede.gematik.erp.t-prescription
Resource TypeStructureMap
IdERPTPrescriptionStructureMapKBVFreeTextMedication
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/ERPTPrescriptionStructureMapKBVFreeTextMedication
URLhttps://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication
Version1.0.0-ballot-1
Statusdraft
Date2025-07-07
NameERPTPrescriptionStructureMapKBVFreeTextMedication
TitleE-T-Rezept Structure Map for KBV FreeText Medication
DescriptionMaps KBV FreeText Medication to BfArM T-Prescription Medication 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": "ERPTPrescriptionStructureMapKBVFreeTextMedication",
  "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERPTPrescriptionStructureMapKBVFreeTextMedication",
  "title": "E-T-Rezept Structure Map for KBV FreeText Medication",
  "description": "Maps KBV FreeText Medication to BfArM T-Prescription Medication format",
  "structure": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Medication",
      "mode": "source",
      "alias": "kbvMedicationFreeText"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Medication",
      "mode": "target",
      "alias": "bfarmMedication"
    }
  ],
  "group": [
    {
      "input": [
        {
          "name": "kbvMedicationFreeText",
          "type": "kbvMedicationFreeText",
          "mode": "source"
        },
        {
          "name": "bfarmMedication",
          "type": "bfarmMedication",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "source": [
            {
              "context": "kbvMedicationFreeText",
              "element": "id",
              "variable": "IdVar"
            }
          ],
          "target": [
            {
              "parameter": [
                {
                  "valueId": "IdVar"
                }
              ],
              "context": "bfarmMedication",
              "contextType": "variable",
              "element": "id",
              "transform": "copy"
            }
          ],
          "name": "medicationId",
          "documentation": "Copies the Medication Id"
        },
        {
          "source": [
            {
              "context": "kbvMedicationFreeText",
              "element": "code",
              "variable": "srcCodeVar"
            }
          ],
          "target": [
            {
              "contextType": "variable",
              "context": "bfarmMedication",
              "element": "code",
              "variable": "tgtCodeVar"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcCodeVar",
                  "element": "text",
                  "variable": "srcCodeTextVar"
                }
              ],
              "target": [
                {
                  "parameter": [
                    {
                      "valueId": "srcCodeTextVar"
                    }
                  ],
                  "context": "tgtCodeVar",
                  "contextType": "variable",
                  "element": "text",
                  "transform": "copy"
                }
              ],
              "name": "medicationCodeText",
              "documentation": "Copies the Medication Code Text"
            }
          ],
          "name": "medicationCode",
          "documentation": "Copies the Medication Code"
        },
        {
          "source": [
            {
              "context": "kbvMedicationFreeText",
              "element": "form",
              "variable": "srcFormVar"
            }
          ],
          "target": [
            {
              "contextType": "variable",
              "context": "bfarmMedication",
              "element": "form",
              "variable": "tgtFormVar"
            }
          ],
          "rule": [
            {
              "source": [
                {
                  "context": "srcFormVar",
                  "element": "text",
                  "variable": "srcformTextVar"
                }
              ],
              "target": [
                {
                  "parameter": [
                    {
                      "valueId": "srcformTextVar"
                    }
                  ],
                  "context": "tgtFormVar",
                  "contextType": "variable",
                  "element": "text",
                  "transform": "copy"
                }
              ],
              "name": "medicationFormText",
              "documentation": "Copies the Medication form Text"
            }
          ],
          "name": "medicationForm",
          "documentation": "Copies the Medication Form"
        }
      ],
      "name": "ERPTPrescriptionStructureMapKBVFreeTextMedication",
      "typeMode": "none",
      "documentation": "Mapping group for medication information transformation"
    }
  ],
  "status": "draft",
  "version": "1.0.0-ballot-1",
  "date": "2025-07-07",
  "name": "ERPTPrescriptionStructureMapKBVFreeTextMedication",
  "experimental": false
}