{
  "resourceType": "StructureDefinition",
  "id": "ee-tis-medicinal-product-classification",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-bind"
    }
  ],
  "url": "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification",
  "version": "1.0.0",
  "name": "ExtensionEETISMedicinalProductClassification",
  "status": "draft",
  "date": "2024-02-15T06:15:37.9998371+00:00",
  "publisher": "TEHIK",
  "contact": [
    {
      "name": "TEHIK",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.tehik.ee"
        },
        {
          "system": "email",
          "value": "fhir@tehik.ee"
        }
      ]
    },
    {
      "name": "Rutt Lindström",
      "telecom": [
        {
          "system": "email",
          "value": "rutt.lindstrom@tehik.ee",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Classification of the product, e.g. ATC.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "EE",
          "display": "Estonia"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Medication"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Klassifikatsioon",
        "definition": "Classification of the product, e.g. ATC."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.ee/StructureDefinition/ee-tis-medicinal-product-classification"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept",
        "path": "Extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "short": "ATC klassifikatsioon",
        "definition": "Medication classified according to ATC system.",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "ATC",
          "valueSet": "https://fhir.ee/CodeSystem/atc"
        }
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept.coding",
        "path": "Extension.value[x].coding",
        "definition": "ATC. \r\n\r\nA reference to a code defined by a terminology system.",
        "binding": {
          "strength": "preferred",
          "description": "ATC",
          "valueSet": "https://fhir.ee/CodeSystem/atc"
        }
      }
    ]
  }
}