PackagesCanonicalsLogsProblems
    Packages
    cezih.hr.cezih-osnova@0.2.9
    http://fhir.cezih.hr/specifikacije/StructureDefinition/HR.MinimalDocumentReference
description: MinimalDocumentReference korišten u zahtjevu HRMinimalProvideDocumentBundle transakcije (HR::ITI-65) sa sljedećim prilagodbama u odnosu na [MHD DocumentReference Minimal](https://profiles.ihe.net/ITI/MHD/4.1.0/StructureDefinition-IHE.MHD.Minimal.DocumentReference.html):\r\n\r\n* obavezno je slanje podataka o pacijentu\r\n* u slučaju kada je autor dokumenta liječnik obavezno je slanje logičke reference s identifikatorom liječnika (HZJZ broj, MBO ili OIB)\r\n\r\nZa sve kliničke dokumente, osim dokumenata koji se koriste u sklopu COD projekta:\r\n* obavezno je slanje podatka o posjeti u sklopu koje je nastao dokument kao logičke reference korištenjem jedinstvenog identifikatora posjete\r\n* obavezno je slanje podatka o slučajevima uz koje je vezan dokument kao logičke reference korištenjem jedinstvenog identifikatora slučaja\r\n* obavezno je slanje DocumentReference.identifier.use atributa
package_name: cezih.hr.cezih-osnova
derivation: constraint
name: HRMinimalDocumentReference
type: DocumentReference
elements:
  category: {mustSupport: true, index: 10}
  date: {short: Datum kreiranja dokumenta, index: 17}
  content:
    index: 41
    elements:
      attachment:
        elements:
          contentType: {index: 42}
          data: {index: 43}
          url: {index: 44}
        required: [contentType, url]
  type:
    short: Vrsta dokumenta
    binding: {strength: required, valueSet: 'http://fhir.cezih.hr/specifikacije/ValueSet/document-type'}
    mustSupport: true
    index: 9
  author:
    type: Reference
    short: Autor dokumenta
    refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija', 'http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 18
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        practitioner:
          match: {type: Practitioner}
          schema:
            type: Reference
            short: Zdavstveni djelatnik - autor dokumenta
            refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner']
            index: 19
            elements:
              type:
                short: Tip resursa.
                pattern: {type: uri, value: Practitioner}
                type: uri
                index: 20
              identifier:
                short: Identifikator zdravstvenog djelatnika, autora dokumenta.
                index: 21
                elements:
                  system: {short: URI identifikatora, index: 22}
                  value: {short: Vrijednost identifikatora, index: 23}
                required: [system, value]
              display: {short: Ime i prezime zdravstvenog djelatnika u trenutku slanja dokumenta., index: 24}
            required: [identifier, type]
        organization:
          match: {type: Organization}
          schema:
            type: Reference
            short: Organizacija u kojoj je nastao dokument,
            refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija']
            index: 25
            elements:
              type:
                short: Tip resursa.
                pattern: {type: uri, value: Organization}
                type: uri
                index: 26
              identifier:
                index: 27
                elements:
                  system: {index: 28}
                  value: {index: 29}
                required: [system, value]
            required: [identifier, type]
  masterIdentifier:
    short: Identifikator dokumenta.
    index: 0
    elements:
      use:
        pattern: {type: code, value: usual}
        type: code
        index: 1
      system: {index: 2}
      value: {index: 3}
    required: [system, value]
  custodian:
    type: Reference
    short: Organizacija odgovorne osobe u kojoj je nastao dokument.
    refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija']
    index: 36
    elements:
      identifier:
        index: 37
        elements:
          system:
            short: URI identifikatora
            pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/HZZO-sifra-zdravstvene-organizacije'}
            type: uri
            index: 38
          value: {short: Vrijednost identifikatora, index: 39}
        required: [system, value]
      display: {short: Naziv zdravstvene organizacije u trenutku slanja dokumenta., index: 40}
    required: [display, identifier]
  status: {index: 8}
  identifier:
    mustSupport: true
    index: 4
    elements:
      use:
        pattern: {type: code, value: official}
        type: code
        index: 5
      system:
        pattern: {type: uri, value: 'urn:ietf:rfc:3986'}
        type: uri
        index: 6
      value:
        constraint:
          mhd-startswithuuid: {human: 'value must start with urn:uuid:', severity: error, expression: 'value.startsWith(''urn:uuid:'')'}
        index: 7
    required: [system, value]
  context:
    index: 45
    elements:
      encounter:
        type: Reference
        short: Posjeta
        refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-encounter']
        index: 46
        elements:
          type:
            pattern: {type: uri, value: Encounter}
            type: uri
            index: 47
          identifier:
            index: 48
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/identifikator-posjete'}
                type: uri
                index: 49
              value: {index: 50}
            required: [system, value]
        required: [identifier, type]
      period:
        short: Datum i vrijeme posjeta
        index: 51
        elements:
          start: {short: Datum i početak vremena posjeta, index: 52}
        required: [start]
      practiceSetting:
        short: Medicinska djelatnost
        binding: {strength: required, valueSet: 'http://fhir.cezih.hr/specifikacije/ValueSet/djelatnosti-zz'}
        index: 53
      related:
        short: Vezana informacija
        index: 54
        elements:
          type: {index: 55}
        required: [type]
        slicing:
          rules: open
          discriminator:
          - {path: type, type: value}
          min: 1
          slices:
            hrCondition:
              match: {type: Condition}
              schema:
                type: Reference
                short: Slučaj
                refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-condition']
                index: 56
                elements:
                  type:
                    pattern: {type: uri, value: Condition}
                    type: uri
                    index: 57
                  identifier:
                    index: 58
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.cezih.hr/specifikacije/identifikatori/identifikator-slucaja'}
                        type: uri
                        index: 59
                      value: {index: 60}
                    required: [system, value]
                required: [identifier, type]
    required: [related]
  subject:
    type: Reference
    short: Pacijent.
    refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-pacijent']
    index: 11
    elements:
      type:
        short: Tip resursa.
        pattern: {type: uri, value: Patient}
        type: uri
        index: 12
      identifier:
        short: Identifikator pacijenta.
        index: 13
        elements:
          system: {short: URI identifikatora, index: 14}
          value: {short: Vrijednost identifikatora, index: 15}
        required: [system, value]
      display: {short: Ime i prezime pacijenta u trenutku slanja dokumenta., index: 16}
    required: [identifier, type]
  authenticator:
    type: Reference
    short: Odgovorna osoba
    refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner']
    index: 30
    elements:
      type:
        short: Tip resursa ("Practitioner")
        pattern: {type: uri, value: Practitioner}
        type: uri
        index: 31
      identifier:
        short: Identifikator zdravstvenog djelatnika, odgovorne osobe.
        index: 32
        elements:
          system: {short: URI identifikatora, index: 33}
          value: {short: Vrijednost identifikatora, index: 34}
        required: [system, value]
      display: {short: Ime i prezime zdravstvenog djelatnika u trenutku slanja dokumenta., index: 35}
    required: [display, identifier, type]
package_version: 0.2.9
class: profile
kind: resource
url: http://fhir.cezih.hr/specifikacije/StructureDefinition/HR.MinimalDocumentReference
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: null
required: [author, context, date, identifier, masterIdentifier, subject, type]