PackagesCanonicalsLogsProblems
    Packages
    cezih.hr.cezih-osnova@1.0.1
    http://fhir.cezih.hr/specifikacije/StructureDefinition/PodaciOPozivatelju
description: Definira podatke o pozivatelju Helpdesk Aplikacije. Sadrži:\r\n- podatke o pozivatelju kako ih je unio agent (referenca na zapis o pozivatelju u FHIR serveru korištenjem identifikatora pozivatelja i referenca na Organizaciju pozivatelja)\r\n- podatke o agentu\r\n- vrijeme kreiranja zapisa
package_name: cezih.hr.cezih-osnova
derivation: constraint
name: HRAuditPodaciOPozivatelju
type: AuditEvent
elements:
  outcomeDesc: {mustSupport: true, index: 6}
  type:
    elements:
      system:
        pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
        index: 1
      code:
        pattern: {type: Code, value: '110110'}
        index: 2
    required: [system, code]
  source:
    elements:
      observer:
        elements:
          identifier:
            short: Identifikator aplikacije/sustava
            index: 33
            elements:
              system:
                pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
                index: 34
              value: {short: Vrijednost identifikatora, index: 35}
            required: [value, system]
          display:
            pattern: {type: String, value: CEZIH Helpdesk}
            index: 36
        required: [display]
  recorded: {short: 'Vrijeme kreiranja zapisa o pozivu,', index: 5}
  agent:
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        source:
          match:
            type:
              coding: {code: '110153'}
          schema:
            short: Pozivatelj
            _required: true
            index: 8
            elements:
              type:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                        index: 11
                      code:
                        pattern: {type: Code, value: '110153'}
                        index: 12
                    required: [system, code]
                required: [coding]
              who:
                type: Reference
                refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner']
                index: 13
              requestor:
                pattern: {type: Boolean, value: true}
                index: 14
              network:
                index: 15
                elements:
                  address: {index: 16}
                  type: {index: 17}
                required: [address, type]
            required: [who, network, type]
        sourceOrganization:
          match:
            type:
              coding: {code: PROV}
          schema:
            short: Organizacija pozivatelja
            _required: true
            index: 18
            elements:
              type:
                index: 19
                elements:
                  coding:
                    index: 20
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleClass'}
                        index: 21
                      code:
                        pattern: {type: Code, value: PROV}
                        index: 22
                    required: [system, code]
                required: [coding]
              who:
                type: Reference
                refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-organizacija']
                index: 23
              requestor:
                pattern: {type: Boolean, value: true}
                index: 24
            required: [who, type]
        recipient:
          match:
            type:
              coding: {code: '110152'}
          schema:
            short: Djelatnik helpdeska
            _required: true
            index: 25
            elements:
              type:
                index: 26
                elements:
                  coding:
                    index: 27
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'}
                        index: 28
                      code:
                        pattern: {type: Code, value: '110152'}
                        index: 29
                    required: [system, code]
                required: [coding]
              who:
                type: Reference
                refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-practitioner']
                index: 30
              requestor:
                pattern: {type: Boolean, value: false}
                index: 31
              network: {index: 32}
            required: [who, network, type]
  action:
    pattern: {type: Code, value: R}
    index: 4
  entity:
    index: 37
    slicing:
      rules: open
      description: patient and some data involved
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        patient:
          match:
            type: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'}
          schema:
            short: Pacijent
            index: 38
            elements:
              what:
                type: Reference
                refers: ['http://fhir.cezih.hr/specifikacije/StructureDefinition/hr-pacijent']
                index: 39
              type:
                pattern:
                  type: Coding
                  value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'}
                index: 40
              role:
                pattern:
                  type: Coding
                  value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/object-role'}
                index: 41
            required: [role, what, type]
        razlog:
          match:
            type: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'}
          schema:
            short: Razlog poziva
            index: 42
            elements:
              type:
                pattern:
                  type: Coding
                  value: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'}
                index: 43
              description: {index: 44}
            required: [type, description]
  modifierExtension: {index: 0}
  subtype:
    pattern:
      type: Coding
      value: {code: '2.1', system: 'http://fhir.cezih.hr/specifikacije/CodeSystem/audit-event-sub-type'}
    index: 3
package_version: 1.0.1
class: profile
kind: resource
url: http://fhir.cezih.hr/specifikacije/StructureDefinition/PodaciOPozivatelju
base: http://hl7.org/fhir/StructureDefinition/AuditEvent
version: null
required: [subtype]