| Package | cezih.hr.cezih-osnova |
| Resource Type | StructureDefinition |
| Id | hr-document |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=cezih.hr.cezih-osnova@0.2.9&canonical=http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document |
| URL | http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document |
| Version | 0.2.3 |
| Status | active |
| Date | 2022-09-28 |
| Name | HRDocument |
| Title | Osnovni podatci FHIR Dokumenata |
| Realm | uv |
| Description | Osnovni podatci svih FHIR dokumenata. Svi FHIR dokumenti moraju zadovoljavati sve zahtjeve ove specifikacije |
| Type | Bundle |
| Kind | resource |
No resources found
| StructureDefinition | |
| hr-practitioner | Zdravstveni djelatnik |
Note: links and images are rebased to the (stated) source
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | C | 0..* | Bundle | Contains a collection of resources DOC-1: Document must be signed by author of document |
![]() ![]() | 0..1 | code | Jezik dokumenta | |
![]() ![]() | C | 1..1 | Identifier | Jedinstveni identifikator dokumenta DOC-2: Document identifier must be in OID format ad begin with urn:oid:([1-9][0-9]{0,3}|0){1,4}(\\.([1-9][0-9]{0,32}|0)){5,13}$ |
![]() ![]() ![]() | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 | |
![]() ![]() ![]() | 1..1 | string | The value that is unique | |
![]() ![]() | 1..1 | code | Vrsta Bundle resursa Fixed Value: document | |
![]() ![]() | 1..1 | instant | Vrijeme kreiranja dokumenta | |
![]() ![]() | 1..1 | Signature | Digitalni potpis dokumenta | |
![]() ![]() ![]() | 1..1 | Coding | Definira vrstu digitalnog potpisa Fixed Value: As shown (Author's Signature) | |
![]() ![]() ![]() ![]() | 1..1 | uri | Identity of the terminology system Fixed Value: urn:iso-astm:E1762-95:2013 | |
![]() ![]() ![]() ![]() | 1..1 | code | Symbol in syntax defined by the system Fixed Value: 1.2.840.10065.1.12.1.1 | |
![]() ![]() ![]() | 1..1 | instant | Vrijeme kreiranja digitalnog potpisa dokumenta | |
![]() ![]() ![]() | C | 1..1 | Reference(Zdravstveni djelatnik) | Referenca na potpisnika dokumenta DOC-3: Local reference must be used to specify signer of document |
![]() ![]() ![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | base64Binary | Digitalni potpis | |
{
"resourceType": "StructureDefinition",
"id": "hr-document",
"meta": {
"versionId": "36",
"lastUpdated": "2025-05-07T15:04:50.0630684+00:00",
"source": "#NSJ8M5Kz0Q0jyTyB"
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document",
"version": "0.2.3",
"name": "HRDocument",
"title": "Osnovni podatci FHIR Dokumenata",
"status": "active",
"experimental": false,
"date": "2022-09-28",
"contact": [
{
"name": "Krešimir Kerš",
"telecom": [
{
"system": "email",
"value": "kresimir.kers@ericsson.com"
}
]
}
],
"description": "Osnovni podatci svih FHIR dokumenata. Svi FHIR dokumenti moraju zadovoljavati sve zahtjeve ove specifikacije",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "HR",
"display": "Croatia"
}
],
"text": "Croatia"
}
],
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "cda",
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
}
],
"kind": "resource",
"abstract": false,
"type": "Bundle",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Bundle",
"path": "Bundle",
"constraint": [
{
"key": "DOC-1",
"severity": "error",
"human": "Document must be signed by author of document",
"expression": "iif(Bundle.entry.resource.ofType(Composition).type.coding.code.subsetOf('001'|'002'|'003'|'009'|'010'), Bundle.entry.resource.ofType(Composition).author.resolve().ofType(Practitioner) = Bundle.signature.who.resolve(), true)"
},
{
"key": "DOC-4",
"severity": "error",
"human": "Document must be signed by the attester of the document",
"expression": "iif(Bundle.entry.resource.ofType(Composition).type.coding.code.subsetOf('004'|'005'|'006'|'007'|'011'|'012'|'013'), Bundle.entry.resource.ofType(Composition).attester.party.resolve().ofType(Practitioner) = Bundle.signature.who.resolve(), true)"
}
]
},
{
"id": "Bundle.language",
"path": "Bundle.language",
"short": "Jezik dokumenta"
},
{
"id": "Bundle.identifier",
"path": "Bundle.identifier",
"short": "Jedinstveni identifikator dokumenta",
"definition": "Ovaj identifikator jedinstveno definira dokument i njegovu verziju. Ukoliko je potrebno kreirati novu verziju dokumenta novoj verziji dokumenta se dodjeljuje novi identifikator i u zaglavlju dokumenta (Composition) se definira koju verziju dokumenta zamjenjuje ova verzija). Format identifikatora je OID.\nKorištenjem ovog idewntifikatora moguće je dohvatiti dokument iz repozitorija dokumenata",
"min": 1,
"constraint": [
{
"key": "DOC-2",
"severity": "error",
"human": "Document identifier must be in OID format ad begin with urn:oid:([1-9][0-9]{0,3}|0){1,4}(\\\\.([1-9][0-9]{0,32}|0)){5,13}[%content%]quot;,
"expression": "value.matches(\"^urn:oid:.*\")"
}
]
},
{
"id": "Bundle.identifier.system",
"path": "Bundle.identifier.system",
"min": 1,
"fixedUri": "urn:ietf:rfc:3986"
},
{
"id": "Bundle.identifier.value",
"path": "Bundle.identifier.value",
"min": 1
},
{
"id": "Bundle.type",
"path": "Bundle.type",
"short": "Vrsta Bundle resursa",
"definition": "Definira što predstavlja resurs Bundle. U ovom slučaju predstavlja FHIR dokument",
"fixedCode": "document"
},
{
"id": "Bundle.timestamp",
"path": "Bundle.timestamp",
"short": "Vrijeme kreiranja dokumenta",
"min": 1
},
{
"id": "Bundle.signature",
"path": "Bundle.signature",
"short": "Digitalni potpis dokumenta",
"min": 1
},
{
"id": "Bundle.signature.type",
"path": "Bundle.signature.type",
"short": "Definira vrstu digitalnog potpisa",
"definition": "Definira da je potpisnik poruke autor",
"max": "1",
"fixedCoding": {
"system": "urn:iso-astm:E1762-95:2013",
"code": "1.2.840.10065.1.12.1.1"
}
},
{
"id": "Bundle.signature.when",
"path": "Bundle.signature.when",
"short": "Vrijeme kreiranja digitalnog potpisa dokumenta"
},
{
"id": "Bundle.signature.who",
"path": "Bundle.signature.who",
"short": "Referenca na potpisnika dokumenta",
"definition": "Potpisnik dokumenta je jednak autoru poruke navedenom u Composition.author atributu. Koristi se logička referenca (identifikator-MBO)",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner"
]
}
],
"constraint": [
{
"key": "DOC-3",
"severity": "error",
"human": "Local reference must be used to specify signer of document",
"expression": "reference.matches(\"^urn:uuid:.*\")"
}
]
},
{
"id": "Bundle.signature.who.reference",
"path": "Bundle.signature.who.reference",
"min": 1
},
{
"id": "Bundle.signature.who.type",
"path": "Bundle.signature.who.type",
"max": "0"
},
{
"id": "Bundle.signature.who.identifier",
"path": "Bundle.signature.who.identifier",
"max": "0"
},
{
"id": "Bundle.signature.onBehalfOf",
"path": "Bundle.signature.onBehalfOf",
"max": "0"
},
{
"id": "Bundle.signature.targetFormat",
"path": "Bundle.signature.targetFormat",
"max": "0"
},
{
"id": "Bundle.signature.sigFormat",
"path": "Bundle.signature.sigFormat",
"max": "0"
},
{
"id": "Bundle.signature.data",
"path": "Bundle.signature.data",
"short": "Digitalni potpis",
"min": 1
}
]
}
}