<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ie-core-specimen" />
  <url value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-specimen" />
  <name value="IECoreSpecimen" />
  <title value="IE Core Specimen" />
  <status value="draft" />
  <description value="The IE Core Specimen profile sets minimum expectations for the Specimen resource to record, search, and fetch specimens associated with a patient, based on Irish requirements." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Specimen" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Specimen" />
  <derivation value="constraint" />
  <differential>
    <element id="Specimen.identifier">
      <path value="Specimen.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.type">
      <path value="Specimen.type" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-specimen-type" />
      </binding>
    </element>
    <element id="Specimen.subject">
      <path value="Specimen.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Specimen.collection">
      <path value="Specimen.collection" />
      <mustSupport value="true" />
    </element>
    <element id="Specimen.condition">
      <path value="Specimen.condition" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>