<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="UWearMePatientExtension" />
  <url value="http://fhir.hl7fundamentals.org/baseDstu2/StructureDefinition/UWearMePatientExtension" />
  <name value="UWearMePatientCategory" />
  <status value="draft" />
  <date value="2016-05-27T20:02:49+05:30" />
  <description value="Base Extension StructureDefinition for Patient Category for UWearMe device" />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM" />
  </mapping>
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Patient" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <definition value="Optional Extensions Element - found in all resources." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <definition value="Optional Extensions Element - found in all resources." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </type>
      <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." />
      <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.hl7fundamentals.org/baseDstu2/StructureDefinition/UWearMePatientExtension" />
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <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 #." />
    </element>
    <element>
      <path value="Extension.valueCoding" />
      <short value="Value of extension" />
      <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)." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Extension.value[x]" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <strength value="required" />
        <description value="Patient Subscription Category" />
        <valueSetReference>
          <reference value="http://fhir.hl7fundamentals.org/baseDstu2/ValueSet/UWearMePatientCategory" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
  </differential>
  <requirements value="Patient category based on Uwearme device subscription" />
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>