Primjer dokumenta Opći nalaz na internu uputnicu

{
    "resourceType": "Bundle",
    "id": "2195",
    "meta": {
        "versionId": "9",
        "lastUpdated": "2023-03-09T12:54:20.089+00:00",
        "source": "#134c91ef4b8c705f"
    },
    "identifier": {
        "system": "urn:ietf:rfc:3986",
        "value": "urn:oid:2.16.840.1.113883.2.7.50.2.1.300300"
    },
    "type": "document",
    "timestamp": "2023-02-28T22:12:21Z",
    "entry":  [
        {
            "fullUrl": "urn:uuid:3c7ec950-36aa-4f57-b5aa-7ba887e87720",
            "resource": {
                "resourceType": "Composition",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Composition</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>status</b>: final</p><p><b>type</b>: Opći nalaz na internu uputnicu <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-document-type.html\">Tip dokumenta</a>#004)</span></p><p><b>encounter</b>: <a href=\"#urnuuidcba9c71f-606c-40bb-be34-1199c0a74b22\">See above (urn:uuid:cba9c71f-606c-40bb-be34-1199c0a74b22)</a></p><p><b>date</b>: 2022-05-25 12:30:02+0000</p><p><b>author</b>: </p><ul><li><a href=\"#urnuuid5f28feb8-c293-4070-9289-27848582393a\">See above (urn:uuid:5f28feb8-c293-4070-9289-27848582393a: Doktor Davor)</a></li><li><a href=\"#urnuuidfd6107ba-ad82-4fe0-a2bd-f6c3e59a844d\">See above (urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d: Bolnica 1)</a></li></ul><p><b>title</b>: Opći nalaz na internu uputnicu</p><blockquote><p><b>attester</b></p><p><b>mode</b>: professional</p><p><b>party</b>: <a href=\"#urnuuid5f28feb8-c293-4070-9289-27848582393a\">See above (urn:uuid:5f28feb8-c293-4070-9289-27848582393a: Doktor Davor)</a></p></blockquote><blockquote><p><b>attester</b></p><p><b>mode</b>: official</p><p><b>party</b>: <a href=\"#urnuuidfd6107ba-ad82-4fe0-a2bd-f6c3e59a844d\">See above (urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d: Bolnica 1)</a></p></blockquote></div>"
                },
                "status": "final",
                "type": {
                    "coding":  [
                        {
                            "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-type",
                            "code": "004",
                            "display": "Opći nalaz na internu uputnicu"
                        }
                    ]
                },
                "subject": {
                    "reference": "urn:uuid:235b0a21-52f9-4303-9532-151228c792b6",
                    "display": "Ivo Ivić"
                },
                "encounter": {
                    "reference": "urn:uuid:cba9c71f-606c-40bb-be34-1199c0a74b22"
                },
                "date": "2022-05-25T12:30:02Z",
                "author":  [
                    {
                        "reference": "urn:uuid:5f28feb8-c293-4070-9289-27848582393a",
                        "display": "Doktor Davor"
                    },
                    {
                        "reference": "urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d",
                        "display": "Bolnica 1"
                    }
                ],
                "title": "Opći nalaz na internu uputnicu",
                "attester":  [
                    {
                        "mode": "professional",
                        "party": {
                            "reference": "urn:uuid:5f28feb8-c293-4070-9289-27848582393a",
                            "display": "Doktor Davor"
                        }
                    },
                    {
                        "mode": "official",
                        "party": {
                            "reference": "urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d",
                            "display": "Bolnica 1"
                        }
                    }
                ],
                "section":  [
                    {
                        "title": "Djelatnost",
                        "code": {
                            "coding":  [
                                {
                                    "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
                                    "code": "12",
                                    "display": "Djelatnost"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:1fdcaabb-3066-4097-941a-c93560eff0aa"
                            }
                        ]
                    },
                    {
                        "title": "Referencirani dokumenti",
                        "code": {
                            "coding":  [
                                {
                                    "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
                                    "code": "17",
                                    "display": "Referencirani dokumenti"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:58f8c56f-3c9c-4905-b1a7-1f2356ee4dfe"
                            }
                        ]
                    },
                    {
                        "title": "Priloženi dokumenti",
                        "code": {
                            "coding":  [
                                {
                                    "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
                                    "code": "16",
                                    "display": "Priloženi dokumenti"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:de0e998d-6772-4d25-8baa-44bac06e368f"
                            }
                        ]
                    },
                    {
                        "title": "Medicinska informacija",
                        "code": {
                            "coding":  [
                                {
                                    "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-section",
                                    "code": "18",
                                    "display": "Medicinska informacija"
                                }
                            ]
                        },
                        "entry":  [
                            {
                                "reference": "urn:uuid:0e90129e-9b6c-4a30-8815-bd385ddcbd70"
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:cba9c71f-606c-40bb-be34-1199c0a74b22",
            "resource": {
                "resourceType": "Encounter",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>identifier</b>: id: cl3lnsp4o000009mhcuac4j0u</p><p><b>status</b>: in-progress</p><p><b>class</b>: Interna uputnica (Details: http://fhir.cezih.hr/specifikacije/CodeSystem/nacin-prijema code 9 = 'Interna uputnica', stated as 'Interna uputnica')</p><p><b>type</b>: Pacijent prisutan <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-vrsta-posjete.html\">Vrsta posjete</a>#1)</span></p><p><b>priority</b>: routine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActPriority.html\">ActPriority</a>#R)</span></p><p><b>subject</b>: <span/></p><blockquote><p><b>participant</b></p><p><b>individual</b>: <span/></p></blockquote><blockquote><p><b>participant</b></p><p><b>individual</b>: <span/></p></blockquote><p><b>period</b>: 2022-01-20 12:30:02+0000 --&gt; 2022-02-01 12:30:02+0000</p><h3>Diagnoses</h3><table class=\"grid\"><tr><td>-</td><td><b>Condition</b></td></tr><tr><td>*</td><td><span/></td></tr></table><p><b>serviceProvider</b>: <span/></p></div>"
                },
                "identifier":  [
                    {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/identifikator-posjete",
                        "value": "cl3lnsp4o000009mhcuac4j0u"
                    }
                ],
                "status": "in-progress",
                "class": {
                    "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/nacin-prijema",
                    "code": "9",
                    "display": "Interna uputnica"
                },
                "type":  [
                    {
                        "coding":  [
                            {
                                "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/vrsta-posjete",
                                "code": "1",
                                "display": "Pacijent prisutan"
                            }
                        ]
                    }
                ],
                "priority": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
                            "code": "R"
                        }
                    ]
                },
                "subject": {
                    "type": "Patient",
                    "identifier": {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/MBO",
                        "value": "180223069"
                    }
                },
                "participant":  [
                    {
                        "individual": {
                            "type": "Practitioner",
                            "identifier": {
                                "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika",
                                "value": "1234567"
                            }
                        }
                    },
                    {
                        "individual": {
                            "type": "Practitioner",
                            "identifier": {
                                "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika",
                                "value": "7654321"
                            }
                        }
                    }
                ],
                "period": {
                    "start": "2022-01-20T12:30:02Z",
                    "end": "2022-02-01T12:30:02Z"
                },
                "diagnosis":  [
                    {
                        "condition": {
                            "type": "Condition",
                            "identifier": {
                                "system": "http://fhir.cezih.hr/specifikacije/identifikatori/slucaj",
                                "value": "cl3lndh7u000009l6hhzya349"
                            }
                        }
                    }
                ],
                "serviceProvider": {
                    "type": "Organization",
                    "identifier": {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZZO-sifra-zdravstvene-organizacije",
                        "value": "1234"
                    }
                }
            }
        },
        {
            "fullUrl": "urn:uuid:5f28feb8-c293-4070-9289-27848582393a",
            "resource": {
                "resourceType": "Practitioner",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Practitioner</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>identifier</b>: id: 1234567</p><p><b>name</b>: Doktor Davor </p></div>"
                },
                "identifier":  [
                    {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika",
                        "value": "1234567"
                    }
                ],
                "name":  [
                    {
                        "family": "Davor",
                        "given":  [
                            "Doktor"
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d",
            "resource": {
                "resourceType": "Organization",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>identifier</b>: id: 1234</p><p><b>name</b>: Bolnica 1</p></div>"
                },
                "identifier":  [
                    {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/HZZO-sifra-zdravstvene-organizacije",
                        "value": "1234"
                    }
                ],
                "name": "Bolnica 1"
            }
        },
        {
            "fullUrl": "urn:uuid:235b0a21-52f9-4303-9532-151228c792b6",
            "resource": {
                "resourceType": "Patient",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>180223069</td></tr></tbody></table></div>"
                },
                "identifier":  [
                    {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/MBO",
                        "value": "180223069"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:1fdcaabb-3066-4097-941a-c93560eff0aa",
            "resource": {
                "resourceType": "HealthcareService",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: HealthcareService</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>identifier</b>: id: 3030000</p><p><b>providedBy</b>: <a href=\"#urnuuidfd6107ba-ad82-4fe0-a2bd-f6c3e59a844d\">See above (urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d)</a></p><p><b>name</b>: Onkologija</p></div>"
                },
                "identifier":  [
                    {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/ID-djelatnosti",
                        "value": "3030000"
                    }
                ],
                "providedBy": {
                    "reference": "urn:uuid:fd6107ba-ad82-4fe0-a2bd-f6c3e59a844d"
                },
                "name": "Onkologija"
            }
        },
        {
            "fullUrl": "urn:uuid:58f8c56f-3c9c-4905-b1a7-1f2356ee4dfe",
            "resource": {
                "resourceType": "DocumentReference",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>masterIdentifier</b>: id: cleo8r05d000008mg3xmv1kf0</p><p><b>status</b>: current</p><p><b>type</b>: Crvena uputnica <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-document-type.html\">Tip dokumenta</a>#008)</span></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td>hr</td></tr></table></blockquote></div>"
                },
                "masterIdentifier": {
                    "system": "http://fhir.cezih.hr/specifikacije/identifikatori/ID-uputnice",
                    "value": "cleo8r05d000008mg3xmv1kf0"
                },
                "status": "current",
                "type": {
                    "coding":  [
                        {
                            "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/document-type",
                            "code": "008",
                            "display": "Crvena uputnica"
                        }
                    ]
                },
                "content":  [
                    {
                        "attachment": {
                            "language": "hr"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:de0e998d-6772-4d25-8baa-44bac06e368f",
            "resource": {
                "resourceType": "DocumentReference",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>status</b>: current</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Data</b></td><td><b>Title</b></td></tr><tr><td>*</td><td>application/pdf</td><td>UERGIG5hbGF6IGJhc2U2NCBlbmtvZGlyYW4u</td><td>Neki dokument</td></tr></table></blockquote></div>"
                },
                "status": "current",
                "content":  [
                    {
                        "attachment": {
                            "contentType": "application/pdf",
                            "data": "UERGIG5hbGF6IGJhc2U2NCBlbmtvZGlyYW4u",
                            "title": "Neki dokument"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:0e90129e-9b6c-4a30-8815-bd385ddcbd70",
            "resource": {
                "resourceType": "Observation",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"/><p><b>status</b>: final</p><p><b>code</b>: Tekstualni nalaz <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-observations.html\">Observacije</a>#19)</span></p><p><b>subject</b>: <span/></p><p><b>value</b>: Tekstualni opis nalaza.</p></div>"
                },
                "status": "final",
                "code": {
                    "coding":  [
                        {
                            "system": "http://fhir.cezih.hr/specifikacije/CodeSystem/observations",
                            "code": "19",
                            "display": "Tekstualni nalaz"
                        }
                    ]
                },
                "subject": {
                    "type": "Patient",
                    "identifier": {
                        "system": "http://fhir.cezih.hr/specifikacije/identifikatori/MBO",
                        "value": "180223069"
                    }
                },
                "valueString": "Tekstualni opis nalaza."
            }
        }
    ],
    "signature": {
        "type":  [
            {
                "system": "urn:iso-astm:E1762-95:2013",
                "code": "1.2.840.10065.1.12.1.1",
                "display": "Author's Signature"
            }
        ],
        "when": "2023-02-28T13:28:17.239+02:00",
        "who": {
            "reference": "urn:uuid:5f28feb8-c293-4070-9289-27848582393a",
            "display": "Doktor Davor"
        },
        "data": "cG90cGlz"
    }
}