| Package | cezih.hr.encounter-management |
| Resource Type | StructureDefinition |
| Id | ehe-encounter-management-audit-events |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=cezih.hr.encounter-management@0.2.3&canonical=http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events |
| URL | http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events |
| Version | 0.1 |
| Status | active |
| Name | EHEEncounterManagementAuditEvent |
| Title | Encounter Management Audit Event (EHE) |
| Description | Specifikacija strukture revizijskog zapisa usluge upravljanja posjetama. |
| Type | AuditEvent |
| Kind | resource |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"id": "ehe-encounter-management-audit-events",
"url": "http://ent.hr/fhir/StructureDefinition/ehe-encounter-management-audit-events",
"version": "0.1",
"name": "EHEEncounterManagementAuditEvent",
"title": "Encounter Management Audit Event (EHE)",
"status": "active",
"experimental": false,
"description": "Specifikacija strukture revizijskog zapisa usluge upravljanja posjetama.",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "AuditEvent",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/AuditEvent",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "AuditEvent",
"path": "AuditEvent",
"constraint": [
{
"key": "ENC-1",
"severity": "error",
"human": "Vrsta revizijskog zapisa mora odgovarati podvrsti",
"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",
"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,
"binding": {
"strength": "required",
"valueSet": "http://ent.hr/fhir/ValueSet/ehe-encounter-management-event-types"
}
},
{
"id": "AuditEvent.subtype",
"path": "AuditEvent.subtype",
"short": "Podvrsta revizijskog zapisa",
"definition": "Podvrsta revizijskog zapisa je jednaka vrsti poruke koja je poslana usluzi upravljanja posjetama",
"min": 1,
"max": "1",
"mustSupport": false,
"binding": {
"strength": "required",
"valueSet": "http://ent.hr/fhir/ValueSet/encounter-message-types"
}
},
{
"id": "AuditEvent.action",
"path": "AuditEvent.action",
"min": 1,
"mustSupport": false,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/audit-event-action"
}
},
{
"id": "AuditEvent.recorded",
"path": "AuditEvent.recorded",
"mustSupport": false
},
{
"id": "AuditEvent.outcome",
"path": "AuditEvent.outcome",
"short": "Informacija da li je zahtjev za koji se sprema revizijski zapis uspješno odrađen ili ne",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.agent",
"path": "AuditEvent.agent",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "type"
}
],
"rules": "open"
}
},
{
"id": "AuditEvent.agent:source",
"path": "AuditEvent.agent",
"sliceName": "source",
"short": "Encounter Management Client information",
"max": "1",
"mustSupport": false
},
{
"id": "AuditEvent.agent:source.type",
"path": "AuditEvent.agent.type",
"min": 1,
"fixedCodeableConcept": {
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110153",
"display": "Source Role ID"
}
]
},
"mustSupport": false
},
{
"id": "AuditEvent.agent:source.who",
"path": "AuditEvent.agent.who",
"short": "Identifikator autenticiranog korisnika (JWT token). Može biti krajnji korisnik (Zdravstveni djelatnik) ili Informacijski sustav",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.agent:source.who.reference",
"path": "AuditEvent.agent.who.reference",
"max": "0"
},
{
"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",
"severity": "error",
"human": "Tip može biti samo zdravstveni djelatnik (Practitioner) ili pacijent (Patient)",
"expression": "iif($this='Patient' or $this='Practitioner', true, false)"
}
],
"mustSupport": true
},
{
"id": "AuditEvent.agent:source.who.identifier",
"path": "AuditEvent.agent.who.identifier",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.agent:source.requestor",
"path": "AuditEvent.agent.requestor",
"fixedBoolean": true,
"mustSupport": false
},
{
"id": "AuditEvent.agent:source.network",
"path": "AuditEvent.agent.network",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.agent:source.network.address",
"path": "AuditEvent.agent.network.address",
"short": "Identifikator aplikacije/servisa ili IP adresa vanjskog sustava",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.agent:source.network.type",
"path": "AuditEvent.agent.network.type",
"short": "“5\" (URI) or \"2\" (IP address)",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.agent:destination",
"path": "AuditEvent.agent",
"sliceName": "destination",
"short": "Encounter Management Service information",
"max": "1",
"mustSupport": false
},
{
"id": "AuditEvent.agent:destination.type",
"path": "AuditEvent.agent.type",
"min": 1,
"fixedCodeableConcept": {
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110152",
"display": "Destination Role ID"
}
]
},
"mustSupport": false
},
{
"id": "AuditEvent.agent:destination.who",
"path": "AuditEvent.agent.who",
"short": "ID usluge Upravljanje posjetama",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.agent:destination.who.reference",
"path": "AuditEvent.agent.who.reference",
"max": "0"
},
{
"id": "AuditEvent.agent:destination.who.type",
"path": "AuditEvent.agent.who.type",
"max": "0"
},
{
"id": "AuditEvent.agent:destination.who.identifier",
"path": "AuditEvent.agent.who.identifier",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.agent:destination.requestor",
"path": "AuditEvent.agent.requestor",
"mustSupport": false
},
{
"id": "AuditEvent.agent:destination.network",
"path": "AuditEvent.agent.network",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.agent:destination.network.address",
"path": "AuditEvent.agent.network.address",
"short": "ID usluge Upravljanje posjetama",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.agent:destination.network.type",
"path": "AuditEvent.agent.network.type",
"min": 1,
"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",
"path": "AuditEvent.source.observer.reference",
"max": "0"
},
{
"id": "AuditEvent.source.observer.type",
"path": "AuditEvent.source.observer.type",
"max": "0"
},
{
"id": "AuditEvent.source.observer.identifier",
"path": "AuditEvent.source.observer.identifier",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.entity",
"path": "AuditEvent.entity",
"short": "Informacije o posjeti na koju se odnosi revizijski zapis",
"min": 1,
"max": "1",
"mustSupport": false
},
{
"id": "AuditEvent.entity.what",
"path": "AuditEvent.entity.what",
"short": "Jedinstveni identifikator posjete (ID kojeg dodjeljuje usluga)",
"min": 1,
"mustSupport": false
},
{
"id": "AuditEvent.entity.what.reference",
"path": "AuditEvent.entity.what.reference",
"max": "0"
},
{
"id": "AuditEvent.entity.what.type",
"path": "AuditEvent.entity.what.type",
"min": 1,
"fixedUri": "Encounter",
"mustSupport": true
},
{
"id": "AuditEvent.entity.what.identifier",
"path": "AuditEvent.entity.what.identifier",
"min": 1,
"mustSupport": true
},
{
"id": "AuditEvent.entity.type",
"path": "AuditEvent.entity.type",
"min": 1,
"fixedCoding": {
"system": "http://hl7.org/fhir/resource-types",
"code": "Encounter",
"display": "Encounter"
},
"mustSupport": false
},
{
"id": "AuditEvent.entity.role",
"path": "AuditEvent.entity.role",
"min": 1,
"fixedCoding": {
"system": "http://terminology.hl7.org/CodeSystem/object-role",
"code": "4",
"display": "Domain Resource"
},
"mustSupport": false
}
]
}
}