<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="minimum-interval-between-repeats" />
  <url value="http://hl7.org.au/fhir/StructureDefinition/minimum-interval-between-repeats" />
  <version value="1.1.0" />
  <name value="MinimumIntervalBetweenRepeats" />
  <title value="Minimum Interval Between Repeats" />
  <status value="draft" />
  <date value="2018-10-03" />
  <publisher value="Health Level Seven Australia (Medications WG)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org.au" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="This extension applies to MedicationRequest resource and allows the definition of a duration indicating the minimum allowed time period between dispensing repeats." />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="MedicationRequest" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Minimum time between repeat dispensing of the medication" />
      <definition value="The supplied duration that must pass between dispensing of repeats of the associated medication request." />
      <max value="1" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://hl7.org.au/fhir/StructureDefinition/minimum-interval-between-repeats" />
    </element>
    <element id="Extension.value[x]:valueDuration">
      <path value="Extension.valueDuration" />
      <sliceName value="valueDuration" />
      <short value="Minimum Interval Between Repeats Duration" />
      <min value="1" />
      <type>
        <code value="Duration" />
      </type>
    </element>
  </differential>
</StructureDefinition>