<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="timing-dayOfMonth" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" />
  <version value="4.0.0" />
  <name value="dayOfMonth" />
  <title value="Day Of Month" />
  <status value="draft" />
  <date value="2015-02-28" />
  <publisher value="Health Level Seven, Inc. - MnM WG" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/special/committees/MnM" />
    </telecom>
  </contact>
  <description value="When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Timing.repeat" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Day of Month for schedule" />
      <definition value="When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule." />
      <comment value="The value must be an integer in thr range of 0 to 31. Its at the discretion of the implementer what to do if the value of the day is higher than the number of days in a given month." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" />
    </element>
    <element id="Extension.valuePositiveInt">
      <path value="Extension.valuePositiveInt" />
      <type>
        <code value="positiveInt" />
      </type>
    </element>
  </differential>
</StructureDefinition>