PackagesCanonicalsLogsProblems
    Packages
    cezih.hr.encounter-management@0.2.2
    http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events
description: Specifikacija strukture revizijskog zapisa usluge upravljanja posjetama.
package_name: cezih.hr.encounter-management
derivation: constraint
name: EHEEncounterManagementAuditEvent
type: AuditEvent
elements:
  type:
    short: Vrsta revizijskog zapisa
    binding: {strength: required, valueSet: 'http://ent.hr/fhir/ValueSet/ehe-encounter-management-event-types'}
    mustSupport: false
    index: 0
  subtype:
    short: Podvrsta revizijskog zapisa
    binding: {strength: required, valueSet: 'http://ent.hr/fhir/ValueSet/encounter-message-types'}
    mustSupport: false
    index: 1
  action:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-action'}
    mustSupport: false
    index: 2
  recorded: {mustSupport: false, index: 3}
  outcome: {short: Informacija da li je zahtjev za koji se sprema revizijski zapis uspješno odrađen ili ne, mustSupport: false, index: 4}
  agent:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        source:
          match:
            type:
              coding:
              - {code: '110153', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Source Role ID}
          schema:
            short: Encounter Management Client information
            mustSupport: false
            index: 6
            elements:
              type:
                mustSupport: false
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '110153', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Source Role ID}
                index: 7
              who:
                short: Identifikator autenticiranog korisnika (JWT token). Može biti krajnji korisnik (Zdravstveni djelatnik) ili Informacijski sustav
                mustSupport: false
                index: 8
                elements:
                  reference: {index: 9}
                  type:
                    short: Upisuje se samo u slučaju krajnjeg korisnika (zdravstveni djelatnik ili pacijent) u slučaju informacijskog sustava se ne upisuje
                    constraint:
                      ENC-2: {human: Tip može biti samo zdravstveni djelatnik (Practitioner) ili pacijent (Patient), severity: error, expression: 'iif($this=''Patient'' or $this=''Practitioner'', true, false)'}
                    mustSupport: true
                    index: 10
                  identifier: {mustSupport: true, index: 11}
                required: [identifier]
              requestor:
                mustSupport: false
                pattern: {type: Boolean, value: true}
                index: 12
              network:
                mustSupport: false
                index: 13
                elements:
                  address: {short: Identifikator aplikacije/servisa ili IP adresa vanjskog sustava, mustSupport: true, index: 14}
                  type: {short: “5" (URI) or "2" (IP address), mustSupport: true, index: 15}
                required: [address, type]
            required: [who, network, type]
        destination:
          match:
            type:
              coding:
              - {code: '110152', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Destination Role ID}
          schema:
            short: Encounter Management Service information
            mustSupport: false
            index: 16
            elements:
              type:
                mustSupport: false
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '110152', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Destination Role ID}
                index: 17
              who:
                short: ID usluge Upravljanje posjetama
                mustSupport: false
                index: 18
                elements:
                  reference: {index: 19}
                  type: {index: 20}
                  identifier: {mustSupport: true, index: 21}
                required: [identifier]
              requestor: {mustSupport: false, index: 22}
              network:
                mustSupport: false
                index: 23
                elements:
                  address: {short: ID usluge Upravljanje posjetama, mustSupport: true, index: 24}
                  type:
                    pattern: {type: Code, value: '5'}
                    mustSupport: true
                    index: 25
                required: [address, type]
            required: [who, network, type]
  source:
    short: Aplikacija koja je izradila revizijski zapis
    index: 26
    elements:
      observer:
        short: Identifikator aplikacije upravljanja posjetama
        mustSupport: false
        index: 27
        elements:
          reference: {index: 28}
          type: {index: 29}
          identifier: {mustSupport: true, index: 30}
        required: [identifier]
  entity:
    short: Informacije o posjeti na koju se odnosi revizijski zapis
    mustSupport: false
    index: 31
    elements:
      what:
        short: Jedinstveni identifikator posjete (ID kojeg dodjeljuje usluga)
        mustSupport: false
        index: 32
        elements:
          reference: {index: 33}
          type:
            pattern: {type: Uri, value: Encounter}
            mustSupport: true
            index: 34
          identifier: {mustSupport: true, index: 35}
        required: [identifier, type]
      type:
        pattern:
          type: Coding
          value: {code: Encounter, system: 'http://hl7.org/fhir/resource-types', display: Encounter}
        mustSupport: false
        index: 36
      role:
        pattern:
          type: Coding
          value: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Domain Resource}
        mustSupport: false
        index: 37
    required: [role, what, type]
package_version: 0.2.2
class: profile
kind: resource
url: http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events
base: http://hl7.org/fhir/StructureDefinition/AuditEvent
version: '0.1'
required: [subtype, action, entity, outcome]