R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example StructureDefinition/Dosage (XML)

Modeling and Methodology Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

StructureDefinition for Dosage

<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Dosage"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
       top;">
        <tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
         top">
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> 
          </th> 
          <th class="hierarchy" style="width: 100px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a> 
            <span style="float: right">
              <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
                <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/> 
              </a> 
            </span> 
          </th> 
        </tr> 
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Element"/>  
            <a href="dosage-definitions.html#Dosage" title="Dosage : Indicates how the medication is/was taken or should be taken by the patient.">Dosage</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
            <a href="versions.html#std-process" style="padding-left: 3px; padding-right: 3px; border: 1px grey solid; font-weight: bold;
             color: black; background-color: #fff5e6" title="Standards Status = Trial Use">TU</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="types.html#Element">Element</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">How the medication is/was taken or should be taken
            <br/>  
            <span style="font-style: italic" title="dos-1">+ Rule: AsNeededFor can only be set if AsNeeded is empty or true</span> 
            <br/>  
            <br/>  Elements defined in Ancestors: 
            <a href="types.html#Element" title="Unique id for the element within a resource (for internal references). This may
             be any string value that does not contain spaces.">id</a> , 
            <a href="types.html#Element" title="May be used to represent additional information that is not part of the basic definition
             of the element. To make the use of extensions safe and managable, there is a strict
             set of governance applied to the definition and use of extensions. Though any implementer
             can define an extension, there is a set of requirements that SHALL be met as part
             of the definition of the extension.">extension</a> , 
            <a href="types.html#BackboneType" title="May be used to represent additional information that is not part of the basic definition
             of the element and that modifies the understanding of the element in which it is
             contained and/or the understanding of the containing element's descendants. Usually
             modifier elements provide negation or qualification. To make the use of extensions
             safe and managable, there is a strict set of governance applied to the definition
             and use of extensions. Though any implementer can define an extension, there is
             a set of requirements that SHALL be met as part of the definition of the extension.
             Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
             DomainResource (including cannot change the meaning of modifierExtension itself).">modifierExtension</a> 
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <a href="dosage-definitions.html#Dosage.sequence" title="Dosage.sequence : Indicates the order in which the dosage instructions should be
             applied or interpreted.">sequence</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#integer">integer</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">The order of the dosage instructions
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <a href="dosage-definitions.html#Dosage.text" title="Dosage.text : Free text dosage instructions e.g. SIG.">text</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Free text dosage instructions e.g. SIG
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.additionalInstruction" title="Dosage.additionalInstruction : Supplemental instructions to the patient on how
             to take the medication  (e.g. &quot;with meals&quot; or&quot;take half to one hour
             before food&quot;) or warnings for the patient about the medication (e.g. &quot;may
             cause drowsiness&quot; or &quot;avoid exposure of skin to direct sunlight or sunlamps&quot;).">additionalInstruction</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Supplemental instruction or warnings to the patient - e.g. &quot;with meals&quot;,
             &quot;may cause drowsiness&quot;
            <br/>  Binding: 
            <a href="valueset-additional-instruction-codes.html" title="A coded concept identifying additional instructions such as &quot;take with water&quot;
             or &quot;avoid operating heavy machinery&quot;.">SNOMED CT Additional Dosage Instructions</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <a href="dosage-definitions.html#Dosage.patientInstruction" title="Dosage.patientInstruction : Instructions in terms that are understood by the patient
             or consumer.">patientInstruction</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Patient or consumer oriented instructions
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.timing" title="Dosage.timing : When medication should be administered.">timing</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Timing">Timing</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">When medication should be administered
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <a href="dosage-definitions.html#Dosage.asNeeded" title="Dosage.asNeeded : Indicates whether the Medication is only taken when needed within
             a specific dosing schedule (Boolean option).">asNeeded</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
            <a href="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#boolean">boolean</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Take &quot;as needed&quot;
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.asNeededFor" title="Dosage.asNeededFor : Indicates whether the Medication is only taken based on a
             precondition for taking the Medication (CodeableConcept).">asNeededFor</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
            <a href="conformance-rules.html#constraints" style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold;
             color: #301212; background-color: #fdf4f4;" title="This element has or is affected by some invariants">C</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Take &quot;as needed&quot; (for x)
            <br/>  Binding: 
            <a href="valueset-medication-as-needed-reason.html" title="A coded concept identifying the precondition that should be met or evaluated prior
             to consuming or administering a medication dose.  For example &quot;pain&quot;,
             &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc.">SNOMED CT Medication As Needed Reason Codes</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.site" title="Dosage.site : Body site to administer to.">site</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Body site to administer to
            <br/>  Binding: 
            <a href="valueset-approach-site-codes.html" title="A coded concept describing the site location the medicine enters into or onto the
             body.">SNOMED CT Anatomical Structure for Administration Site Codes</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.route" title="Dosage.route : How drug should enter body.">route</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">How drug should enter body
            <br/>  Binding: 
            <a href="valueset-route-codes.html" title="A coded concept describing the route or physiological path of administration of
             a therapeutic agent into or onto the body of a subject.">SNOMED CT Route Codes</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.method" title="Dosage.method : Technique for administering medication.">method</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Technique for administering medication
            <br/>  Binding: 
            <a href="valueset-administration-method-codes.html" title="A coded concept describing the technique by which the medicine is administered.">SNOMED CT Administration Method Codes</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Element"/>  
            <a href="dosage-definitions.html#Dosage.doseAndRate" title="Dosage.doseAndRate : Depending on the resource,this is the amount of medication
             administered, to  be administered or typical amount to be administered.">doseAndRate</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="types.html#Element">Element</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Amount of medication administered, to be administered or typical amount to be administered
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.doseAndRate.type" title="Dosage.doseAndRate.type : The kind of dose or rate specified, for example, ordered
             or calculated.">type</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">The kind of dose or rate specified
            <br/>  Binding: 
            <a href="http://terminology.hl7.org/5.4.0/ValueSet-dose-rate-type.html" title="The kind of dose or rate specified.">DoseAndRateType</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <a href="dosage-definitions.html#Dosage.doseAndRate.dose_x_" title="Dosage.doseAndRate.dose[x] : Amount of medication per dose.">dose[x]</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Amount of medication per dose
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQ0AIAwDwezq/WcAaqhSoDRn6ZqXXE
          mq42zdrWP6DwAAzHkCAADALxtMUUAsbN3VPQAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A set of ordered Quantities defined by a low and high limit.">doseRange</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Range">Range</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  doseQuantity
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#SimpleQuantity">SimpleQuantity</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Choice of Types"/>  
            <a href="dosage-definitions.html#Dosage.doseAndRate.rate_x_" title="Dosage.doseAndRate.rate[x] : Amount of medication per unit of time.">rate[x]</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Amount of medication per unit of time
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3NoQ0AIBR
          Dwb9r958B0KAgAcw1OfNMK0ntGGtze+n3PwAAcG4JAAAAt3RWK0BWYk6o4QAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="A relationship of two Quantity values - expressed as a numerator and a denominator.">rateRatio</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Ratio">Ratio</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3NoQ0AIBRDwb9r958B0KAgAcw1OfNMK0
          ntGGtze+n3PwAAcG4JAAAAt3RWK0BWYk6o4QAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A set of ordered Quantities defined by a low and high limit.">rateRange</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Range">Range</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  rateQuantity
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#SimpleQuantity">SimpleQuantity</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.maxDosePerPeriod" title="Dosage.maxDosePerPeriod : Upper limit on medication per unit of time.">maxDosePerPeriod</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Ratio">Ratio</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Upper limit on medication per unit of time
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.maxDosePerAdministration" title="Dosage.maxDosePerAdministration : Upper limit on medication per administration.">maxDosePerAdministration</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#SimpleQuantity">SimpleQuantity</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Upper limit on medication per administration
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#Dosage.maxDosePerLifetime" title="Dosage.maxDosePerLifetime : Upper limit on medication per lifetime of the patient.">maxDosePerLifetime</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#SimpleQuantity">SimpleQuantity</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Upper limit on medication per lifetime of the patient
            <br/>  
          </td> 
        </tr> 

        <tr> 
          <td class="hierarchy" colspan="5">
            <br/>  
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
              <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/>  Documentation for this format
            </a> 
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/Dosage"/> 
  <version value="6.0.0-ballot1"/> 
  <name value="Dosage"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2023-12-18T15:12:07+11:00"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <description value="Dosage Type: Indicates how the medication is/was taken or should be taken by the
   patient."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <fhirVersion value="6.0.0-ballot1"/> 
  <mapping> 
    <identity value="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="v2"/> 
    <uri value="http://hl7.org/v2"/> 
    <name value="HL7 V2 Mapping"/> 
  </mapping> 
  <kind value="complex-type"/> 
  <abstract value="false"/> 
  <type value="Dosage"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/BackboneType"/> 
  <derivation value="specialization"/> 
  <snapshot> 
    <element id="Dosage">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use"/> 
      </extension> 
      <path value="Dosage"/> 
      <short value="How the medication is/was taken or should be taken"/> 
      <definition value="Indicates how the medication is/was taken or should be taken by the patient."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Dosage"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <constraint> 
        <key value="dos-1"/> 
        <severity value="error"/> 
        <human value="AsNeededFor can only be set if AsNeeded is empty or true"/> 
        <expression value="asNeededFor.empty() or asNeeded.empty() or asNeeded"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Dosage"/> 
      </constraint> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a,.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Dosage.id">
      <path value="Dosage.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Dosage.extension">
      <path value="Dosage.extension"/> 
      <slicing> 
        <discriminator> 
          <type value="value"/> 
          <path value="url"/> 
        </discriminator> 
        <description value="Extensions are always sliced by (at least) url"/> 
        <rules value="open"/> 
      </slicing> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Dosage.modifierExtension">
      <path value="Dosage.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is
       contained and/or the understanding of the containing element's descendants. Usually
       modifier elements provide negation or qualification. To make the use of extensions
       safe and managable, there is a strict set of governance applied to the definition
       and use of extensions. Though any implementer can define an extension, there is
       a set of requirements that SHALL be met as part of the definition of the extension.
       Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be
       clearly distinguished from the vast majority of extensions which can be safely
       ignored.  This promotes interoperability by eliminating the need for implementers
       to prohibit the presence of extensions. For further information, see the [definition
       of modifier extensions](extensibility.html#modifierExtension)."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneType.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Dosage.sequence">
      <path value="Dosage.sequence"/> 
      <short value="The order of the dosage instructions"/> 
      <definition value="Indicates the order in which the dosage instructions should be applied or interpreted."/> 
      <requirements value="If the sequence number of multiple Dosages is the same, then it is implied that
       the instructions are to be treated as concurrent.  If the sequence number is different,
       then the Dosages are intended to be sequential."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.sequence"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="integer"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.text">
      <path value="Dosage.text"/> 
      <short value="Free text dosage instructions e.g. SIG"/> 
      <definition value="Free text dosage instructions e.g. SIG."/> 
      <requirements value="Free text dosage instructions can be used for cases where the instructions are
       too complex to code.  The content of this attribute does not include the name or
       description of the medication. When coded instructions are present, the free text
       instructions may still be present for display to humans taking or administering
       the medication. It is expected that the text instructions will always be populated.
        If the dosage.timing attribute is also populated, then the dosage.text should
       reflect the same information as the timing.  Additional information about administration
       or preparation of the medication should be included as text."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-6; RXE-21"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.additionalInstruction">
      <path value="Dosage.additionalInstruction"/> 
      <short value="Supplemental instruction or warnings to the patient - e.g. &quot;with meals&quot;,
       &quot;may cause drowsiness&quot;"/> 
      <definition value="Supplemental instructions to the patient on how to take the medication  (e.g. &quot;with
       meals&quot; or&quot;take half to one hour before food&quot;) or warnings for the
       patient about the medication (e.g. &quot;may cause drowsiness&quot; or &quot;avoid
       exposure of skin to direct sunlight or sunlamps&quot;)."/> 
      <comment value="Information about administration or preparation of the medication (e.g. &quot;infuse
       as rapidly as possibly via intraperitoneal port&quot; or take &quot;immediately
       following drug x&quot;) should be populated in dosage.text."/> 
      <requirements value="Additional instruction is intended to be coded, but where no code exists, the element
       could include text.  For example, &quot;Swallow with plenty of water&quot; which
       might or might not be coded."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Dosage.additionalInstruction"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept identifying additional instructions such as &quot;take with water&quot;
           or &quot;avoid operating heavy machinery&quot;."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdditionalInstruction"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept identifying additional instructions such as &quot;take with water&quot;
         or &quot;avoid operating heavy machinery&quot;."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/additional-instruction-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.patientInstruction">
      <path value="Dosage.patientInstruction"/> 
      <short value="Patient or consumer oriented instructions"/> 
      <definition value="Instructions in terms that are understood by the patient or consumer."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.patientInstruction"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.timing">
      <path value="Dosage.timing"/> 
      <short value="When medication should be administered"/> 
      <definition value="When medication should be administered."/> 
      <comment value="This attribute might not always be populated while the Dosage.text is expected
       to be populated.  If both are populated, then the Dosage.text should reflect the
       content of the Dosage.timing."/> 
      <requirements value="The timing schedule for giving the medication to the patient. This  data type allows
       many different expressions. For example: &quot;Every 8 hours&quot;; &quot;Three
       times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from 23-Dec 2011:&quot;;
       &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.  Sometimes, a rate can imply
       duration when expressed as total volume / duration (e.g.  500mL/2 hours implies
       a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour),
       then the timing.repeat.duration is needed to convey the infuse over time period."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.timing"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Dosage.asNeeded">
      <path value="Dosage.asNeeded"/> 
      <short value="Take &quot;as needed&quot;"/> 
      <definition value="Indicates whether the Medication is only taken when needed within a specific dosing
       schedule (Boolean option)."/> 
      <comment value="Can express &quot;as needed&quot; without a reason by setting the Boolean = True.
        In this case the CodeableConcept is not populated."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.asNeeded"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <condition value="dos-1"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-9"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=&quot;as
         needed&quot;].value=boolean or codable concept"/> 
      </mapping> 
    </element> 
    <element id="Dosage.asNeededFor">
      <path value="Dosage.asNeededFor"/> 
      <short value="Take &quot;as needed&quot; (for x)"/> 
      <definition value="Indicates whether the Medication is only taken based on a precondition for taking
       the Medication (CodeableConcept)."/> 
      <comment value="Can express &quot;as needed&quot; with a reason by including the CodeableConcept.
        In this case the Boolean is assumed to be False, then the dose is given according
       to the schedule and is not &quot;prn&quot; or &quot;as needed&quot;."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Dosage.asNeededFor"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <condition value="dos-1"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept identifying the precondition that should be met or evaluated prior
           to consuming or administering a medication dose.  For example &quot;pain&quot;,
           &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAsNeededReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept identifying the precondition that should be met or evaluated prior
         to consuming or administering a medication dose.  For example &quot;pain&quot;,
         &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-9"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=&quot;as
         needed&quot;].value=boolean or codable concept"/> 
      </mapping> 
    </element> 
    <element id="Dosage.site">
      <path value="Dosage.site"/> 
      <short value="Body site to administer to"/> 
      <definition value="Body site to administer to."/> 
      <comment value="If the use case requires attributes from the BodySite resource (e.g. to identify
       and track separately) then use the standard extension [http://hl7.org/fhir/StructureDefinitio
      n/bodySite](http://hl7.org/fhir/extensions/StructureDefinition-bodySite.html). 
       May be a summary code, or a reference to a very precise definition of the location,
       or both."/> 
      <requirements value="A coded specification of the anatomic site where the medication first enters the
       body."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.site"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the site location the medicine enters into or onto the
           body."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationSite"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the site location the medicine enters into or onto the
         body."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/approach-site-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".approachSiteCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.route">
      <path value="Dosage.route"/> 
      <short value="How drug should enter body"/> 
      <definition value="How drug should enter body."/> 
      <requirements value="A code specifying the route or physiological path of administration of a therapeutic
       agent into or onto a patient's body."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.route"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the route or physiological path of administration of
           a therapeutic agent into or onto the body of a subject."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RouteOfAdministration"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the route or physiological path of administration of
         a therapeutic agent into or onto the body of a subject."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/route-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".routeCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.method">
      <path value="Dosage.method"/> 
      <short value="Technique for administering medication"/> 
      <definition value="Technique for administering medication."/> 
      <comment value="Terminologies used often pre-coordinate this term with the route and or form of
       administration."/> 
      <requirements value="A coded value indicating the method by which the medication is introduced into
       or onto the body. Most commonly used for injections.  For examples, Slow Push;
       Deep IV."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.method"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the technique by which the medicine is administered."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationMethod"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the technique by which the medicine is administered."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/administration-method-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-4"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="SubstanceAdministration.methodCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate">
      <path value="Dosage.doseAndRate"/> 
      <short value="Amount of medication administered, to be administered or typical amount to be administered"/> 
      <definition value="Depending on the resource,this is the amount of medication administered, to  be
       administered or typical amount to be administered."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Dosage.doseAndRate"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Element"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="SubstanceAdministration.doseQuantity; SubstanceAdministration.RateQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.id">
      <path value="Dosage.doseAndRate.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.extension">
      <path value="Dosage.doseAndRate.extension"/> 
      <slicing> 
        <discriminator> 
          <type value="value"/> 
          <path value="url"/> 
        </discriminator> 
        <description value="Extensions are always sliced by (at least) url"/> 
        <rules value="open"/> 
      </slicing> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and managable, there is a strict
       set of governance applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part
       of the definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application,
       project, or standard - regardless of the institution or jurisdiction that uses
       or defines the extensions.  The use of extensions is what allows the FHIR specification
       to retain a core level of simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.type">
      <path value="Dosage.doseAndRate.type"/> 
      <short value="The kind of dose or rate specified"/> 
      <definition value="The kind of dose or rate specified, for example, ordered or calculated."/> 
      <requirements value="If the type is not populated, assume to be &quot;ordered&quot;."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.doseAndRate.type"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="The kind of dose or rate specified."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DoseAndRateType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The kind of dose or rate specified."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/dose-rate-type"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-21; RXE-23"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.dose[x]">
      <path value="Dosage.doseAndRate.dose[x]"/> 
      <short value="Amount of medication per dose"/> 
      <definition value="Amount of medication per dose."/> 
      <comment value="Note that this specifies the quantity of the specified medication, not the quantity
       for each active ingredient(s). Each ingredient amount can be communicated in the
       Medication resource. For example, if one wants to communicate that a tablet was
       375 mg, where the dose was one tablet, you can use the Medication resource to document
       that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose
       was 375 mg, then you may only need to use the Medication resource to indicate this
       was a tablet. If the example were an IV such as dopamine and you wanted to communicate
       that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would
       all be communicated in the Medication resource. If the administration is not intended
       to be instantaneous (rate is present or timing has a duration), this can be specified
       to convey the total amount to be administered over the period of time as indicated
       by the schedule e.g. 500 ml in dose, with timing used to convey that this should
       be done over 4 hours."/> 
      <requirements value="The amount of therapeutic or other substance given at one administration event."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.doseAndRate.dose[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-2, RXE-3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".doseQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.rate[x]">
      <path value="Dosage.doseAndRate.rate[x]"/> 
      <short value="Amount of medication per unit of time"/> 
      <definition value="Amount of medication per unit of time."/> 
      <comment value="It is possible to supply both a rate and a doseQuantity to provide full details
       about how the medication is to be administered and supplied. If the rate is intended
       to change over time, depending on local rules/regulations, each change should be
       captured as a new version of the MedicationRequest with an updated rate, or captured
       with a new MedicationRequest with the new rate.

It is possible to specify a rate over time (for example, 100 ml/hour) using either
       the rateRatio and rateQuantity.  The rateQuantity approach requires systems to
       have the capability to parse UCUM grammar where ml/hour is included rather than
       a specific ratio where the time is specified as the denominator.  Where a rate
       such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically
       correct than specifying using a rateQuantity of 250 mg/hour."/> 
      <requirements value="Identifies the speed with which the medication was or will be introduced into the
       patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.
        May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.   Other
       examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.  Sometimes, a rate
       can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours
       implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g.
       250mL/hour), then the timing.repeat.duration is needed to convey the infuse over
       time period."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.doseAndRate.rate[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXE22, RXE23, RXE-24"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".rateQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerPeriod">
      <path value="Dosage.maxDosePerPeriod"/> 
      <short value="Upper limit on medication per unit of time"/> 
      <definition value="Upper limit on medication per unit of time."/> 
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.
        For example &quot;2 tablets every 4 hours to a maximum of 8/day&quot;."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       to a subject over the period of time.  For example, 1000mg in 24 hours."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Dosage.maxDosePerPeriod"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-23, RXE-19"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".maxDoseQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerAdministration">
      <path value="Dosage.maxDosePerAdministration"/> 
      <short value="Upper limit on medication per administration"/> 
      <definition value="Upper limit on medication per administration."/> 
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.
        For example, a body surface area related dose with a maximum amount, such as 1.5
       mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2
       and maxDosePerAdministration of 2 mg."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       to a subject per administration."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.maxDosePerAdministration"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="not supported"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerLifetime">
      <path value="Dosage.maxDosePerLifetime"/> 
      <short value="Upper limit on medication per lifetime of the patient"/> 
      <definition value="Upper limit on medication per lifetime of the patient."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       per lifetime of the subject."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Dosage.maxDosePerLifetime"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="not supported"/> 
      </mapping> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="Dosage">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use"/> 
      </extension> 
      <path value="Dosage"/> 
      <short value="How the medication is/was taken or should be taken"/> 
      <definition value="Indicates how the medication is/was taken or should be taken by the patient."/> 
      <min value="0"/> 
      <max value="*"/> 
      <constraint> 
        <key value="dos-1"/> 
        <severity value="error"/> 
        <human value="AsNeededFor can only be set if AsNeeded is empty or true"/> 
        <expression value="asNeededFor.empty() or asNeeded.empty() or asNeeded"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Dosage"/> 
      </constraint> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]"/> 
      </mapping> 
    </element> 
    <element id="Dosage.sequence">
      <path value="Dosage.sequence"/> 
      <short value="The order of the dosage instructions"/> 
      <definition value="Indicates the order in which the dosage instructions should be applied or interpreted."/> 
      <requirements value="If the sequence number of multiple Dosages is the same, then it is implied that
       the instructions are to be treated as concurrent.  If the sequence number is different,
       then the Dosages are intended to be sequential."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="integer"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.text">
      <path value="Dosage.text"/> 
      <short value="Free text dosage instructions e.g. SIG"/> 
      <definition value="Free text dosage instructions e.g. SIG."/> 
      <requirements value="Free text dosage instructions can be used for cases where the instructions are
       too complex to code.  The content of this attribute does not include the name or
       description of the medication. When coded instructions are present, the free text
       instructions may still be present for display to humans taking or administering
       the medication. It is expected that the text instructions will always be populated.
        If the dosage.timing attribute is also populated, then the dosage.text should
       reflect the same information as the timing.  Additional information about administration
       or preparation of the medication should be included as text."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-6; RXE-21"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.additionalInstruction">
      <path value="Dosage.additionalInstruction"/> 
      <short value="Supplemental instruction or warnings to the patient - e.g. &quot;with meals&quot;,
       &quot;may cause drowsiness&quot;"/> 
      <definition value="Supplemental instructions to the patient on how to take the medication  (e.g. &quot;with
       meals&quot; or&quot;take half to one hour before food&quot;) or warnings for the
       patient about the medication (e.g. &quot;may cause drowsiness&quot; or &quot;avoid
       exposure of skin to direct sunlight or sunlamps&quot;)."/> 
      <comment value="Information about administration or preparation of the medication (e.g. &quot;infuse
       as rapidly as possibly via intraperitoneal port&quot; or take &quot;immediately
       following drug x&quot;) should be populated in dosage.text."/> 
      <requirements value="Additional instruction is intended to be coded, but where no code exists, the element
       could include text.  For example, &quot;Swallow with plenty of water&quot; which
       might or might not be coded."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept identifying additional instructions such as &quot;take with water&quot;
           or &quot;avoid operating heavy machinery&quot;."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdditionalInstruction"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept identifying additional instructions such as &quot;take with water&quot;
         or &quot;avoid operating heavy machinery&quot;."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/additional-instruction-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.patientInstruction">
      <path value="Dosage.patientInstruction"/> 
      <short value="Patient or consumer oriented instructions"/> 
      <definition value="Instructions in terms that are understood by the patient or consumer."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".text"/> 
      </mapping> 
    </element> 
    <element id="Dosage.timing">
      <path value="Dosage.timing"/> 
      <short value="When medication should be administered"/> 
      <definition value="When medication should be administered."/> 
      <comment value="This attribute might not always be populated while the Dosage.text is expected
       to be populated.  If both are populated, then the Dosage.text should reflect the
       content of the Dosage.timing."/> 
      <requirements value="The timing schedule for giving the medication to the patient. This  data type allows
       many different expressions. For example: &quot;Every 8 hours&quot;; &quot;Three
       times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from 23-Dec 2011:&quot;;
       &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.  Sometimes, a rate can imply
       duration when expressed as total volume / duration (e.g.  500mL/2 hours implies
       a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour),
       then the timing.repeat.duration is needed to convey the infuse over time period."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Dosage.asNeeded">
      <path value="Dosage.asNeeded"/> 
      <short value="Take &quot;as needed&quot;"/> 
      <definition value="Indicates whether the Medication is only taken when needed within a specific dosing
       schedule (Boolean option)."/> 
      <comment value="Can express &quot;as needed&quot; without a reason by setting the Boolean = True.
        In this case the CodeableConcept is not populated."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <condition value="dos-1"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-9"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=&quot;as
         needed&quot;].value=boolean or codable concept"/> 
      </mapping> 
    </element> 
    <element id="Dosage.asNeededFor">
      <path value="Dosage.asNeededFor"/> 
      <short value="Take &quot;as needed&quot; (for x)"/> 
      <definition value="Indicates whether the Medication is only taken based on a precondition for taking
       the Medication (CodeableConcept)."/> 
      <comment value="Can express &quot;as needed&quot; with a reason by including the CodeableConcept.
        In this case the Boolean is assumed to be False, then the dose is given according
       to the schedule and is not &quot;prn&quot; or &quot;as needed&quot;."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <condition value="dos-1"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept identifying the precondition that should be met or evaluated prior
           to consuming or administering a medication dose.  For example &quot;pain&quot;,
           &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAsNeededReason"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept identifying the precondition that should be met or evaluated prior
         to consuming or administering a medication dose.  For example &quot;pain&quot;,
         &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-9"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=&quot;as
         needed&quot;].value=boolean or codable concept"/> 
      </mapping> 
    </element> 
    <element id="Dosage.site">
      <path value="Dosage.site"/> 
      <short value="Body site to administer to"/> 
      <definition value="Body site to administer to."/> 
      <comment value="If the use case requires attributes from the BodySite resource (e.g. to identify
       and track separately) then use the standard extension [http://hl7.org/fhir/StructureDefinitio
      n/bodySite](http://hl7.org/fhir/extensions/StructureDefinition-bodySite.html). 
       May be a summary code, or a reference to a very precise definition of the location,
       or both."/> 
      <requirements value="A coded specification of the anatomic site where the medication first enters the
       body."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the site location the medicine enters into or onto the
           body."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationSite"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the site location the medicine enters into or onto the
         body."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/approach-site-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".approachSiteCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.route">
      <path value="Dosage.route"/> 
      <short value="How drug should enter body"/> 
      <definition value="How drug should enter body."/> 
      <requirements value="A code specifying the route or physiological path of administration of a therapeutic
       agent into or onto a patient's body."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the route or physiological path of administration of
           a therapeutic agent into or onto the body of a subject."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RouteOfAdministration"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the route or physiological path of administration of
         a therapeutic agent into or onto the body of a subject."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/route-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".routeCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.method">
      <path value="Dosage.method"/> 
      <short value="Technique for administering medication"/> 
      <definition value="Technique for administering medication."/> 
      <comment value="Terminologies used often pre-coordinate this term with the route and or form of
       administration."/> 
      <requirements value="A coded value indicating the method by which the medication is introduced into
       or onto the body. Most commonly used for injections.  For examples, Slow Push;
       Deep IV."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="A coded concept describing the technique by which the medicine is administered."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationMethod"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A coded concept describing the technique by which the medicine is administered."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/administration-method-codes"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXR-4"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="SubstanceAdministration.methodCode"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate">
      <path value="Dosage.doseAndRate"/> 
      <short value="Amount of medication administered, to be administered or typical amount to be administered"/> 
      <definition value="Depending on the resource,this is the amount of medication administered, to  be
       administered or typical amount to be administered."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Element"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="TQ1-2"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="SubstanceAdministration.doseQuantity; SubstanceAdministration.RateQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.type">
      <path value="Dosage.doseAndRate.type"/> 
      <short value="The kind of dose or rate specified"/> 
      <definition value="The kind of dose or rate specified, for example, ordered or calculated."/> 
      <requirements value="If the type is not populated, assume to be &quot;ordered&quot;."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="The kind of dose or rate specified."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DoseAndRateType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The kind of dose or rate specified."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/dose-rate-type"/> 
      </binding> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-21; RXE-23"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.dose[x]">
      <path value="Dosage.doseAndRate.dose[x]"/> 
      <short value="Amount of medication per dose"/> 
      <definition value="Amount of medication per dose."/> 
      <comment value="Note that this specifies the quantity of the specified medication, not the quantity
       for each active ingredient(s). Each ingredient amount can be communicated in the
       Medication resource. For example, if one wants to communicate that a tablet was
       375 mg, where the dose was one tablet, you can use the Medication resource to document
       that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose
       was 375 mg, then you may only need to use the Medication resource to indicate this
       was a tablet. If the example were an IV such as dopamine and you wanted to communicate
       that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would
       all be communicated in the Medication resource. If the administration is not intended
       to be instantaneous (rate is present or timing has a duration), this can be specified
       to convey the total amount to be administered over the period of time as indicated
       by the schedule e.g. 500 ml in dose, with timing used to convey that this should
       be done over 4 hours."/> 
      <requirements value="The amount of therapeutic or other substance given at one administration event."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-2, RXE-3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".doseQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.doseAndRate.rate[x]">
      <path value="Dosage.doseAndRate.rate[x]"/> 
      <short value="Amount of medication per unit of time"/> 
      <definition value="Amount of medication per unit of time."/> 
      <comment value="It is possible to supply both a rate and a doseQuantity to provide full details
       about how the medication is to be administered and supplied. If the rate is intended
       to change over time, depending on local rules/regulations, each change should be
       captured as a new version of the MedicationRequest with an updated rate, or captured
       with a new MedicationRequest with the new rate.

It is possible to specify a rate over time (for example, 100 ml/hour) using either
       the rateRatio and rateQuantity.  The rateQuantity approach requires systems to
       have the capability to parse UCUM grammar where ml/hour is included rather than
       a specific ratio where the time is specified as the denominator.  Where a rate
       such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically
       correct than specifying using a rateQuantity of 250 mg/hour."/> 
      <requirements value="Identifies the speed with which the medication was or will be introduced into the
       patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.
        May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.   Other
       examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.  Sometimes, a rate
       can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours
       implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g.
       250mL/hour), then the timing.repeat.duration is needed to convey the infuse over
       time period."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXE22, RXE23, RXE-24"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".rateQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerPeriod">
      <path value="Dosage.maxDosePerPeriod"/> 
      <short value="Upper limit on medication per unit of time"/> 
      <definition value="Upper limit on medication per unit of time."/> 
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.
        For example &quot;2 tablets every 4 hours to a maximum of 8/day&quot;."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       to a subject over the period of time.  For example, 1000mg in 24 hours."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="RXO-23, RXE-19"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".maxDoseQuantity"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerAdministration">
      <path value="Dosage.maxDosePerAdministration"/> 
      <short value="Upper limit on medication per administration"/> 
      <definition value="Upper limit on medication per administration."/> 
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.
        For example, a body surface area related dose with a maximum amount, such as 1.5
       mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2
       and maxDosePerAdministration of 2 mg."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       to a subject per administration."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="not supported"/> 
      </mapping> 
    </element> 
    <element id="Dosage.maxDosePerLifetime">
      <path value="Dosage.maxDosePerLifetime"/> 
      <short value="Upper limit on medication per lifetime of the patient"/> 
      <definition value="Upper limit on medication per lifetime of the patient."/> 
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered
       per lifetime of the subject."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="not supported"/> 
      </mapping> 
    </element> 
  </differential> 
</StructureDefinition> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.