{
  "resourceType": "StructureDefinition",
  "id": "dc90ae74-e9fc-47fc-b8ff-963588bf26be",
  "meta": {
    "lastUpdated": "2023-08-29T14:30:23.8852906+00:00"
  },
  "url": "https://hl7.pt/fhir/StructureDefinition/PT_MedicationKnowledge",
  "version": "1.4",
  "name": "PT_MedicationKnowledge",
  "status": "draft",
  "experimental": false,
  "date": "2023-08-29T14:30:46.6979114+00:00",
  "description": "A generic MedicationKnowledge resource for Portugal",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationKnowledge",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationKnowledge",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationKnowledge.meta",
        "path": "MedicationKnowledge.meta"
      },
      {
        "id": "MedicationKnowledge.meta.id",
        "path": "MedicationKnowledge.meta.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.meta.versionId",
        "path": "MedicationKnowledge.meta.versionId",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.meta.source",
        "path": "MedicationKnowledge.meta.source",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.meta.profile",
        "path": "MedicationKnowledge.meta.profile",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.meta.security",
        "path": "MedicationKnowledge.meta.security",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.meta.tag",
        "path": "MedicationKnowledge.meta.tag",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.implicitRules",
        "path": "MedicationKnowledge.implicitRules",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.language",
        "path": "MedicationKnowledge.language",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.text",
        "path": "MedicationKnowledge.text",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.contained",
        "path": "MedicationKnowledge.contained",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.extension:Identifier",
        "path": "MedicationKnowledge.extension",
        "sliceName": "Identifier",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/Identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationKnowledge.extension:ConversionFactor",
        "path": "MedicationKnowledge.extension",
        "sliceName": "ConversionFactor",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/ConversionFactor"
            ]
          }
        ]
      },
      {
        "id": "MedicationKnowledge.extension:NeedJustification",
        "path": "MedicationKnowledge.extension",
        "sliceName": "NeedJustification",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/NeedJustification"
            ]
          }
        ]
      },
      {
        "id": "MedicationKnowledge.extension:storageGuideline",
        "path": "MedicationKnowledge.extension",
        "sliceName": "storageGuideline",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/StorageGuideline"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.extension:regulatedAuthorization",
        "path": "MedicationKnowledge.extension",
        "sliceName": "regulatedAuthorization",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/RegulatedAuthorization"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.extension:medicationParticipant",
        "path": "MedicationKnowledge.extension",
        "sliceName": "medicationParticipant",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/MedicationParticipant"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.code.id",
        "path": "MedicationKnowledge.code.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding",
        "path": "MedicationKnowledge.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationKnowledge.code.coding.id",
        "path": "MedicationKnowledge.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding.version",
        "path": "MedicationKnowledge.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding.userSelected",
        "path": "MedicationKnowledge.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:GLINTT",
        "path": "MedicationKnowledge.code.coding",
        "sliceName": "GLINTT"
      },
      {
        "id": "MedicationKnowledge.code.coding:GLINTT.id",
        "path": "MedicationKnowledge.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:GLINTT.system",
        "path": "MedicationKnowledge.code.coding.system",
        "fixedUri": "https://glintt.com/[HOSPITAL]"
      },
      {
        "id": "MedicationKnowledge.code.coding:GLINTT.version",
        "path": "MedicationKnowledge.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:GLINTT.userSelected",
        "path": "MedicationKnowledge.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:CHNM",
        "path": "MedicationKnowledge.code.coding",
        "sliceName": "CHNM"
      },
      {
        "id": "MedicationKnowledge.code.coding:CHNM.id",
        "path": "MedicationKnowledge.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:CHNM.system",
        "path": "MedicationKnowledge.code.coding.system",
        "fixedUri": "https://infarmed.pt/chnm"
      },
      {
        "id": "MedicationKnowledge.code.coding:CHNM.version",
        "path": "MedicationKnowledge.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:CHNM.userSelected",
        "path": "MedicationKnowledge.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:ATC",
        "path": "MedicationKnowledge.code.coding",
        "sliceName": "ATC"
      },
      {
        "id": "MedicationKnowledge.code.coding:ATC.id",
        "path": "MedicationKnowledge.code.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:ATC.system",
        "path": "MedicationKnowledge.code.coding.system",
        "fixedUri": "https://whocc.no/atc/"
      },
      {
        "id": "MedicationKnowledge.code.coding:ATC.version",
        "path": "MedicationKnowledge.code.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.coding:ATC.userSelected",
        "path": "MedicationKnowledge.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.code.text",
        "path": "MedicationKnowledge.code.text",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.manufacturer.id",
        "path": "MedicationKnowledge.manufacturer.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.manufacturer.type",
        "path": "MedicationKnowledge.manufacturer.type",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.manufacturer.identifier",
        "path": "MedicationKnowledge.manufacturer.identifier",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.manufacturer.display",
        "path": "MedicationKnowledge.manufacturer.display",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.doseForm.id",
        "path": "MedicationKnowledge.doseForm.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.doseForm.coding.id",
        "path": "MedicationKnowledge.doseForm.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.doseForm.coding.system",
        "path": "MedicationKnowledge.doseForm.coding.system",
        "fixedUri": "https://www.edqm.eu/"
      },
      {
        "id": "MedicationKnowledge.doseForm.coding.version",
        "path": "MedicationKnowledge.doseForm.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.doseForm.coding.userSelected",
        "path": "MedicationKnowledge.doseForm.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.amount.id",
        "path": "MedicationKnowledge.amount.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.relatedMedicationKnowledge",
        "path": "MedicationKnowledge.relatedMedicationKnowledge",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.productType.id",
        "path": "MedicationKnowledge.productType.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.productType.coding.id",
        "path": "MedicationKnowledge.productType.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.productType.coding.version",
        "path": "MedicationKnowledge.productType.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.productType.coding.userSelected",
        "path": "MedicationKnowledge.productType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.id",
        "path": "MedicationKnowledge.ingredient.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x]",
        "path": "MedicationKnowledge.ingredient.item[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x].id",
        "path": "MedicationKnowledge.ingredient.item[x].id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x].coding.id",
        "path": "MedicationKnowledge.ingredient.item[x].coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x].coding.version",
        "path": "MedicationKnowledge.ingredient.item[x].coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x].coding.userSelected",
        "path": "MedicationKnowledge.ingredient.item[x].coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.item[x].text",
        "path": "MedicationKnowledge.ingredient.item[x].text",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.ingredient.strength.id",
        "path": "MedicationKnowledge.ingredient.strength.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.intendedRoute.id",
        "path": "MedicationKnowledge.intendedRoute.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.intendedRoute.coding.id",
        "path": "MedicationKnowledge.intendedRoute.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.intendedRoute.coding.system",
        "path": "MedicationKnowledge.intendedRoute.coding.system",
        "fixedUri": "https://www.edqm.eu/"
      },
      {
        "id": "MedicationKnowledge.intendedRoute.coding.version",
        "path": "MedicationKnowledge.intendedRoute.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.intendedRoute.coding.userSelected",
        "path": "MedicationKnowledge.intendedRoute.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.id",
        "path": "MedicationKnowledge.cost.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.type.id",
        "path": "MedicationKnowledge.cost.type.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.type.coding.id",
        "path": "MedicationKnowledge.cost.type.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.type.coding.version",
        "path": "MedicationKnowledge.cost.type.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.type.coding.userSelected",
        "path": "MedicationKnowledge.cost.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.source",
        "path": "MedicationKnowledge.cost.source",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.cost.cost.id",
        "path": "MedicationKnowledge.cost.cost.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.id",
        "path": "MedicationKnowledge.administrationGuidelines.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.dosage.id",
        "path": "MedicationKnowledge.administrationGuidelines.dosage.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.dosage.dosage.extension:minDosePerPeriod",
        "path": "MedicationKnowledge.administrationGuidelines.dosage.dosage.extension",
        "sliceName": "minDosePerPeriod",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/minDosePerPeriod"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.dosage.dosage.extension:minDosePerAdministration",
        "path": "MedicationKnowledge.administrationGuidelines.dosage.dosage.extension",
        "sliceName": "minDosePerAdministration",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/minDosePerAdministration"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.indication[x]",
        "path": "MedicationKnowledge.administrationGuidelines.indication[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.id",
        "path": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.extension:value",
        "path": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.extension",
        "sliceName": "value",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://hl7.pt/fhir/StructureDefinition/Value-MedicationKnowledge"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.characteristic[x]",
        "path": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.characteristic[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.value",
        "path": "MedicationKnowledge.administrationGuidelines.patientCharacteristics.value",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.drugCharacteristic.id",
        "path": "MedicationKnowledge.drugCharacteristic.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.drugCharacteristic.type.id",
        "path": "MedicationKnowledge.drugCharacteristic.type.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.drugCharacteristic.type.coding.id",
        "path": "MedicationKnowledge.drugCharacteristic.type.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.drugCharacteristic.type.coding.version",
        "path": "MedicationKnowledge.drugCharacteristic.type.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.drugCharacteristic.type.coding.userSelected",
        "path": "MedicationKnowledge.drugCharacteristic.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationKnowledge.kinetics",
        "path": "MedicationKnowledge.kinetics",
        "max": "0"
      }
    ]
  }
}