PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erp.t-prescription@0.1.0-rc1
    https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-FreeText-Medication
{
  "description": "Maps KBV FreeText Medication to BfArM T-Prescription Medication format",
  "_filename": "StructureMap-ERP-TPrescription-StructureMap-KBV-FreeText-Medication.json",
  "package_name": "de.gematik.erp.t-prescription",
  "date": "2025-07-01",
  "group": [ {
    "name": "KBVFreeTextMedicationMapping",
    "rule": [ {
      "name": "medicationId",
      "source": [ {
        "context": "kbvMedicationFreeText",
        "element": "id",
        "variable": "IdVar"
      } ],
      "target": [ {
        "context": "bfarmMedication",
        "element": "id",
        "parameter": [ {
          "valueId": "IdVar"
        } ],
        "transform": "copy",
        "contextType": "variable"
      } ],
      "documentation": "Copies the Medication Id"
    }, {
      "name": "medicationCode",
      "rule": [ {
        "name": "medicationCodeText",
        "source": [ {
          "context": "srcCodeVar",
          "element": "text",
          "variable": "srcCodeTextVar"
        } ],
        "target": [ {
          "context": "tgtCodeVar",
          "element": "text",
          "parameter": [ {
            "valueId": "srcCodeTextVar"
          } ],
          "transform": "copy",
          "contextType": "variable"
        } ],
        "documentation": "Copies the Medication Code Text"
      } ],
      "source": [ {
        "context": "kbvMedicationFreeText",
        "element": "code",
        "variable": "srcCodeVar"
      } ],
      "target": [ {
        "context": "bfarmMedication",
        "element": "code",
        "variable": "tgtCodeVar",
        "contextType": "variable"
      } ],
      "documentation": "Copies the Medication Code"
    }, {
      "name": "medicationForm",
      "rule": [ {
        "name": "medicationFormText",
        "source": [ {
          "context": "srcFormVar",
          "element": "text",
          "variable": "srcformTextVar"
        } ],
        "target": [ {
          "context": "tgtFormVar",
          "element": "text",
          "parameter": [ {
            "valueId": "srcformTextVar"
          } ],
          "transform": "copy",
          "contextType": "variable"
        } ],
        "documentation": "Copies the Medication form Text"
      } ],
      "source": [ {
        "context": "kbvMedicationFreeText",
        "element": "form",
        "variable": "srcFormVar"
      } ],
      "target": [ {
        "context": "bfarmMedication",
        "element": "form",
        "variable": "tgtFormVar",
        "contextType": "variable"
      } ],
      "documentation": "Copies the Medication Form"
    } ],
    "input": [ {
      "mode": "source",
      "name": "kbvMedicationFreeText",
      "type": "kbvMedicationFreeText"
    }, {
      "mode": "target",
      "name": "bfarmMedication",
      "type": "bfarmMedication"
    } ],
    "typeMode": "none",
    "documentation": "Mapping group for medication information transformation"
  } ],
  "publisher": "gematik GmbH",
  "jurisdiction": [ {
    "coding": [ {
      "code": "DE",
      "system": "urn:iso:std:iso:3166",
      "display": "Germany"
    } ]
  } ],
  "name": "ERP-TPrescription-StructureMap-KBV-FreeText-Medication",
  "type": null,
  "experimental": "false",
  "resourceType": "StructureMap",
  "title": "E-T-Rezept Structure Map for KBV FreeText Medication",
  "package_version": "0.1.0-rc1",
  "structure": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/Medication",
    "mode": "source",
    "alias": "kbvMedicationFreeText"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/Medication",
    "mode": "target",
    "alias": "bfarmMedication"
  } ],
  "status": "draft",
  "id": "bb120df3-1473-4cad-83ee-b1446f307e75",
  "kind": null,
  "url": "https://gematik.de/fhir/erp-t-prescription/StructureMap/ERP-TPrescription-StructureMap-KBV-FreeText-Medication",
  "version": "0.1.0",
  "contact": [ {
    "name": "gematik GmbH",
    "telecom": [ {
      "value": "https://gematik.de",
      "system": "url"
    } ]
  } ]
}