{
  "resourceType": "StructureDefinition",
  "id": "ee-tis-total-prescribed-amount",
  "url": "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount",
  "version": "1.0.0",
  "name": "ExtensionEETISTotalPrescribedAmount",
  "status": "draft",
  "date": "2024-01-30T12:44:53.0886848+00:00",
  "description": "Väljakirjutatud kogus. How much in total there is medication prescribed on one Medication Request.",
  "fhirVersion": "5.0.0",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "MedicationStatement"
    },
    {
      "type": "element",
      "expression": "MedicationRequest"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "RAVIMI KOGUHULK ja ÜHIK",
        "definition": "Kui palju on ravimit koguseliselt välja kirutatud - näiteks 120 tabletti. Selle pealt saab arvutada JÄÄKI.  \r\nVäljakirjutatud kogus. \r\nHow much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Koguhulk ja ühik.",
        "type": [
          {
            "code": "integer"
          }
        ]
      }
    ]
  }
}