<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="69Doc-CPE-Genotyping-ObsValue"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:b9a8b9ee-9157-44af-b46e-9fef3c69d6bd"/>
  </identifier>
  <type value="document"/>
  <timestamp value="2026-01-17T12:00:00+02:00"/>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Composition/69Comp-Genotyping-ObsValue"/>
    <resource>
      <Composition>
        <id value="69Comp-Genotyping-ObsValue"/>
        <language value="de-CH"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:b9a8b9ee-9157-44af-b46e-9fef3c69d6bd"/>
        </identifier>
        <status value="final"/>
        <type>
          <coding>
            <system value="http://snomed.info/sct"/>
            <version value="http://snomed.info/sct/2011000195101"/>
            <code value="4241000179101"/>
            <display value="Laborbericht"/>
          </coding>
          <coding>
            <system value="http://loinc.org"/>
            <code value="11502-2"/>
            <display value="Laboratory report"/>
          </coding>
        </type>
        <subject>
          <reference value="Patient/68Pat"/>
        </subject>
        <date value="2026-01-17T12:00:00+02:00"/>
        <author>
          <reference value="Organization/1Org-Labor"/>
        </author>
        <title value="Laborbericht vom 17.1.2026"/>
        <section>
          <title value="Analyseergebnisse der CPE Resistenzbestimmung"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="726528006"/>
              <display value="Genotyping (qualifier value)"/>
            </coding>
          </code>
          <entry>
            <reference value="Observation/69Obs-Genotyping-ObsValue"/>
          </entry>
        </section>
      </Composition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/DiagnosticReport/69DR-Genotyping-ObsValue"/>
    <resource>
      <DiagnosticReport>
        <id value="69DR-Genotyping-ObsValue"/>
        <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition">
          <valueReference>
            <reference value="Composition/69Comp-Genotyping-ObsValue"/>
          </valueReference>
        </extension>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:b9a8b9ee-9157-44af-b46e-9fef3c69d6bd"/>
        </identifier>
        <basedOn>
          <reference value="ServiceRequest/69SR-Genotyping-ObsValue"/>
        </basedOn>
        <status value="final"/>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="11502-2"/>
            <display value="Laboratory report"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/68Pat"/>
        </subject>
        <performer>
          <reference value="Organization/1Org-Labor"/>
        </performer>
        <specimen>
          <reference value="Specimen/69Spec-Genotyping-ObsValue"/>
        </specimen>
        <result>
          <reference value="Observation/69Obs-Genotyping-ObsValue"/>
        </result>
      </DiagnosticReport>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Patient/68Pat"/>
    <resource>
      <Patient>
        <id value="68Pat"/>
        <identifier>
          <system value="urn:oid:2.16.756.5.32"/>
          <value value="7561234567897"/>
        </identifier>
        <name>
          <family value="Lirena"/>
          <given value="Vostarel"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="077000000"/>
        </telecom>
        <gender value="female"/>
        <birthDate value="1981-02-07"/>
        <address>
          <use value="home"/>
          <line value="Staginabet 2">
            <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Staginabet"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="2"/>
            </extension>
          </line>
          <city value="Carouge"/>
          <state value="GE"/>
          <postalCode value="1227"/>
          <country value="CH">
            <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-codedString">
              <valueCoding>
                <system value="urn:iso:std:iso:3166"/>
                <code value="CH"/>
              </valueCoding>
            </extension>
          </country>
        </address>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Observation/69Obs-Genotyping-ObsValue"/>
    <resource>
      <Observation>
        <id value="69Obs-Genotyping-ObsValue"/>
        <status value="final"/>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="laboratory"/>
            <display value="Laboratory"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="1085501000112104"/>
            <display value="Carbapenemase-producing Acinetobacter (organism)"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/68Pat"/>
        </subject>
        <effectiveDateTime value="2026-01-17T14:20:00+02:00"/>
        <performer>
          <reference value="Organization/1Org-Labor"/>
        </performer>
        <valueCodeableConcept>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="700398000"/>
            <display value="Acinetobacter bereziniae (organism)"/>
          </coding>
        </valueCodeableConcept>
        <specimen>
          <reference value="Specimen/69Spec-Genotyping-ObsValue"/>
        </specimen>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="85498-4"/>
              <display value="Carbapenem resistance blaIMP gene [Presence] by Molecular method"/>
            </coding>
          </code>
          <dataAbsentReason>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/data-absent-reason"/>
              <code value="not-applicable"/>
            </coding>
          </dataAbsentReason>
          <interpretation>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
              <code value="POS"/>
              <display value="Positive"/>
            </coding>
          </interpretation>
        </component>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="85827-4"/>
              <display value="Carbapenem resistance bla OXA-48-like gene [Presence] by Molecular method"/>
            </coding>
          </code>
          <dataAbsentReason>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/data-absent-reason"/>
              <code value="not-applicable"/>
            </coding>
          </dataAbsentReason>
          <interpretation>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
              <code value="POS"/>
              <display value="Positive"/>
            </coding>
          </interpretation>
        </component>
      </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Specimen/69Spec-Genotyping-ObsValue"/>
    <resource>
      <Specimen>
        <id value="69Spec-Genotyping-ObsValue"/>
        <type>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="258527002"/>
            <display value="Anal swab (specimen)"/>
          </coding>
        </type>
        <subject>
          <reference value="Patient/68Pat"/>
        </subject>
        <collection>
          <collectedDateTime value="2026-01-15T14:20:00+02:00"/>
        </collection>
      </Specimen>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/ServiceRequest/69SR-Genotyping-ObsValue"/>
    <resource>
      <ServiceRequest>
        <id value="69SR-Genotyping-ObsValue"/>
        <identifier>
          <value value="36500923675"/>
        </identifier>
        <status value="completed"/>
        <intent value="order"/>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="1085501000112104"/>
            <display value="Carbapenemase-producing Acinetobacter (organism)"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/68Pat"/>
        </subject>
        <requester>
          <reference value="PractitionerRole/PR-PeterHauser"/>
        </requester>
        <specimen>
          <reference value="Specimen/69Spec-Genotyping-ObsValue"/>
        </specimen>
      </ServiceRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Organization/1Org-Labor"/>
    <resource>
      <Organization>
        <id value="1Org-Labor"/>
        <identifier>
          <system value="urn:oid:2.51.1.3"/>
          <value value="7601002331470"/>
        </identifier>
        <name value="SanLab"/>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/PractitionerRole/PR-PeterHauser"/>
    <resource>
      <PractitionerRole>
        <id value="PR-PeterHauser"/>
        <practitioner>
          <reference value="Practitioner/Pract-PeterHauser"/>
        </practitioner>
        <organization>
          <reference value="Organization/Org-PeterHauser"/>
        </organization>
      </PractitionerRole>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Practitioner/Pract-PeterHauser"/>
    <resource>
      <Practitioner>
        <id value="Pract-PeterHauser"/>
        <identifier>
          <system value="urn:oid:2.51.1.3"/>
          <value value="7601000000514"/>
        </identifier>
        <name>
          <family value="Hauser"/>
          <given value="Peter"/>
        </name>
        <telecom>
          <system value="email"/>
          <value value="peter.hauser@hauserpraxis.ch"/>
        </telecom>
        <telecom>
          <system value="phone"/>
          <value value="+41 79 222 33 44"/>
        </telecom>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://test.fhir.ch/r4/Organization/Org-PeterHauser"/>
    <resource>
      <Organization>
        <id value="Org-PeterHauser"/>
        <identifier>
          <system value="urn:oid:2.16.756.5.45"/>
          <value value="A74966168"/>
        </identifier>
        <name value="Praxis Dr. Hauser"/>
        <address>
          <line value="Hauptstrasse 10">
            <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName">
              <valueString value="Hauptstrasse"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber">
              <valueString value="10"/>
            </extension>
          </line>
          <city value="Solothurn"/>
          <postalCode value="4500"/>
        </address>
      </Organization>
    </resource>
  </entry>
</Bundle>