{
  "resourceType": "StructureDefinition",
  "id": "shr-medication-Dosage",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR Dosage Profile</b></p>\n  <p>The dosage of the medication, prescribed or taken.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.medication.Dosage maps to Dosage:\n  DoseAmount maps to dose[x]\n  TimingOfDoses maps to timing\n  AsNeededIndicator maps to asNeeded[x]\n  DoseInstructionsText maps to text\n  AdditionalDoseInstruction maps to additionalInstruction\n  RouteIntoBody maps to route\n  AdministrationMethod maps to method\n  AdministrationBodySite maps to site\n  MaximumDosePerTimePeriod maps to maxDosePerPeriod\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Dosage",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.medication.Dosage"
    }
  ],
  "version": "0.0.1",
  "name": "SHR Dosage Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "The dosage of the medication, prescribed or taken.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "Dosage",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Dosage",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Dosage:shr-medication-Dosage",
        "path": "Dosage",
        "short": "SHR Dosage Profile",
        "definition": "The dosage of the medication, prescribed or taken."
      },
      {
        "id": "Dosage:shr-medication-Dosage.additionalInstruction",
        "path": "Dosage.additionalInstruction",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AdditionalInstruction"
            }
          ],
          "strength": "required",
          "description": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/additional-instruction-codes"
          }
        }
      },
      {
        "id": "Dosage:shr-medication-Dosage.timing",
        "path": "Dosage.timing",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Timing",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Timing"
          }
        ]
      },
      {
        "id": "Dosage:shr-medication-Dosage.asNeeded[x]",
        "path": "Dosage.asNeeded[x]",
        "slicing": {
          "id": "65",
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Dosage:shr-medication-Dosage.asNeededCodeableConcept:CodeableConcept",
        "path": "Dosage.asNeededCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason"
          }
        }
      },
      {
        "id": "Dosage:shr-medication-Dosage.site",
        "path": "Dosage.site",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/core/vs/BodySiteVS"
          }
        }
      },
      {
        "id": "Dosage:shr-medication-Dosage.route",
        "path": "Dosage.route",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RouteOfAdministration"
            }
          ],
          "strength": "required",
          "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/route-codes"
          }
        }
      },
      {
        "id": "Dosage:shr-medication-Dosage.method",
        "path": "Dosage.method",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MedicationAdministrationMethod"
            }
          ],
          "strength": "required",
          "description": "A coded concept describing the technique by which the medicine is administered.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/administration-method-codes"
          }
        }
      },
      {
        "id": "Dosage:shr-medication-Dosage.dose[x]",
        "path": "Dosage.dose[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Range",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Range"
          },
          {
            "code": "Quantity",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-SimpleQuantity"
          }
        ]
      },
      {
        "id": "Dosage:shr-medication-Dosage.maxDosePerPeriod",
        "path": "Dosage.maxDosePerPeriod",
        "type": [
          {
            "code": "Ratio",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Ratio"
          }
        ]
      }
    ]
  }
}