<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="de-DataRequirement.subjectX" />
  <meta>
    <lastUpdated value="2019-02-10T00:11:08.953+00:00" />
  </meta>
  <url value="http://hl7.org/fhir/StructureDefinition/de-DataRequirement.subjectX" />
  <version value="4.0.0" />
  <name value="DataRequirement.subject[x]" />
  <title value="DataRequirement.subject[x]" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2019-02-10T00:11:08+00:00" />
  <publisher value="HL7 FHIR Standard" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <description value="Data Element for DataRequirement.subject[x]" />
  <purpose value="Data Elements are defined for each element to assist in questionnaire construction etc" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="DataRequirement.subject[x]" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="DataRequirement.subject[x]">
      <path value="DataRequirement.subject[x]" />
      <short value="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" />
      <definition value="The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed." />
      <comment value="The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="DataRequirement.subject[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <meaningWhenMissing value="Patient" />
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SubjectType" />
        </extension>
        <strength value="extensible" />
        <description value="The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)." />
      </binding>
    </element>
  </snapshot>
</StructureDefinition>