{
  "resourceType": "StructureDefinition",
  "url": "https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASMedication",
  "name": "UNICASMedication",
  "title": "Medication Medicación ÚNICAS",
  "status": "draft",
  "description": "Este profile define las restricciones del recurso Medication para representar el registro de un medicamento en el contexto del caso de uso de ÚNICAS.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "short": "Fármaco",
        "definition": "Codes that identify this medication. A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "description": "Value set de Fármacos",
          "valueSet": "https://unicas-fhir.sanidad.gob.es/ValueSet/Farmacos"
        }
      },
      {
        "id": "Medication.code.coding.system",
        "path": "Medication.code.coding.system",
        "short": "URL del SNOMED CT. Extensión para España del SNS | OID del ATC | OID del DCSA",
        "definition": "Posibles URLs y/o OIDs de terminología utilizada para indicar el fármaco y su descripción correspondiente:\r\n\r\n- SNOMED CT. Extensión para España del SNS con filtro aplicado al eje producto: http://snomed.info/sct/900000001000122104\r\n- ATC: urn:oid:2.16.724.4.21.5.15.1\r\n- DCSA: urn:oid:2.16.724.4.21.5.14.3",
        "min": 1
      },
      {
        "id": "Medication.code.coding.code",
        "path": "Medication.code.coding.code",
        "short": "Código del fármaco",
        "min": 1
      },
      {
        "id": "Medication.code.coding.display",
        "path": "Medication.code.coding.display",
        "short": "Descripción del fármaco",
        "definition": "Representation defined by the system. A representation of the meaning of the code in the system, following the rules of the system.",
        "min": 1
      },
      {
        "id": "Medication.code.text",
        "path": "Medication.code.text",
        "short": "Nombre comercial",
        "definition": "Plain text representation of the concept. A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."
      },
      {
        "id": "Medication.status",
        "path": "Medication.status",
        "short": "Estado",
        "definition": "A code to indicate if the medication is in active use (active | inactive | entered-in-error)."
      },
      {
        "id": "Medication.doseForm",
        "path": "Medication.doseForm",
        "short": "Forma farmacéutica",
        "binding": {
          "strength": "extensible",
          "description": "Value set de Formas farmacéuticas (Forma de producto)",
          "valueSet": "https://unicas-fhir.sanidad.gob.es/ValueSet/FormasFarmaceuticas"
        }
      },
      {
        "id": "Medication.doseForm.coding.system",
        "path": "Medication.doseForm.coding.system",
        "short": "OID del Nomenclátor de Prescripción AEMPS. Forma Farmacéutica",
        "definition": "Posible OID de terminología utilizada para indicar la forma farmacéutica y su descripción correspondiente:\r\n\r\n- Nomenclátor de Prescripción AEMPS. Forma Farmacéutica: urn:oid:2.16.724.4.21.5.14"
      },
      {
        "id": "Medication.doseForm.coding.code",
        "path": "Medication.doseForm.coding.code",
        "short": "Código de la forma farmacéutica"
      },
      {
        "id": "Medication.doseForm.coding.display",
        "path": "Medication.doseForm.coding.display",
        "short": "Descripción de la forma farmacéutica",
        "definition": "Representation defined by the system. A representation of the meaning of the code in the system, following the rules of the system."
      },
      {
        "id": "Medication.ingredient",
        "path": "Medication.ingredient",
        "short": "Principio activo",
        "definition": "Active or inactive ingredient. Identifies a particular constituent of interest in the product."
      },
      {
        "id": "Medication.ingredient.item",
        "path": "Medication.ingredient.item",
        "short": "Principio activo",
        "definition": "The ingredient (substance or medication) that the ingredient.strength relates to. This is represented as a concept from a code system or described in another resource (Substance or Medication).",
        "binding": {
          "strength": "extensible",
          "description": "Value set de Sustancias",
          "valueSet": "https://unicas-fhir.sanidad.gob.es/ValueSet/Sustancias"
        }
      },
      {
        "id": "Medication.ingredient.item.concept",
        "path": "Medication.ingredient.item.concept",
        "short": "Principio activo",
        "definition": "Reference to a concept (by class). A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology."
      },
      {
        "id": "Medication.ingredient.item.concept.coding.system",
        "path": "Medication.ingredient.item.concept.coding.system",
        "short": "URL del SNOMED CT. Extensión para España del SNS",
        "definition": "Posible URL de terminología utilizada para indicar el principio activo y su descripción correspondiente:\r\n\r\n- SNOMED CT. Extensión para España del SNS con filtro aplicado al eje sustancia: http://snomed.info/sct/900000001000122104"
      },
      {
        "id": "Medication.ingredient.item.concept.coding.code",
        "path": "Medication.ingredient.item.concept.coding.code",
        "short": "Código del principio activo"
      },
      {
        "id": "Medication.ingredient.item.concept.coding.display",
        "path": "Medication.ingredient.item.concept.coding.display",
        "short": "Descripción del principio activo",
        "definition": "Representation defined by the system. A representation of the meaning of the code in the system, following the rules of the system."
      }
    ]
  }
}