<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="3da84b78-834a-4262-a80c-56d4b991dafd" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-11-07T12:21:35.85+00:00" />
  </meta>
  <url value="http://fhir.nhs.net/StructureDefinition/extension-registration-type-1" />
  <version value="1.0" />
  <name value="Extension-Registration-Type-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 support the type of registration at the healthcare organization for the Patient resource." />
  <copyright value="Copyright © 2016 Health and Social Care Information Centre" />
  <fhirVersion value="1.0.1" />
  <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="Patient" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <snapshot>
    <element>
      <path value="Extension" />
      <short value="The type of registration at the healthcare organization" />
      <definition value="The type of registration at the healthcare organization" />
      <min value="0" />
      <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="Registration status of the patient" />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/registration-type-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-registration-type-1" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.value[x]" />
      <name value="Registration Type" />
      <short value="The type of patient registration at the healthcare organization" />
      <definition value="The type of patient registration at the healthcare organization" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="A vocabulary that identifies the type of registration for a patient at the healthcare organization." />
        <valueSetReference>
          <reference value="http://fhir.nhs.net/ValueSet/registration-type-1" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="The type of registration at the healthcare organization" />
      <definition value="The type of registration at the healthcare organization" />
      <min value="0" />
      <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="Registration status of the patient" />
        <valueSetUri value="http://fhir.nhs.net/ValueSet/registration-type-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-registration-type-1" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element>
      <path value="Extension.value[x]" />
      <name value="Registration Type" />
      <short value="The type of patient registration at the healthcare organization" />
      <definition value="The type of patient registration at the healthcare organization" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="A vocabulary that identifies the type of registration for a patient at the healthcare organization." />
        <valueSetReference>
          <reference value="http://fhir.nhs.net/ValueSet/registration-type-1" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>