<Bundle xmlns="http://hl7.org/fhir">
  <id value="cf-1586299846864" />
  <meta>
    <profile value="http://poc-lis.cens.cl/fhir/StructureDefinition/PocLisBundle" />
  </meta>
  <type value="transaction" />
  <entry>
    <fullUrl value="urn:uuid:9851b64a-84d1-11ea-bc55-0242ac130003" />
    <resource>
      <DiagnosticReport>
        <meta>
          <profile value="http://poc-lis.cens.cl/fhir/StructureDefinition/PocLisDiagnosticReport" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <a name="mm" />
          </div>
        </text>
        <contained>
          <Specimen>
            <id value="sp001" />
            <meta>
              <profile value="http://poc-lis.cens.cl/fhir/StructureDefinition/PocLisSpecimen" />
            </meta>
            <text>
              <status value="generated" />
              <div xmlns="http://www.w3.org/1999/xhtml">
                <a name="mm" />
              </div>
            </text>
            <type>
              <coding>
                <system value="http://minsal.cl/TipoMuestraEpivigilia" />
                <code value="3" />
                <display value="Hisopado nasofaringeo" />
              </coding>
            </type>
            <receivedTime value="2020-02-07T13:28:17-04:00" />
            <collection>
              <collectedDateTime value="2020-02-07T13:28:17-04:00" />
            </collection>
          </Specimen>
        </contained>
        <identifier>
          <use value="official" />
          <system value="http://minsal.cl/NumeroPeticionLab" />
          <value value="030303" />
          <assigner>
            <reference value="Organization?identifier=http://minsal.cl/CodigoLab|001" />
          </assigner>
        </identifier>
        <status value="final" />
        <code>
          <text value="Examen de Coronavirus" />
        </code>
        <subject>
          <reference value="urn:uuid:da824070-8445-11ea-bc55-0242ac130003" />
        </subject>
        <performer>
          <reference value="Organization?identifier=http://minsal.cl/CodigoLab|001" />
        </performer>
        <specimen>
          <reference value="#sp001" />
        </specimen>
        <result>
          <reference value="urn:uuid:686b2fac-93fd-11ea-bb37-0242ac130002" />
        </result>
      </DiagnosticReport>
    </resource>
    <request>
      <method value="POST" />
      <url value="DiagnosticReport" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:686b2fac-93fd-11ea-bb37-0242ac130002" />
    <resource>
      <Observation>
        <meta>
          <profile value="http://poc-lis.cens.cl/fhir/StructureDefinition/PocLisObservation" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <a name="mm" />
          </div>
        </text>
        <status value="final" />
        <code>
          <coding>
            <system value="http://loinc.org" />
            <code value="94507-1" />
            <display value="SARS coronavirus 2 Ab.IgM" />
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:da824070-8445-11ea-bc55-0242ac130003" />
        </subject>
        <effectiveDateTime value="2020-02-07T13:28:17-04:00" />
        <performer>
          <reference value="Organization?identifier=http://minsal.cl/CodigoLab|001" />
        </performer>
        <valueCodeableConcept>
          <coding>
            <system value="http://loinc.org" />
            <code value="LA11882-0" />
            <display value="Detected" />
          </coding>
        </valueCodeableConcept>
      </Observation>
    </resource>
    <request>
      <method value="POST" />
      <url value="Observation" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:da824070-8445-11ea-bc55-0242ac130003" />
    <resource>
      <Patient>
        <meta>
          <profile value="http://poc-lis.cens.cl/fhir/StructureDefinition/PocLisPatient" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <a name="mm" />
          </div>
        </text>
        <identifier>
          <extension url="http://poc-lis.cens.cl/fhir/StructureDefinition/TipoIdentificacionPaciente">
            <valueCoding>
              <system value="http://cens.cl/HCC/TipoDeIdentificacion" />
              <code value="666784" />
              <display value="Certificado de Nacimiento" />
            </valueCoding>
          </extension>
          <use value="official" />
          <system value="http://minsal.cl/Identificacion" />
          <value value="163373629" />
        </identifier>
        <name>
          <use value="official" />
          <text value="Alejandro Antonio Medina Vidal" />
          <family>
            <extension url="http://hl7.org/fhir/StructureDefinition/humanname-fathers-family">
              <valueString value="Medina" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/humanname-mothers-family">
              <valueString value="Vidal" />
            </extension>
          </family>
          <given value="Alejandro Antonio" />
        </name>
        <gender value="male" />
        <birthDate value="1905-08-23" />
      </Patient>
    </resource>
    <request>
      <method value="PUT" />
      <url value="Patient?identifier=http://minsal.cl/Identificacion|163373629" />
    </request>
  </entry>
</Bundle>