vpk:V3.1 FHIR eOverdracht Proeftuin: verschil tussen versies
(HOTFIX: Simplifier template usage) |
|||
(70 tussenliggende versies door 5 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | {{ | + | {{DISPLAYTITLE:eOverdracht Proeftuin phase 1 FHIR Implementation Guide}} |
+ | {{IssueBox|Work in progress - See [[vpk:V3.1_FHIR_eOverdracht_Proeftuin|official publication]] here.}} | ||
+ | =Introduction= | ||
− | = | + | This page will detail the HL7 requirments for exhcanging the data in the eOverdracht Proeftuin phase 1 as described in [[vpk:V3.1 eOverdracht Proeftuin|the functional design]]. |
+ | Imnplementation of the eOverdracht Proeftuin is spread over 3 different phases. Phase 2 and 3 can be found by navigating the following links in the table listed below. | ||
+ | {| class="wikitable" | ||
+ | ! colspan="2" | Phase 2 and Phase 3 of the eOverdracht Proeftuin | ||
+ | |- | ||
+ | | style="text-align: center;" | Phase 2 | ||
+ | | style="text-align: center;" | Phase 3 | ||
+ | |- | ||
+ | | [[vpk:V3.1_FHIR_eOverdracht_Proeftuin_phase_2|Proeftuin Phase 2 ]] | ||
+ | | [[vpk:V3.1_FHIR_eOverdracht|eOverdracht FHIR implementation guide]] | ||
+ | |- | ||
+ | |} | ||
+ | * Phase 3 of the eOverdracht proeftuin consists of the total eOverdracht message, therefore you will be directed to the eOverdracht FHIR implementation guide. | ||
− | + | In the first phase of the Proeftuin a simplified version of both the Aanmeldbericht en Overdrachtsbericht are being used. Both messages exist of four HCIMs listed in the table below. The Aanmeldbericht is send to the recieving organisation, which after confirmation of recieving the aanmeldberricht, gets send the Overdrachtbericht. | |
− | |||
− | + | This implementation guide assumes that the reader is familiar with [https://www.hl7.org/fhir/stu3/ 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 <code>meta.profile</code> 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 [https://simplifier.net/NictizSTU3-Zib2017/~packages Nictiz Zib2017 package {{VersieInfo|package|release=V2019.01}}]. | ||
+ | ==Example instances== | ||
+ | Example instances of the FHIR messages can be found on [https://simplifier.net/nictiz-stu3-eoverdracht Simplifier]: | ||
+ | * [https://simplifier.net/nictiz-stu3-eoverdracht/~resources?category=Example&exampletype=Composition Composition examples] | ||
+ | * [https://simplifier.net/nictiz-stu3-eoverdracht/~resources?category=Example&exampletype=Bundle Bundle examples] | ||
+ | =Use case 1A: Send Overdrachtsbericht volwassenen (PUSH)= | ||
==Introduction== | ==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 [[vpk:V3.1_Opbouw_eOverdracht_volwassenen|Opbouw Overdrachtsbericht Volwassenen]]. For the pilot a limited subset is implemented. | |
− | The Send | + | ==Actors== |
− | + | {| class="wikitable" "cellpadding="10" | |
− | ==Actors | + | ! style="text-align:left;"| '''Transaction group''' |
− | + | ! style="text-align:left;"| '''Transaction''' | |
− | {| class="wikitable" style=" | + | ! style="text-align:left;"| '''Actor''' |
− | ! Actor | + | ! style="text-align:left;"| '''Role''' |
− | ! Role | ||
− | |||
|- | |- | ||
− | | | + | |style="background-color: white;" rowspan="2"|Send Overdrachtbericht (PUSH) |
− | | | + | |style="background-color: white;" rowspan="2"|Send Overdrachtsbericht |
− | | Send | + | |style="background-color: white;"|Healthcare professional at organization A (using a XIS) |
− | |- | + | |style="background-color: white;"|Sends Overdrachtsbericht |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
+ | |style="background-color: white;"|Healthcare professional at organization B (using a XIS) | ||
+ | |style="background-color: white;"|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 [http://hl7.org/fhir/STU3/http.html#transaction transaction] by the receiving XIS. See [[#Processing documents]] for more information. | ||
+ | ==Structure of the Overdrachtsbericht (4 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 1, the Overdrachtsbericht is based on the same 4 HCIMs as the Aanmeldbericht (Patient, Betaler, Contactpersoon en Zorgaanbieder). The table below lists the FHIR profiles<ref name="nopackage">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.</ref> that are applicable for the pilot implementation of the Overdrachtsbericht transaction. | |
− | |||
− | |||
{| class="wikitable" style="horizontal-align: right" | {| class="wikitable" style="horizontal-align: right" | ||
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | Section |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | FHIR profile |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | FHIR resource |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | HCIM name |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | HCIM version |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | Remarks |
|- | |- | ||
− | | | + | | - |
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/eOverdracht-Overdrachtsbericht-volwassenen-phase-one|title=Overdrachtsbericht phase 1}} |
| Composition | | Composition | ||
| - | | - | ||
| - | | - | ||
− | | | + | | The Composition resource used to assemble the document |
|- | |- | ||
|- | |- | ||
| Datum overplaatsing | | Datum overplaatsing | ||
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/eOverdracht-TransferDate|title=eOverdracht-TransferDate}} |
− | | | + | | ''extension'' |
| - | | - | ||
| - | | - | ||
− | | | + | | extension in the Composition resource |
|- | |- | ||
| rowspan="2"|Persoonsgegevens | | rowspan="2"|Persoonsgegevens | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient|title=nl-core-patient}} |
| Patient | | Patient | ||
| Patient | | Patient | ||
Regel 68: | Regel 92: | ||
| - | | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Payer|title=zib-Payer}} |
| Coverage | | Coverage | ||
| Betaler | | Betaler | ||
Regel 75: | Regel 99: | ||
|- | |- | ||
| rowspan="3"|Sturende organisatie | | rowspan="3"|Sturende organisatie | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|title=nl-core-organization}} |
| Organization | | Organization | ||
| Zorgaanbieder | | Zorgaanbieder | ||
Regel 81: | Regel 105: | ||
| - | | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|title=nl-core-practitioner}} |
| Practitioner | | Practitioner | ||
| rowspan="2" |Zorgverlener | | rowspan="2" |Zorgverlener | ||
Regel 87: | Regel 111: | ||
| rowspan="2" | - | | rowspan="2" | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole|title=nl-core-practitionerrole}} |
| PractitionerRole | | PractitionerRole | ||
|- | |- | ||
| rowspan="3"|Ontvangende organisatie | | rowspan="3"|Ontvangende organisatie | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|title=nl-core-organization}} |
| Organization | | Organization | ||
| Zorgaanbieder | | Zorgaanbieder | ||
Regel 97: | Regel 121: | ||
| - | | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|title=nl-core-practitioner}} |
| Practitioner | | Practitioner | ||
| rowspan="2" |Zorgverlener | | rowspan="2" |Zorgverlener | ||
Regel 103: | Regel 127: | ||
| rowspan="2" | - | | rowspan="2" | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole|title=nl-core-practitionerrole}} |
| PractitionerRole | | PractitionerRole | ||
|- | |- | ||
Regel 111: | Regel 135: | ||
| - | | - | ||
| - | | - | ||
− | | | + | | Used to send unstructured PDF data |
|} | |} | ||
− | = | + | =Use case 3A: Send Aanmeldbericht (PUSH)= |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Introduction== | ==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 [[vpk:V3.1_Opbouw_eOverdracht_aanmelding|Opbouw Aanmeldbericht]]. For the pilot a limited subset is implemented. | |
− | + | ==Actors== | |
− | ==Actors | + | {| class="wikitable" "cellpadding="10" |
− | + | ! style="text-align:left;"| '''Transaction group''' | |
− | {| class="wikitable" style=" | + | ! style="text-align:left;"| '''Transaction''' |
− | ! | + | ! style="text-align:left;"| '''Actor''' |
− | ! | + | ! style="text-align:left;"| '''Role''' |
− | ! | ||
− | |||
− | | | ||
− | |||
− | |||
|- | |- | ||
− | | | + | |style="background-color: white;" rowspan="2"|Send Aanmeldbericht(PUSH) |
− | | | + | |style="background-color: white;" rowspan="2"|Send Aanmeldbericht |
− | | | + | |style="background-color: white;"|Healthcare professional at organization A (using a XIS) |
+ | |style="background-color: white;"|Sends Aanmeldbericht | ||
|- | |- | ||
+ | |style="background-color: white;"|Healthcare professional at organization B (using a XIS) | ||
+ | |style="background-color: white;"|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 [http://hl7.org/fhir/STU3/http.html#transaction transaction] by the receiving XIS. See [[#Processing documents]] for more information. | ||
+ | ==Structure of the Aanmeldbericht (4 HCIMs + PDF)== | ||
+ | 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 1, 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<ref name="nopackage"/> 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 <code>meta.profile</code> element. | |
− | |||
− | |||
− | |||
{| class="wikitable" style="horizontal-align: right" | {| class="wikitable" style="horizontal-align: right" | ||
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | Section |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | FHIR profile |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | FHIR resource |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | HCIM name |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | HCIM version |
− | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left; | + | !style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;" | Remarks |
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/eOverdracht-aanmeldbericht-phase-one|Aanmeldbericht phase 1}} |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| Composition | | Composition | ||
| - | | - | ||
| - | | - | ||
− | | | + | | The Composition resource used to assemble the document |
|- | |- | ||
|- | |- | ||
| Datum overplaatsing | | Datum overplaatsing | ||
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/eOverdracht-TransferDate|eOverdracht-TransferDate}} |
− | | | + | | ''extension'' |
| - | | - | ||
| - | | - | ||
− | | | + | | extension in the Composition resource |
|- | |- | ||
| rowspan="2"|Persoonsgegevens | | rowspan="2"|Persoonsgegevens | ||
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient|nl-core-patient}} |
| Patient | | Patient | ||
| Patient | | Patient | ||
Regel 436: | Regel 197: | ||
| - | | - | ||
|- | |- | ||
− | | | + | | {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Payer|zib-Payer}} |
| Coverage | | Coverage | ||
| Betaler | | Betaler | ||
Regel 442: | Regel 203: | ||
| - | | - | ||
|- | |- | ||
− | + | | Sturende organisatie | |
− | | | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|nl-core-organization}} |
| Organization | | Organization | ||
| Zorgaanbieder | | Zorgaanbieder | ||
Regel 449: | Regel 210: | ||
| - | | - | ||
|- | |- | ||
− | + | | Ontvangende organisatie | |
− | + | | {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|nl-core-organization}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
| Organization | | Organization | ||
| Zorgaanbieder | | Zorgaanbieder | ||
| v3.1.1(2017NL) | | v3.1.1(2017NL) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| PDF | | PDF | ||
Regel 549: | Regel 221: | ||
| - | | - | ||
| - | | - | ||
− | | | + | | Used to send unstructured PDF data |
|} | |} | ||
+ | =FHIR Documents= | ||
+ | Both the Aanmeldbericht and the Overdrachtsbericht are sent as a [https://www.hl7.org/fhir/STU3/documents.html FHIR Document]. A document is a FHIR Bundle that assembles all relevant resources that need to be exchanged, together with a [https://www.hl7.org/fhir/STU3/composition.html 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 <code>Bundle.type</code> 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]} | POST [base] {?_format=[mime-type]} | ||
− | where the body of the POST request is the | + | where the body of the POST request is the document. |
− | + | ==Processing documents== | |
− | + | The document Bundle should be processed as a [http://hl7.org/fhir/STU3/http.html#transaction transaction] by the receiving XIS and each <code>Bundle.entry</code> should be treated as a <code>create</code> interaction for the <code>Bundle.entry.resource</code>. 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. | |
− | The document Bundle should be processed as a [http://hl7.org/fhir/STU3/http.html#transaction transaction] by the receiving XIS and each | ||
− | |||
− | |||
− | |||
− | |||
− | + | 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 [http://hl7.org/fhir/STU3/operationoutcome.html OperationOutcome] resource with detailed error messages describing the reason for the error. |
− | * [ | ||
− | |||
− | |||
=FHIR CapabilityStatements= | =FHIR CapabilityStatements= | ||
− | + | * {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/eOverdracht-servercapabilities-phase-one|title=CapabilityStatement server}} | |
− | + | * {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/eOverdracht-clientcapabilities-phase-one|title=CapabilityStatement client}} | |
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | == | + | =Footnotes= |
− | + | <references /> | |
− |
Huidige versie van 21 okt 2020 om 15:11
Work in progress - See official publication here. |
Introduction
This page will detail the HL7 requirments for exhcanging the data in the eOverdracht Proeftuin phase 1 as described in the functional design. Imnplementation of the eOverdracht Proeftuin is spread over 3 different phases. Phase 2 and 3 can be found by navigating the following links in the table listed below.
Phase 2 and Phase 3 of the eOverdracht Proeftuin | |
---|---|
Phase 2 | Phase 3 |
Proeftuin Phase 2 | eOverdracht FHIR implementation guide |
- Phase 3 of the eOverdracht proeftuin consists of the total eOverdracht message, therefore you will be directed to the eOverdracht FHIR implementation guide.
In the first phase of the Proeftuin a simplified version of both the Aanmeldbericht en Overdrachtsbericht are being used. Both messages exist of four HCIMs listed in the table below. The Aanmeldbericht is send to the recieving organisation, which after confirmation of recieving the aanmeldberricht, gets send the Overdrachtbericht.
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 (4 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 1, the Overdrachtsbericht is based on the same 4 HCIMs as the Aanmeldbericht (Patient, Betaler, Contactpersoon en Zorgaanbieder). The table below lists the FHIR profiles[1] that are applicable for the pilot implementation of the Overdrachtsbericht transaction.
Section | FHIR profile | FHIR resource | HCIM name | HCIM version | Remarks |
---|---|---|---|---|---|
- | Overdrachtsbericht phase 1 | Composition | - | - | The Composition resource used to assemble the document |
Datum overplaatsing | eOverdracht-TransferDate | extension | - | - | extension in the Composition resource |
Persoonsgegevens | nl-core-patient | Patient | Patient | v3.1(2017NL) | - |
zib-Payer | Coverage | Betaler | v3.1(2017NL) | - | |
Sturende organisatie | nl-core-organization | Organization | Zorgaanbieder | v3.1.1(2017NL) | - |
nl-core-practitioner | Practitioner | Zorgverlener | v3.2(2017NL) | - | |
nl-core-practitionerrole | PractitionerRole | ||||
Ontvangende organisatie | nl-core-organization | Organization | Zorgaanbieder | v3.1.1(2017NL) | - |
nl-core-practitioner | Practitioner | Zorgverlener | v3.2(2017NL) | - | |
nl-core-practitionerrole | PractitionerRole | ||||
Binary | Binary | - | - | Used to send unstructured PDF data |
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. For the pilot a limited subset is implemented.
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 (4 HCIMs + PDF)
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 1, 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.
Section | FHIR profile | FHIR resource | HCIM name | HCIM version | Remarks |
---|---|---|---|---|---|
- | phase 1@ http://nictiz.nl/fhir/StructureDefinition/eOverdracht-aanmeldbericht-phase-one | Composition | - | - | The Composition resource used to assemble the document |
Datum overplaatsing | http://nictiz.nl/fhir/StructureDefinition/eOverdracht-TransferDate | extension | - | - | extension in the Composition resource |
Persoonsgegevens | http://fhir.nl/fhir/StructureDefinition/nl-core-patient | Patient | Patient | v3.1(2017NL) | - |
http://nictiz.nl/fhir/StructureDefinition/zib-Payer | Coverage | Betaler | v3.1(2017NL) | - | |
Sturende organisatie | http://fhir.nl/fhir/StructureDefinition/nl-core-organization | Organization | Zorgaanbieder | v3.1.1(2017NL) | - |
Ontvangende organisatie | http://fhir.nl/fhir/StructureDefinition/nl-core-organization | Organization | Zorgaanbieder | v3.1.1(2017NL) | |
Binary | Binary | - | - | Used to send unstructured PDF data |
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
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.