FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/hr-document

Packagecezih.hr.cezih-osnova
TypeStructureDefinition
Idhr-document
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=cezih.hr.cezih-osnova@0.2.9&canonical=http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document
URLhttp://fhir.cezih.hr/specifikacije/StructureDefinition/hr-document
Version0.2.3
Statusactive
Date2022-09-28
NameHRDocument
TitleOsnovni podatci FHIR Dokumenata
Realmuv
DescriptionOsnovni podatci svih FHIR dokumenata. Svi FHIR dokumenti moraju zadovoljavati sve zahtjeve ove specifikacije
TypeBundle
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
hr-practitionerZdravstveni djelatnik

Narrative

Note: links and images are rebased to the (stated) source

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C0..*BundleContains a collection of resources
DOC-1: Document must be signed by author of document
... language 0..1codeJezik dokumenta
... identifier C1..1IdentifierJedinstveni 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}$
.... system 1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value 1..1stringThe value that is unique
... type 1..1codeVrsta Bundle resursa
Fixed Value: document
... timestamp 1..1instantVrijeme kreiranja dokumenta
... signature 1..1SignatureDigitalni potpis dokumenta
.... type 1..1CodingDefinira vrstu digitalnog potpisa
Fixed Value: As shown (Author's Signature)
..... system1..1uriIdentity of the terminology system
Fixed Value: urn:iso-astm:E1762-95:2013
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 1.2.840.10065.1.12.1.1
.... when 1..1instantVrijeme kreiranja digitalnog potpisa dokumenta
.... who C1..1Reference(Zdravstveni djelatnik)Referenca na potpisnika dokumenta
DOC-3: Local reference must be used to specify signer of document
..... reference 1..1stringLiteral reference, Relative, internal or absolute URL
..... type 0..0
..... identifier 0..0
.... onBehalfOf 0..0
.... targetFormat 0..0
.... sigFormat 0..0
.... data 1..1base64BinaryDigitalni potpis

doco Documentation for this format

Source

{
  "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
      }
    ]
  }
}