{ "description": null, "_filename": "StructureDefinition-HRPMIRBundle.json", "package_name": "cezih.hr.cezih-osnova", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "HRPMIRBundle", "abstract": false, "type": "Bundle", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "0.2.9", "status": "draft", "id": "2a94575a-2aac-43d3-b5b1-39b556cfddf1", "kind": "resource", "url": "http://fhir.cezih.hr/specifikacije/StructureDefinition/HRPMIRBundle", "version": null, "differential": { "element": [ { "id": "Bundle.identifier", "max": "0", "path": "Bundle.identifier" }, { "id": "Bundle.type", "path": "Bundle.type", "short": "Definira da resurs Bundle predstavlja FHIR poruku", "definition": "Definira da resurs Bundle predstavlja FHIR poruku" }, { "id": "Bundle.timestamp", "min": 1, "path": "Bundle.timestamp", "short": "Vrijeme kreiranja poruke" }, { "id": "Bundle.total", "max": "0", "path": "Bundle.total" }, { "id": "Bundle.link", "max": "0", "path": "Bundle.link" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry", "path": "Bundle.entry", "sliceName": "PMIRMessageHeaderEntry" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource", "path": "Bundle.entry.resource", "short": "Resurs koji opisuje poruku koja se razmjenjuje između sustava" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.destination", "max": "1", "path": "Bundle.entry.resource.destination", "short": "Sustav u koji je poslana poruka.", "definition": "Sustav u koji je poslana poruka. U slučaju registracije stranca - CEZIH." }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.destination.endpoint", "path": "Bundle.entry.resource.destination.endpoint", "short": "ID sustava CEZIH" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.sender", "min": 1, "path": "Bundle.entry.resource.sender", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija" ] } ] }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.sender.type", "min": 1, "path": "Bundle.entry.resource.sender.type", "patternUri": "Organization" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.sender.identifier", "min": 1, "path": "Bundle.entry.resource.sender.identifier" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.sender.identifier.system", "min": 1, "path": "Bundle.entry.resource.sender.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/HZZO-sifra-zdravstvene-organizacije" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.sender.identifier.value", "min": 1, "path": "Bundle.entry.resource.sender.identifier.value" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.enterer", "max": "0", "path": "Bundle.entry.resource.enterer" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.author", "min": 1, "path": "Bundle.entry.resource.author", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner" ] } ], "short": "Autor poruke.", "definition": "Autor poruke. Zdravstveni djelatnik koji registrira stranca." }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.author.type", "min": 1, "path": "Bundle.entry.resource.author.type", "patternUri": "Practitioner" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.author.identifier", "min": 1, "path": "Bundle.entry.resource.author.identifier" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.author.identifier.system", "min": 1, "path": "Bundle.entry.resource.author.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.author.identifier.value", "min": 1, "path": "Bundle.entry.resource.author.identifier.value" }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.source", "path": "Bundle.entry.resource.source", "short": "Sustav koji šalje poruku.", "definition": "Sustav koji šalje poruku." }, { "id": "Bundle.entry:PMIRMessageHeaderEntry.resource.source.endpoint", "path": "Bundle.entry.resource.source.endpoint", "short": "AID sustava koji šalje poruku." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry", "path": "Bundle.entry", "sliceName": "PMIRBundleHistoryEntry" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.type", "path": "Bundle.entry.resource.type", "short": "Definira da resurs Bundle predstavlja FHIR poruku", "definition": "Definira da resurs Bundle predstavlja FHIR poruku" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.timestamp", "path": "Bundle.entry.resource.timestamp", "short": "Vrijeme kreiranja poruke" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.total", "max": "0", "path": "Bundle.entry.resource.total" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.link", "max": "0", "path": "Bundle.entry.resource.link" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry", "max": "1", "path": "Bundle.entry.resource.entry" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate", "max": "1", "path": "Bundle.entry.resource.entry", "sliceName": "PMIREntryCreate" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource", "path": "Bundle.entry.resource.entry.resource", "short": "Pacijent", "definition": "Podaci o pacijentu kojeg se registrira u CEZIH." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier", "max": "2", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier", "slicing": { "rules": "closed", "discriminator": [ { "path": "system", "type": "value" } ] } }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:europskaKartica", "max": "1", "path": "Bundle.entry.resource.entry.resource.identifier", "sliceName": "europskaKartica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:europskaKartica.system", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/europska-kartica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:europskaKartica.value", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.value", "short": "Broj EU kartice.", "constraint": [ { "key": "EUCARD-1", "human": "EU kartica mora imati 20 znakova (0-9, A-Z, a-z)", "severity": "error", "expression": "matches('^[0-9a-zA-Z_]{20}$')", "requirements": "EU kartica mora imati 20 znakova" } ], "definition": "Broj EU kartice, mora sadržavati 20 znakova." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:putovnica", "max": "1", "path": "Bundle.entry.resource.entry.resource.identifier", "sliceName": "putovnica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:putovnica.system", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/putovnica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.identifier:putovnica.value", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.value", "short": "Broj putovnice." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.name", "max": "1", "min": 1, "path": "Bundle.entry.resource.entry.resource.name", "short": "Ime pacijenta.", "definition": "Ime pacijenta kojeg se registrira u CEZIH." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.address", "max": "1", "min": 1, "path": "Bundle.entry.resource.entry.resource.address" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.resource.address.country", "min": 1, "path": "Bundle.entry.resource.entry.resource.address.country", "short": "Država pacijenta", "binding": { "strength": "required", "valueSet": "http://fhir.cezih.hr/specifikacije/ValueSet/drzave" }, "definition": "Država koja je izdala dokument pacijenta kojim se registrira." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryCreate.search", "max": "0", "path": "Bundle.entry.resource.entry.search" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate", "max": "1", "path": "Bundle.entry.resource.entry", "sliceName": "PMIREntryUpdate" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier", "max": "3", "min": 2, "path": "Bundle.entry.resource.entry.resource.identifier", "slicing": { "rules": "closed", "discriminator": [ { "path": "system", "type": "value" } ] } }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:europskaKartica", "max": "1", "path": "Bundle.entry.resource.entry.resource.identifier", "sliceName": "europskaKartica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:europskaKartica.system", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/europska-kartica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:europskaKartica.value", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.value", "short": "Broj europske kartice", "constraint": [ { "key": "EUCARD-1", "human": "EU kartica mora imati 20 znakova (0-9, A-Z, a-z)", "severity": "error", "expression": "matches('^[0-9a-zA-Z_]{20}$')", "requirements": "EU kartica mora imati 20 znakova" } ], "definition": "Broj EU kartice, mora sadržavati 20 znakova." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:putovnica", "max": "1", "path": "Bundle.entry.resource.entry.resource.identifier", "sliceName": "putovnica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:putovnica.system", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/putovnica" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:putovnica.value", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.value" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:jedinstveniIdentifikatorPacijenta", "max": "1", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier", "short": "Jedinstveni identifikator pacijenta koji mu je dodjelio CEZIH.", "sliceName": "jedinstveniIdentifikatorPacijenta", "definition": "Jedinstveni identifikator pacijenta koji mu je dodjelio CEZIH. Obavezan je kod ažuriranja zapisa ranije registriranog pacijenta." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:jedinstveniIdentifikatorPacijenta.system", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/jedinstveni-identifikator-pacijenta" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.identifier:jedinstveniIdentifikatorPacijenta.value", "min": 1, "path": "Bundle.entry.resource.entry.resource.identifier.value" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.name", "max": "1", "min": 1, "path": "Bundle.entry.resource.entry.resource.name" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.address", "max": "1", "min": 1, "path": "Bundle.entry.resource.entry.resource.address" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.resource.address.country", "min": 1, "path": "Bundle.entry.resource.entry.resource.address.country", "binding": { "strength": "required", "valueSet": "http://fhir.cezih.hr/specifikacije/ValueSet/drzave" } }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.search", "max": "0", "path": "Bundle.entry.resource.entry.search" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryUpdate.request.url", "path": "Bundle.entry.resource.entry.request.url", "short": "URL resursa pacijenta koji se ažurira", "constraint": [ { "key": "HRPMIR-1", "human": "Mora biti broj putovnice ili EU kartice", "severity": "error", "expression": "matches('^Patient?identifier=http\\/\\/fhir.cezih.hr\\/specifikacije\\/identifikatori\\/europska-kartica')|matches('^Patient?identifier=http\\/\\/fhir.cezih.hr\\/specifikacije\\/identifikatori\\/putovnica')" } ], "definition": "URL resursa pacijenta koji se ažurira, mora biti oblika Patient/123456 gdje je 123456 id Patient resursa kako ga je zapisao FHIR server. Sustav prije registracije pacijenta mora dohvatiti Patient koji želi ažurirati korištenjem PDQm profila (e.g. GET https://server.example.com/fhir/Patient?identifier=http://fhir.cezih.hr/specifikacije/identifikatori/europska-kartica|1234567890)." }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.resource.entry:PMIREntryDelete", "max": "0", "path": "Bundle.entry.resource.entry", "sliceName": "PMIREntryDelete" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.search", "max": "0", "path": "Bundle.entry.search" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.request", "max": "0", "path": "Bundle.entry.request" }, { "id": "Bundle.entry:PMIRBundleHistoryEntry.response", "max": "0", "path": "Bundle.entry.response" }, { "id": "Bundle.signature", "min": 1, "path": "Bundle.signature" }, { "id": "Bundle.signature.type", "path": "Bundle.signature.type", "short": "Definira vrstu digitalnog potpisa\"", "definition": "Definira da je potpisnik poruke autor.", "fixedCoding": { "code": "1.2.840.10065.1.12.1.1", "system": "urn:iso-astm:E1762-95:2013" } }, { "id": "Bundle.signature.when", "path": "Bundle.signature.when", "short": "Vrijeme kreiranja digitalnog potpisa poruke" }, { "id": "Bundle.signature.who", "path": "Bundle.signature.who", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner" ] } ], "short": "Referenca na potpisnika poruke", "definition": "Potpisnik poruke je jednak autoru poruke navedenom u MessageHeader.author atributu. Koristi se logička referenca (identifikator-MBO)" }, { "id": "Bundle.signature.who.type", "min": 1, "path": "Bundle.signature.who.type", "fixedUri": "Practitioner" }, { "id": "Bundle.signature.who.identifier", "min": 1, "path": "Bundle.signature.who.identifier", "short": "Identifikator zdravstvenog djelatnika, potpisnika poruke. Koristi se HZJZ šifra djelatnika." }, { "id": "Bundle.signature.who.identifier.system", "min": 1, "path": "Bundle.signature.who.identifier.system", "patternUri": "http://fhir.cezih.hr/specifikacije/identifikatori/HZJZ-broj-zdravstvenog-djelatnika" }, { "id": "Bundle.signature.who.identifier.value", "min": 1, "path": "Bundle.signature.who.identifier.value", "short": "MBO", "definition": "MBO zdravstvenog djelatnika, potpisnika poruke." }, { "id": "Bundle.signature.onBehalfOf", "max": "0", "path": "Bundle.signature.onBehalfOf" }, { "id": "Bundle.signature.targetFormat", "max": "0", "path": "Bundle.signature.targetFormat" }, { "id": "Bundle.signature.sigFormat", "max": "0", "path": "Bundle.signature.sigFormat" }, { "id": "Bundle.signature.data", "min": 1, "path": "Bundle.signature.data" } ] }, "baseDefinition": "https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Bundle" }