<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="a8f1df46-c05c-498b-b4ce-3c45862245d6" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-11-07T12:21:35.326+00:00" />
    <tag>
      <system value="urn:hscic:publishOrder" />
      <code value="10" />
    </tag>
  </meta>
  <url value="http://fhir.nhs.net/StructureDefinition/extension-gpconnect-appointment-booking-method-1" />
  <version value="1.0" />
  <name value="Extension-GPConnect-Appointment-Booking-Method-1" />
  <status value="draft" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
    </telecom>
  </contact>
  <date value="2016-08-03T00:00:00+01:00" />
  <description value="This Extension resource is constrained to represent the method used to book the appointment." />
  <copyright value="Copyright © 2016 Health and Social Care Information Centre" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <kind value="resource" />
  <constrainedType value="Extension" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Appointment" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <snapshot>
    <element>
      <path value="Extension" />
      <short value="The method used to book the appointment." />
      <definition value="The method used to book the appointment." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="The method used to book the appointment." />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/gpconnect-appointment-booking-method-1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.url" />
      <representation value="xmlAttr" />
      <short value="identifies the meaning of the extension" />
      <definition value="Source of the definition for the extension code - a logical name or a URL." />
      <comments value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.url" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://fhir.nhs.net/StructureDefinition/extension-gpconnect-appointment-booking-method-1" />
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.value[x]" />
      <name value="Appointment Booking Method" />
      <short value="Appointment booking method" />
      <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." />
      <requirements value="Added due to requirements specification from GPConnect project." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="The method used to book the appointment" />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/gpconnect-appointment-booking-method-1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="The method used to book the appointment." />
      <definition value="The method used to book the appointment." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="The method used to book the appointment." />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/gpconnect-appointment-booking-method-1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.url" />
      <representation value="xmlAttr" />
      <short value="identifies the meaning of the extension" />
      <definition value="Source of the definition for the extension code - a logical name or a URL." />
      <comments value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.url" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://fhir.nhs.net/StructureDefinition/extension-gpconnect-appointment-booking-method-1" />
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.value[x]" />
      <name value="Appointment Booking Method" />
      <short value="Appointment booking method" />
      <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." />
      <requirements value="Added due to requirements specification from GPConnect project." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="The method used to book the appointment" />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/gpconnect-appointment-booking-method-1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>