<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-core-TimePeriod-extension" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR TimePeriod Extension</b>
      </p>
      <p>A period of time defined by a start and end time, date, or year. If the start element is missing, the start of the period is not known. If the end element is missing, it means that the period is ongoing, or the start may be in the past, and the end date in the future, which means that period is expected/planned to end at the specified time. The end value includes any matching date/time. For example, the period 2011-05-23 to 2011-05-27 includes all the times from the start of the 23rd May through to the end of the 27th of May.</p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.core.TimePeriod" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR TimePeriod Extension" />
  <title value="SHR TimePeriod Extension" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="A period of time defined by a start and end time, date, or year. If the start element is missing, the start of the period is not known. If the end element is missing, it means that the period is ongoing, or the start may be in the past, and the end date in the future, which means that period is expected/planned to end at the specified time. The end value includes any matching date/time. For example, the period 2011-05-23 to 2011-05-27 includes all the times from the start of the 23rd May through to the end of the 27th of May." />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="*" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension:timeperiod">
      <path value="Extension" />
      <short value="SHR TimePeriod Extension" />
      <definition value="A period of time defined by a start and end time, date, or year. If the start element is missing, the start of the period is not known. If the end element is missing, it means that the period is ongoing, or the start may be in the past, and the end date in the future, which means that period is expected/planned to end at the specified time. The end value includes any matching date/time. For example, the period 2011-05-23 to 2011-05-27 includes all the times from the start of the 23rd May through to the end of the 27th of May." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Extension:timeperiod.extension:extension">
      <path value="Extension.extension" />
      <sliceName value="extension" />
      <max value="0" />
    </element>
    <element id="Extension:timeperiod.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension" />
    </element>
    <element id="Extension:timeperiod.valuePeriod">
      <path value="Extension.valuePeriod" />
      <min value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
  </differential>
</StructureDefinition>