PICA
Short Description | The purpose of this track is to test the Process Conformance IG PICA. You can upload Audit Events in R4 or R5 and then view Processes via the $dfg operation on a provided test server. | ||||||||||||||||||||||||
Long Description | The PICA Hapi Fhir server provides additional extensions to the base functionally. The idea is to provide a multi perspective process mining possibility on audit logs. For this purpose `AuditEvents` are utilized. We differ between R4 and R5 implementations and provide functionality for both of them. The server has additional operations defined on `AuditEvents` than enable to retrieve these logs in either `xes` or - `[ServerBaseURL]/fhir/AuditEvent/$xes`: to retrieve the audit logs in the XES format. We expect and hope to achieve:
| ||||||||||||||||||||||||
Type | Test a specific Implemenation Guide (IG) | ||||||||||||||||||||||||
Submitting Work Group/ | |||||||||||||||||||||||||
Track Lead(s) | |||||||||||||||||||||||||
Track Lead Email(s) | oliver.krauss@fh-hagenberg.at | ||||||||||||||||||||||||
Related Tracks | None directly All Implementers that write Audit Logs can provide them to this track | ||||||||||||||||||||||||
FHIR Version | FHIR R4 and FHIR R5 | ||||||||||||||||||||||||
Specification(s) this track uses | - https://fhir.hl7.at/r5-pica-5-deployment/overview.html (Implementation Guide) - Pointner, A., Krauss, O., Schuler, A., & Helm, E. (2022). Transformation from HL7® FHIR® AuditEvent to XES (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.6901825 | ||||||||||||||||||||||||
Artifacts of focus | |||||||||||||||||||||||||
Expected participants | |||||||||||||||||||||||||
Date / Time | Monday March 13, 09:00am-03:30pm CET | ||||||||||||||||||||||||
Test Servers | See Test Servers (FH OÖ R4 and R5) | ||||||||||||||||||||||||
Track Details | Prerequisites (recommended)
System rolesFHIR Actor (any actor writing audit events) in R4 or R5 For Actors you simple need to create Audit Events, either in FHIR R4 (needs Extensions!) or FHIR R5 (vanilla). See Scenarios R4 1-3 and R5 1+2 for this role. Process Auditor in R4 or R5A process auditor simply needs to call one of three available FHIR Operations on the FHIR Server and then view the results. The options are:
See Scenarios R4 4 and R5 3 for this role. ScenariosNote: all of the following scenarios are independent from each other. You can implement only one, or multiple ones Quick overview:
FHIR R4 Scenarios: For these scenarios please use the endpoint https://aist-partner.projekte.fh-hagenberg.at/pica-r4/fhir 1 - Creating a process via FHIR resources (complex)We have extended functionality for R4. We support the automated creation of AuditEvent, when creating specific resources on the server. At the moment the following resources are supported: - CarePlan The `AuditEvents` are created based on the values of the these resources. That means, that the auditing will not track - **occurredDateTime**: The timestamp of the resource as a `DateTimeType`. 2 - Simulating a process via the Synthea tool (simple) A simple way to generate R4 resource to test the R4 hapi fhir server configuration, is to use the ```shell The value after the `-p` flag will specify how many patients you want to create. For every patient a number of resources The folder will then contain the following files: - hospitalInformation*.json These files can then be sent to a fhir server using a command tooling like [curl](https://curl.se/). First you need to ```shell e.g. ```shell All the files from synthea are bundled Fhir files, which means there is no need to send them to a specific resource, 3 - Creating Audit Events manually (medium complexity due to necessary extensions) You are also allowed to upload your own resources on the server, which will result in creating own AuditEvents. Please ```json 4 - Generation of standardized process logs (simple)You can generate process logs with the following Operations directly on endpoint/AuditEvent/$OPERATION, with some filter options: - $xes | $dfg - reasonCode: Filtering based on the code value of the first reasonCode inside the encounter - patient: Filtering based on the reference value of the patient Warning: If you also implement this scenario in R5, the available operations and filters are different! FHIR R5 Scenarios: For these scenarios please use the endpoint https://aist-partner.projekte.fh-hagenberg.at/pica-r5/fhir 1 - Creating a process from R4 resources (medium complexity)As already stated, the R4 AuditEvents are creating using a few extensions to the Base R4 resource. These fields are - **R4 AuditEvent** → **R5 AuditEvent** This also means, that in R4 we have a reduced set of elements that can be used in the mapping to XES/DFG, as only the 2 - Creating audit events manually (simple)
```json 3 - Generation of standardized process logs (simple)You can generate process logs with the following Operations directly on endpoint/AuditEvent/$OPERATION, with some filter options: - $xes | $ocel | $dfg - patient: Filtering based on the reference value of the patient - basedOn: Filtering based on the reference value of the basedOn element - encounter: Filtering based on the reference value of the encounter element - agent: Filtering based on the reference value of the agent element Warning: If you also implement this scenario in R4, the available operations and filters are different! |