<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://simplifier.net/winningtest/hbv-test-result-profile" />
  <name value="HepatitisBVirusTestResult" />
  <title value="乙型肝炎病毒检验结果" />
  <status value="draft" />
  <date value="2023-05-25T03:50:48.44247+00:00" />
  <description value="乙肝两对半的检验结果" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="https://simplifier.net/winningtest/laboratory-observation-profile" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.code">
      <path value="Observation.code" />
      <binding>
        <strength value="required" />
        <description value="乙肝两对半的LOINC编码" />
        <valueSet value="https://simplifier.net/winningtest/valueset-hbv-test" />
      </binding>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <binding>
        <strength value="preferred" />
        <description value="Pos|Neg" />
        <valueSet value="https://loinc.org/LL360-9/" />
      </binding>
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>