vpk:Vdraft FHIR eOverdracht Proeftuin phase 2
{{#customtitle:eOverdracht Proeftuin phase 2 FHIR Implementation Guide}}
Work in progress - See official publication here. |
Introduction
This page details the HL7 FHIR requirements for exchanging the data in the eOverdracht Proeftuin pilot described in the functional design.
TODO
Imnplementation of the eOverdracht Proeftuin is spread over 3 different phases. This page will detail the HL7 requirments for exhcanging the data in the eOverdracht Proeftuin phase 2 as described in the functional design. For the implementation of Phase 1 to the Proeftuin Phase 1 page should be visited. For the implementation of Phase 3, which is the complete message we recommend visitting eOverdracht FHIR implementation guide Phase two consists of the complete Aanmeldbericht as well as an incomplete Overdrachtsbericht. The Overdrachtsbericht is a subset of 11 HCIM's (complete set used in Aanmeldbericht) and an unstructured PDF containing the remaining data which are not part of the HCIM's.
/TODO
This implementation guide assumes that the reader is familiar with FHIR(STU3).
Overarching FHIR principles
- This implementation guide does not provide information on finding the right XIS, nor does it provide information about security. It is assumed that the sending XIS is able to make a connection with the receiving XIS.
- All FHIR resources used within eOverdracht SHALL conform to the profiles listed in this implementation guide and SHALL include the profile canonical URL in their
meta.profile
element.
Package and dependencies
eOverdracht uses the FHIR Packaging mechanism to conveniently bundle all examples, profiles and other conformance resources you need into a single download. The eOverdracht package has a dependency on the Nictiz Zib2017 package .
Example instances
Example instances of the FHIR messages can be found on Simplifier:
Use case 1A: Send Overdrachtsbericht volwassenen (PUSH)
Introduction
The Send Overdrachtsbericht scenario is used by the sending XIS to send the relevant data for the patient care to the receiving XIS. The structure of the eventual scenario is described in the functional design and additionally in Opbouw Overdrachtsbericht Volwassenen. For the pilot a limited subset is implemented.
Actors
Transaction group | Transaction | Actor | Role |
---|---|---|---|
Send Overdrachtbericht (PUSH) | Send Overdrachtsbericht | Healthcare professional at organization A (using a XIS) | Sends Overdrachtsbericht |
Healthcare professional at organization B (using a XIS) | Receives Overdrachtsbericht |
Invocation
The Send Overdrachtsbericht transaction is an HTTP POST method on the target XIS's base, where the body of the POST request is a FHIR document according to #Structure of the Overdrachtsbericht (4 HCIMs + PDF). See #Sending documents for more information.
Trigger events
This transaction is invoked when the sending XIS needs to send the Overdrachtsbericht to the receiving XIS.
Expected response
The document Bundle should be processed as a transaction by the receiving XIS. See #Processing documents for more information.
Structure of the Overdrachtsbericht (11 HCIMs + PDF)
The Overdrachtsbericht consists of multiple FHIR resources, which are assembled into a FHIR document. See #Creating documents for information on how to assemble this document.
During phase 2, the Overdrachtsbericht is based on 11 HCIMs which expand on the HCIMs from the Aanmeldbericht. The table below lists the FHIR profiles[1] that are applicable for the pilot implementation of the Overdrachtsbericht transaction.
Use case 3A: Send Aanmeldbericht (PUSH)
Introduction
The Send Aanmeldbericht scenario is used by the sending XIS to send the relevant data for the patient intake to the receiving XIS, and constitutes a subset of the Overdrachtsbericht. The structure of the eventual scenario is described in the functional design and additionally in Opbouw Aanmeldbericht. The Phase Two aanmeldbericht implements the complete aanmeldbericht as described in the functional design.
Actors
Transaction group | Transaction | Actor | Role |
---|---|---|---|
Send Aanmeldbericht(PUSH) | Send Aanmeldbericht | Healthcare professional at organization A (using a XIS) | Sends Aanmeldbericht |
Healthcare professional at organization B (using a XIS) | Receives Aanmeldbericht |
Invocation
The Send Aanmeldbericht transaction is an HTTP POST method on the target XIS's base, where the body of the POST request is a FHIR document according to #Structure of the Aanmeldbericht (4 HCIMs + PDF). See #Sending documents for more information.
Trigger events
This transaction is invoked when the sending XIS needs to send the Overdrachtsbericht to the receiving XIS.
Expected response
The document Bundle should be processed as a transaction by the receiving XIS. See #Processing documents for more information.
Structure of the Aanmeldbericht phase 2 (complete)
The Aanmeldbericht consists of multiple FHIR resources, which are assembled into a FHIR document. See #Creating documents for information on how to assemble this document.
During phase 2, the Aanmeldbericht is based 4 HCIMs (Patient, Betaler, Contactpersoon en Zorgaanbieder) and uses a PDF to send the remaining data unstructured. The table below lists the FHIR profiles[1] that are applicable for the pilot implementation of the Aanmeldbericht transaction. All resources SHALL conform to the profiles listed in this table and SHALL include the profile canonical URL in the meta.profile
element.
FHIR Documents
Both the Aanmeldbericht and the Overdrachtsbericht are sent as a FHIR Document. A document is a FHIR Bundle that assembles all relevant resources that need to be exchanged, together with a Composition resource that summarizes and references all these resources.
A FHIR document is immutable and considered to be attested by a healthcare professional.
Creating documents
To construct a document, a FHIR Composition resource is created that summarizes and references all the resources that need to be exchanged. This Composition resource is then placed together with all referenced resources in a Bundle with Bundle.type
set to "document". The Composition resource SHALL be the first entry.
Profiles have been created for both the Composition and the document Bundle resources for each transaction within eOverdracht. All documents SHOULD adhere to these profiles, which are summarized in this implementation guide at the transaction level.
Sending documents
The document should be sent as an HTTP POST operation on the target XIS's base:
POST [base] {?_format=[mime-type]}
where the body of the POST request is the document.
Processing documents
The document Bundle should be processed as a transaction by the receiving XIS and each Bundle.entry
should be treated as a create
interaction for the Bundle.entry.resource
. When the receiving XIS cannot create a new resource because of incorrect data or business rules, it should perform a rollback of the creation of any previous entries.
On success, the target XIS SHALL respond:
- With the HTTP status code 201 Created.
- With the Location header containing the new logical id and version id of the created resource version.
- With a response body set to a Bundle of type "transaction-response", containing one entry for each entry in the request, in the same order, with the outcome of processing the entry. The sender may use the returned Bundle to track the outcomes of processing the entry, and the identities assigned to the resources by the server.
On failure, the target XIS SHALL respond:
- With an HTTP status code set appropriate to the processing outcome:
- When the resource syntax or data is incorrect or invalid, the status code should be 400 Bad Request.
- When the server rejects the content of the resource because of business rules, the status code should be 422 Unprocessable Entity.
- Additional HTTP status code may be used if more appropriate.
- With a response body set to a FHIR OperationOutcome resource with detailed error messages describing the reason for the error.
FHIR CapabilityStatements
- server@ http://nictiz.nl/fhir/CapabilityStatement/eOverdracht-servercapabilities-phase-one
- server@ http://nictiz.nl/fhir/CapabilityStatement/eOverdracht-clientcapabilities-phase-one
Footnotes
- ↑ 1,0 1,1 Please note that the direct links to the various conformance resources below will take you to the latest version, which might not match the package version. At time of writing, there is no way to render the conformance resource as found in the package. This is on the roadmap for Simplifier.