{ "description": "Specifikacija strukture revizijskog zapisa usluge upravljanja posjetama.", "_filename": "StructureDefinition-ehe-encounter-management-audit-events.json", "package_name": "cezih.hr.encounter-management", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "EHEEncounterManagementAuditEvent", "abstract": false, "type": "AuditEvent", "experimental": "false", "resourceType": "StructureDefinition", "title": "Encounter Management Audit Event (EHE)", "package_version": "0.2.2", "status": "active", "id": "c998ae54-2517-4a9b-8bc5-b68eac6dbfcc", "kind": "resource", "url": "http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events", "version": "0.1", "differential": { "element": [ { "id": "AuditEvent", "path": "AuditEvent", "constraint": [ { "key": "ENC-1", "human": "Vrsta revizijskog zapisa mora odgovarati podvrsti", "severity": "error", "expression": "iif(subtype.code='1.2' or subtype.code='1.3' or subtype.code='1.5', type.code='amend', true) and iif(subtype.code='1.1', type.code='originate', true) and iif(subtype.code='1.4', type.code='destroy', true)" } ] }, { "id": "AuditEvent.type", "path": "AuditEvent.type", "short": "Vrsta revizijskog zapisa", "binding": { "strength": "required", "valueSet": "http://ent.hr/fhir/ValueSet/ehe-encounter-management-event-types" }, "definition": "system=\"http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle\", code=\"originate\", display=Originate/Retain Record Lifecycle Event\" (for \"Create Encounter\")\nor\nsystem=\"http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle\", code=\"amend\", display=\"Amend (Update) Record Lifecycle Event\" (for \"Update Encounter\", \"Reopen Encounter\" and \"Close Encounter\")\nor\nsystem=\"http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle\", code=\"destroy\", display=\"Destroy/Delete Record Lifecycle Event\" (for \"Delete Encounter\")", "mustSupport": false }, { "id": "AuditEvent.subtype", "max": "1", "min": 1, "path": "AuditEvent.subtype", "short": "Podvrsta revizijskog zapisa", "binding": { "strength": "required", "valueSet": "http://ent.hr/fhir/ValueSet/encounter-message-types" }, "definition": "Podvrsta revizijskog zapisa je jednaka vrsti poruke koja je poslana usluzi upravljanja posjetama", "mustSupport": false }, { "id": "AuditEvent.action", "min": 1, "path": "AuditEvent.action", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/audit-event-action" }, "mustSupport": false }, { "id": "AuditEvent.recorded", "path": "AuditEvent.recorded", "mustSupport": false }, { "id": "AuditEvent.outcome", "min": 1, "path": "AuditEvent.outcome", "short": "Informacija da li je zahtjev za koji se sprema revizijski zapis uspješno odrađen ili ne", "mustSupport": false }, { "id": "AuditEvent.agent", "path": "AuditEvent.agent", "slicing": { "rules": "open", "discriminator": [ { "path": "type", "type": "value" } ] } }, { "id": "AuditEvent.agent:source", "max": "1", "path": "AuditEvent.agent", "short": "Encounter Management Client information", "sliceName": "source", "mustSupport": false }, { "id": "AuditEvent.agent:source.type", "min": 1, "path": "AuditEvent.agent.type", "mustSupport": false, "fixedCodeableConcept": { "coding": [ { "code": "110153", "system": "http://dicom.nema.org/resources/ontology/DCM", "display": "Source Role ID" } ] } }, { "id": "AuditEvent.agent:source.who", "min": 1, "path": "AuditEvent.agent.who", "short": "Identifikator autenticiranog korisnika (JWT token). Može biti krajnji korisnik (Zdravstveni djelatnik) ili Informacijski sustav", "mustSupport": false }, { "id": "AuditEvent.agent:source.who.reference", "max": "0", "path": "AuditEvent.agent.who.reference" }, { "id": "AuditEvent.agent:source.who.type", "path": "AuditEvent.agent.who.type", "short": "Upisuje se samo u slučaju krajnjeg korisnika (zdravstveni djelatnik ili pacijent) u slučaju informacijskog sustava se ne upisuje", "constraint": [ { "key": "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 }, { "id": "AuditEvent.agent:source.who.identifier", "min": 1, "path": "AuditEvent.agent.who.identifier", "mustSupport": true }, { "id": "AuditEvent.agent:source.requestor", "path": "AuditEvent.agent.requestor", "mustSupport": false, "fixedBoolean": true }, { "id": "AuditEvent.agent:source.network", "min": 1, "path": "AuditEvent.agent.network", "mustSupport": false }, { "id": "AuditEvent.agent:source.network.address", "min": 1, "path": "AuditEvent.agent.network.address", "short": "Identifikator aplikacije/servisa ili IP adresa vanjskog sustava", "mustSupport": true }, { "id": "AuditEvent.agent:source.network.type", "min": 1, "path": "AuditEvent.agent.network.type", "short": "“5\" (URI) or \"2\" (IP address)", "mustSupport": true }, { "id": "AuditEvent.agent:destination", "max": "1", "path": "AuditEvent.agent", "short": "Encounter Management Service information", "sliceName": "destination", "mustSupport": false }, { "id": "AuditEvent.agent:destination.type", "min": 1, "path": "AuditEvent.agent.type", "mustSupport": false, "fixedCodeableConcept": { "coding": [ { "code": "110152", "system": "http://dicom.nema.org/resources/ontology/DCM", "display": "Destination Role ID" } ] } }, { "id": "AuditEvent.agent:destination.who", "min": 1, "path": "AuditEvent.agent.who", "short": "ID usluge Upravljanje posjetama", "mustSupport": false }, { "id": "AuditEvent.agent:destination.who.reference", "max": "0", "path": "AuditEvent.agent.who.reference" }, { "id": "AuditEvent.agent:destination.who.type", "max": "0", "min": 0, "path": "AuditEvent.agent.who.type" }, { "id": "AuditEvent.agent:destination.who.identifier", "min": 1, "path": "AuditEvent.agent.who.identifier", "mustSupport": true }, { "id": "AuditEvent.agent:destination.requestor", "path": "AuditEvent.agent.requestor", "mustSupport": false }, { "id": "AuditEvent.agent:destination.network", "min": 1, "path": "AuditEvent.agent.network", "mustSupport": false }, { "id": "AuditEvent.agent:destination.network.address", "min": 1, "path": "AuditEvent.agent.network.address", "short": "ID usluge Upravljanje posjetama", "mustSupport": true }, { "id": "AuditEvent.agent:destination.network.type", "min": 1, "path": "AuditEvent.agent.network.type", "fixedCode": "5", "mustSupport": true }, { "id": "AuditEvent.source", "path": "AuditEvent.source", "short": "Aplikacija koja je izradila revizijski zapis" }, { "id": "AuditEvent.source.observer", "path": "AuditEvent.source.observer", "short": "Identifikator aplikacije upravljanja posjetama", "mustSupport": false }, { "id": "AuditEvent.source.observer.reference", "max": "0", "path": "AuditEvent.source.observer.reference" }, { "id": "AuditEvent.source.observer.type", "max": "0", "min": 0, "path": "AuditEvent.source.observer.type" }, { "id": "AuditEvent.source.observer.identifier", "min": 1, "path": "AuditEvent.source.observer.identifier", "mustSupport": true }, { "id": "AuditEvent.entity", "max": "1", "min": 1, "path": "AuditEvent.entity", "short": "Informacije o posjeti na koju se odnosi revizijski zapis", "mustSupport": false }, { "id": "AuditEvent.entity.what", "min": 1, "path": "AuditEvent.entity.what", "short": "Jedinstveni identifikator posjete (ID kojeg dodjeljuje usluga)", "mustSupport": false }, { "id": "AuditEvent.entity.what.reference", "max": "0", "path": "AuditEvent.entity.what.reference" }, { "id": "AuditEvent.entity.what.type", "min": 1, "path": "AuditEvent.entity.what.type", "fixedUri": "Encounter", "mustSupport": true }, { "id": "AuditEvent.entity.what.identifier", "min": 1, "path": "AuditEvent.entity.what.identifier", "mustSupport": true }, { "id": "AuditEvent.entity.type", "min": 1, "path": "AuditEvent.entity.type", "fixedCoding": { "code": "Encounter", "system": "http://hl7.org/fhir/resource-types", "display": "Encounter" }, "mustSupport": false }, { "id": "AuditEvent.entity.role", "min": 1, "path": "AuditEvent.entity.role", "fixedCoding": { "code": "4", "system": "http://terminology.hl7.org/CodeSystem/object-role", "display": "Domain Resource" }, "mustSupport": false } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AuditEvent" }