<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="5f4ea1bd-9b34-4352-98c5-72fee645fba1" />
  <meta>
    <versionId value="20" />
    <lastUpdated value="2016-10-26T15:40:49.02+00:00" />
  </meta>
  <url value="http://fhir.mckesson.com/mhs/sd/Contract/agreementtype-v1" />
  <name value="Contract.agreementtype Extension" />
  <status value="active" />
  <description value="Agreement Type Extension of Contract" />
  <fhirVersion value="1.0.2" />
  <kind value="datatype" />
  <constrainedType value="Extension" />
  <abstract value="false" />
  <contextType value="datatype" />
  <context value="Contract" />
  <base value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <snapshot>
    <element>
      <path value="Extension" />
      <name value="agreementtype" />
      <short value="Agreement Type" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <slicing>
        <discriminator value="url" />
        <rules value="openAtEnd" />
      </slicing>
    </element>
    <element>
      <path value="Extension.extension" />
      <name value="name" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <representation value="xmlAttr" />
      <short value="Contract Agreement Name Code Extension Url" />
      <fixedUri value="http://fhir.mckesson.com/mhs/sd/Contract/agreementtype-v1/name" />
    </element>
    <element>
      <path value="Extension.extension.valueCoding" />
      <short value="Contract.agreementtype.name Coding" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <name value="desc" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <representation value="xmlAttr" />
      <short value="Contract Agreement Type Description Extension Url" />
      <fixedUri value="http://fhir.mckesson.com/mhs/sd/Contract/agreementtype-v1/desc" />
    </element>
    <element>
      <path value="Extension.extension.valueString" />
      <short value="Contract.agreementtype.desc String" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <name value="guid" />
    </element>
    <element>
      <path value="Extension.extension.url" />
      <representation value="xmlAttr" />
      <short value="Contract Agreement Type GUID Extension Url" />
      <fixedUri value="http://fhir.mckesson.com/mhs/sd/Contract/agreementtype-v1/guid" />
    </element>
    <element>
      <path value="Extension.extension.valueString" />
      <short value="Contract.agreementtype.guid String" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Extension.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Extension.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Extension.extension" />
      <short value="Additional Content defined by implementations" />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Extension.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
    </element>
    <element>
      <path value="Extension.url" />
      <representation value="xmlAttr" />
      <short value="Contract Agreement Type Extension 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.mckesson.com/mhs/sd/Contract/agreementtype-v1" />
    </element>
    <element>
      <path value="Extension.value[x]" />
      <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="0" />
      <max value="0" />
      <base>
        <path value="Extension.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="Meta" />
      </type>
    </element>
  </snapshot>
</StructureDefinition>