FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example StructureDefinition/DosageCondition (XML)

Responsible Owner: Modeling and Methodology Work GroupStandards Status: Informative

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

StructureDefinition for DosageCondition

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

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DosageCondition"/> 
  <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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom:
           3px">
            <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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom:
           3px">
            <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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom:
           3px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom:
           3px; 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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom:
           3px">
            <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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAg
          DsHd9/w4EQIOamFnaBgAA4MMKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <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#DosageCondition" title="DosageCondition : DosageCondition expresses a time or time period as relative to
             the time of an event defined in data types other than dateTime.">DosageCondition</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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: #e6ffe6; padding-left: 3px; padding-right: 3px;
             border: 1px grey solid; font-weight: bold; color: black; background-color: #e6ffe6" title="Standards Status = Normative">N</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">Expresses that something is dependent on an event happening
            <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 : var(--ig-left,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#DosageCondition.code" title="DosageCondition.code : The specific event occurrence or resource context used as
             a base point (reference point) in time.  This establishes the context in which
             the 'path' is evaluated.">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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 : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">The specific event occurrence or resource context used as a base point (reference
             point) in time
            <br/>  Binding: 
            <a href="valueset-dosage-condition-code.html" title="The specific event occurrence or resource context used as a base point (reference
             point) in time.">Dose Limit Scope ValueSet</a>  (
            <a href="terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability
             purposes but are not required to do so to be considered conformant.">Preferred</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 : var(--ig-left,left); background-color: white;
           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: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#DosageCondition.details" title="DosageCondition.details : Additional details about the event - depends on the code.">details</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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 : var(--ig-left,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 : var(--ig-left,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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">Additional details about the event - depends on the code
            <br/>  Binding: 
            <a href="valueset-dosage-condition-details.html" title="Additional details about the event - depends on the code.">Dosage Condition Details VS</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 : var(--ig-left,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#DosageCondition.operation" title="DosageCondition.operation : How the value is tested.">operation</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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 : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#code">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">eq | ne | in | nin | gt | lt | ge | le | sa | eb | ap
            <br/>  Binding: 
            <a href="valueset-comparison-operation.html" title="How the criteria value is tested.">Dose Limit Scope ValueSet</a>  (
            <a href="terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value
             set.">Required</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 : var(--ig-left,left); background-color: white;
           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: white; background-color: inherit" title="Data Type"/>  
            <a href="dosage-definitions.html#DosageCondition.value_x_" title="DosageCondition.value[x] : The value for this critera.">value[x]</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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 : var(--ig-left,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 : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#open">*</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,left); background-color: white;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">The value for this critera
            <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 : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAg
          DsHd9/w4EQIOamFnaBgAA4MMKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <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#DosageCondition.text" title="DosageCondition.text : Free-text (human-readable) description.">text</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : var(--ig-left,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; 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 : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7;
           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 : var(--ig-left,left); background-color: #F7F7F7;
           border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px">Free-text description
            <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="normative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/DosageCondition"/> 
  <version value="6.0.0-ballot3"/> 
  <name value="DosageCondition"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2025-11-27T16:48:47+00: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="DosageCondition Type: DosageCondition expresses a time or time period as relative
   to the time of an event defined in data types other than dateTime."/> 
  <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-ballot3"/> 
  <mapping> 
    <identity value="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <kind value="complex-type"/> 
  <abstract value="false"/> 
  <type value="DosageCondition"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/BackboneType"/> 
  <derivation value="specialization"/> 
  <snapshot> 
    <element id="DosageCondition">
      <path value="DosageCondition"/> 
      <short value="Expresses that something is dependent on an event happening"/> 
      <definition value="DosageCondition expresses a time or time period as relative to the time of an event
       defined in data types other than dateTime."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DosageCondition"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <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"/> 
      </mapping> 
    </element> 
    <element id="DosageCondition.id">
      <path value="DosageCondition.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="DosageCondition.extension">
      <path value="DosageCondition.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="DosageCondition.modifierExtension">
      <path value="DosageCondition.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="DosageCondition.code">
      <path value="DosageCondition.code"/> 
      <short value="The specific event occurrence or resource context used as a base point (reference
       point) in time"/> 
      <definition value="The specific event occurrence or resource context used as a base point (reference
       point) in time.  This establishes the context in which the 'path' is evaluated."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="DosageCondition.code"/> 
        <min value="1"/> 
        <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 specific event occurrence or resource context used as a base point (reference
           point) in time."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DosageConditionCode"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The specific event occurrence or resource context used as a base point (reference
         point) in time."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/dosage-condition-code"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.details">
      <path value="DosageCondition.details"/> 
      <short value="Additional details about the event - depends on the code"/> 
      <definition value="Additional details about the event - depends on the code."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DosageCondition.details"/> 
        <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="Additional details about the event - depends on the code."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DosageConditionDetails"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Additional details about the event - depends on the code."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/dosage-condition-details"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.operation">
      <path value="DosageCondition.operation"/> 
      <short value="eq | ne | in | nin | gt | lt | ge | le | sa | eb | ap"/> 
      <definition value="How the value is tested."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DosageCondition.operation"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </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="How the criteria value is tested."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ComparisonOperation"/> 
        </extension> 
        <strength value="required"/> 
        <description value="How the criteria value is tested."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/comparison-operation|6.0.0-ballot3"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.value[x]">
      <path value="DosageCondition.value[x]"/> 
      <short value="The value for this critera"/> 
      <definition value="The value for this critera."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DosageCondition.value[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="VirtualServiceDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <type> 
        <code value="Meta"/> 
      </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"/> 
    </element> 
    <element id="DosageCondition.text">
      <path value="DosageCondition.text"/> 
      <short value="Free-text description"/> 
      <definition value="Free-text (human-readable) description."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DosageCondition.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"/> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="DosageCondition">
      <path value="DosageCondition"/> 
      <short value="Expresses that something is dependent on an event happening"/> 
      <definition value="DosageCondition expresses a time or time period as relative to the time of an event
       defined in data types other than dateTime."/> 
      <min value="0"/> 
      <max value="*"/> 
    </element> 
    <element id="DosageCondition.code">
      <path value="DosageCondition.code"/> 
      <short value="The specific event occurrence or resource context used as a base point (reference
       point) in time"/> 
      <definition value="The specific event occurrence or resource context used as a base point (reference
       point) in time.  This establishes the context in which the 'path' is evaluated."/> 
      <min value="1"/> 
      <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 specific event occurrence or resource context used as a base point (reference
           point) in time."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DosageConditionCode"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The specific event occurrence or resource context used as a base point (reference
         point) in time."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/dosage-condition-code"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.details">
      <path value="DosageCondition.details"/> 
      <short value="Additional details about the event - depends on the code"/> 
      <definition value="Additional details about the event - depends on the code."/> 
      <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="Additional details about the event - depends on the code."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DosageConditionDetails"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Additional details about the event - depends on the code."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/dosage-condition-details"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.operation">
      <path value="DosageCondition.operation"/> 
      <short value="eq | ne | in | nin | gt | lt | ge | le | sa | eb | ap"/> 
      <definition value="How the value is tested."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="How the criteria value is tested."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ComparisonOperation"/> 
        </extension> 
        <strength value="required"/> 
        <description value="How the criteria value is tested."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/comparison-operation|6.0.0-ballot3"/> 
      </binding> 
    </element> 
    <element id="DosageCondition.value[x]">
      <path value="DosageCondition.value[x]"/> 
      <short value="The value for this critera"/> 
      <definition value="The value for this critera."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="canonical"/> 
      </type> 
      <type> 
        <code value="code"/> 
      </type> 
      <type> 
        <code value="date"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <type> 
        <code value="id"/> 
      </type> 
      <type> 
        <code value="instant"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="integer64"/> 
      </type> 
      <type> 
        <code value="markdown"/> 
      </type> 
      <type> 
        <code value="oid"/> 
      </type> 
      <type> 
        <code value="positiveInt"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="unsignedInt"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="url"/> 
      </type> 
      <type> 
        <code value="uuid"/> 
      </type> 
      <type> 
        <code value="Address"/> 
      </type> 
      <type> 
        <code value="Age"/> 
      </type> 
      <type> 
        <code value="Annotation"/> 
      </type> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="CodeableReference"/> 
      </type> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <type> 
        <code value="ContactPoint"/> 
      </type> 
      <type> 
        <code value="Count"/> 
      </type> 
      <type> 
        <code value="Distance"/> 
      </type> 
      <type> 
        <code value="Duration"/> 
      </type> 
      <type> 
        <code value="HumanName"/> 
      </type> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <type> 
        <code value="Money"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="RatioRange"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
      </type> 
      <type> 
        <code value="SampledData"/> 
      </type> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <type> 
        <code value="Timing"/> 
      </type> 
      <type> 
        <code value="ContactDetail"/> 
      </type> 
      <type> 
        <code value="DataRequirement"/> 
      </type> 
      <type> 
        <code value="Expression"/> 
      </type> 
      <type> 
        <code value="ParameterDefinition"/> 
      </type> 
      <type> 
        <code value="RelatedArtifact"/> 
      </type> 
      <type> 
        <code value="TriggerDefinition"/> 
      </type> 
      <type> 
        <code value="UsageContext"/> 
      </type> 
      <type> 
        <code value="Availability"/> 
      </type> 
      <type> 
        <code value="ExtendedContactDetail"/> 
      </type> 
      <type> 
        <code value="VirtualServiceDetail"/> 
      </type> 
      <type> 
        <code value="Dosage"/> 
      </type> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <isSummary value="true"/> 
    </element> 
    <element id="DosageCondition.text">
      <path value="DosageCondition.text"/> 
      <short value="Free-text description"/> 
      <definition value="Free-text (human-readable) description."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
      <isSummary value="true"/> 
    </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.