<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="e324ea08-15b0-4420-8f16-76c3d9002baa" />
  <meta>
    <lastUpdated value="2022-07-02T05:59:54.9556421+00:00" />
  </meta>
  <url value="https://simplifier.net/winningtest/nat-specimen-profile" />
  <name value="NATSpecimen" />
  <title value="核酸检测标本" />
  <status value="draft" />
  <date value="2022-07-02T06:00:41.687116+00:00" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Specimen" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Specimen" />
  <derivation value="constraint" />
  <differential>
    <element id="Specimen.accessionIdentifier">
      <path value="Specimen.accessionIdentifier" />
      <max value="0" />
    </element>
    <element id="Specimen.type">
      <path value="Specimen.type" />
      <short value="标本代码" />
      <binding>
        <strength value="required" />
        <description value="检验标本代码" />
        <valueSet value="urn:oid:1.2.156.112604.1.2.863" />
      </binding>
    </element>
    <element id="Specimen.subject">
      <path value="Specimen.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://simplifier.net/winningtest/general-patient-profile" />
      </type>
    </element>
    <element id="Specimen.receivedTime">
      <path value="Specimen.receivedTime" />
      <max value="0" />
    </element>
    <element id="Specimen.parent">
      <path value="Specimen.parent" />
      <max value="0" />
    </element>
    <element id="Specimen.request">
      <path value="Specimen.request" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.extension">
      <path value="Specimen.collection.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Specimen.collection.extension:collectionLocationType">
      <path value="Specimen.collection.extension" />
      <sliceName value="collectionLocationType" />
      <short value="采集地点类型" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://simplifier.net/winningtest/extension-collection-location-type" />
      </type>
    </element>
    <element id="Specimen.collection.extension:collectionPurpose">
      <path value="Specimen.collection.extension" />
      <sliceName value="collectionPurpose" />
      <short value="检测对象" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://simplifier.net/winningtest/extension-collection-purpose" />
      </type>
    </element>
    <element id="Specimen.collection.collector">
      <path value="Specimen.collection.collector" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.collected[x]">
      <path value="Specimen.collection.collected[x]" />
      <short value="采样时间" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Specimen.collection.duration">
      <path value="Specimen.collection.duration" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.quantity">
      <path value="Specimen.collection.quantity" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.method">
      <path value="Specimen.collection.method" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.bodySite">
      <path value="Specimen.collection.bodySite" />
      <max value="0" />
    </element>
    <element id="Specimen.collection.fastingStatus[x]">
      <path value="Specimen.collection.fastingStatus[x]" />
      <max value="0" />
    </element>
    <element id="Specimen.processing">
      <path value="Specimen.processing" />
      <max value="0" />
    </element>
    <element id="Specimen.container">
      <path value="Specimen.container" />
      <max value="0" />
    </element>
    <element id="Specimen.condition">
      <path value="Specimen.condition" />
      <max value="0" />
    </element>
    <element id="Specimen.note">
      <path value="Specimen.note" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>