<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark235" />
  <meta>
    <versionId value="spark235" />
    <lastUpdated value="2015-10-02T12:17:27.3+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" />
  <name value="Template Status Code (more authoring statuses)" />
  <status value="draft" />
  <date value="2014-01-31" />
  <publisher value="Health Level Seven, Inc. - [WG Name] WG" />
  <contact>
    <telecom>
      <system value="other" />
      <value value="http://hl7.org/special/committees/FHIR" />
    </telecom>
  </contact>
  <description value="Status code taken from [HL7 template specification](http://wiki.hl7.org/images/7/7a/TemplatesDSTU-20140910b-96.pdf.zip) - allows for alignment with the template DSTU, and has more authoring status codes." />
  <fhirVersion value="1.0.1" />
  <kind value="datatype" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="StructureDefinition" />
  <snapshot>
    <element id="Extension">
      <path value="Extension" />
      <short value="Template Status Code (more authoring statuses)" />
      <definition value="Status code taken from [HL7 template specification](http://wiki.hl7.org/images/7/7a/TemplatesDSTU-20140910b-96.pdf.zip) - allows for alignment with the template DSTU, and has more authoring status codes." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="The Profile status has the codes that are relevant to end-users/developers, while this extension has the codes used by profile developers." />
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Extension" />
      <short value="Template Status Code (more authoring statuses)" />
      <definition value="Status code taken from [HL7 template specification](http://wiki.hl7.org/images/7/7a/TemplatesDSTU-20140910b-96.pdf.zip) - allows for alignment with the template DSTU, and has more authoring status codes." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
      </type>
      <comments value="The Profile status has the codes that are relevant to end-users/developers, while this extension has the codes used by profile developers." />
    </element>
    <element>
      <path value="Extension.extension" />
      <max value="0" />
      <name value="extension" />
    </element>
    <element>
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <description value="The status indicates the level of maturity of the design and may be used to manage the use of the design" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/template-status-code" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
  <constrainedType value="Extension" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
</StructureDefinition>