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