MedMij:V2020.01/FHIR BGLZ: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
(MM-972: added documentation for lastn operation)
k (Beveiligde "MedMij:V2020.01/FHIR BGLZ": Protect production page from accidental edits ([Bewerken=Alleen beheerders toestaan] (vervalt niet) [Hernoemen=Alleen beheerders toestaan] (vervalt niet)))
 
(27 tussenliggende versies door 5 gebruikers niet weergegeven)
Regel 1: Regel 1:
 
__NUMBEREDHEADINGS__
 
__NUMBEREDHEADINGS__
{{DISPLAYTITLE:MedMij FHIR Implementation Guide: BgLZ {{VersieInfo|Vprepub|BgLZ}}}}
+
{{DISPLAYTITLE:MedMij FHIR Implementation Guide: BgLZ {{VersieInfo|BgLZ}}}}
{{MedMij:Vprepub/Issuebox_FHIR_IG}}
+
{{MedMij:V2020.01/Issuebox_FHIR_IG}}
  
 +
{{NoteBox|1= As of 01-12-2021 this version (2020.01) is no longer in use for MedMij and will no longer be qualified upon. For the currently supported version please visit [[MedMij:V2020.02/FHIR_IG]].}}
 
[[Bestand:MedMij2.png |link=https://www.medmij.nl/|rechts|Naar medmij.nl]]
 
[[Bestand:MedMij2.png |link=https://www.medmij.nl/|rechts|Naar medmij.nl]]
 
[[Bestand:BgLZ-icon.png |link=|links|90px|Use case BgZ 2017|Patient Summary (BgZ)]]  
 
[[Bestand:BgLZ-icon.png |link=|links|90px|Use case BgZ 2017|Patient Summary (BgZ)]]  
 
<imagemap>Bestand:Leeswijzer-technisch-banner 03 white.png|center|400px|alt=Afspraken-Functioneel-Technisch   
 
<imagemap>Bestand:Leeswijzer-technisch-banner 03 white.png|center|400px|alt=Afspraken-Functioneel-Technisch   
 
circle 241 216 211 [https://www.medmij.nl/afsprakenstelsel Afsprakenstelsel]                 
 
circle 241 216 211 [https://www.medmij.nl/afsprakenstelsel Afsprakenstelsel]                 
circle 1013 224 212 [[MedMij:Vprepub/OntwerpLangdurigeZorg|Functioneel]]                 
+
circle 1013 224 212 [[MedMij:V2020.01/OntwerpLangdurigeZorg|Functioneel]]                 
circle 1787 230 212 [[MedMij:Vprepub/FHIR_IG|Technisch]]                 
+
circle 1787 230 212 [[MedMij:V2020.01/FHIR_IG|Technisch]]                 
 
desc none                     
 
desc none                     
 
</imagemap>
 
</imagemap>
Regel 15: Regel 16:
  
 
=Introduction=
 
=Introduction=
[[Bestand:Functioneel-02.png|link=MedMij:Vprepub/Ontwerpen |100px|rechts|Functional design|Go to functional design]]
+
[[Bestand:Functioneel-02.png|link=MedMij:V2020.01/Ontwerpen |100px|rechts|Functional design|Go to functional design]]
  
This page provides the technical specification of the exchange of long-term healthcare information (Dutch: Basisgegevens Langdurige Zorg or BgLZ) based on a selection of Dutch Health Care Information Models. The specification is based on this [[MedMij:Vprepub/OntwerpLangdurigeZorg|functional design]].  
+
This page provides the technical specification of the exchange of long-term healthcare information (Dutch: Basisgegevens Langdurige Zorg or BgLZ) based on a selection of Dutch Health Care Information Models. The specification is based on this [[MedMij:V2020.01/OntwerpLangdurigeZorg|functional design]].
 +
 
 +
'''Note''': This implementation guide builds on the general guidelines described in the [[MedMij:V2020.01/FHIR_IG#Use case overarching principles|use case overarching principles]].
  
 
=Actors involved=
 
=Actors involved=
Regel 33: Regel 36:
 
|-
 
|-
 
| Patient
 
| Patient
| The user of a personal healthcare enviorment.
+
| The user of a personal healthcare environment.
 
| PHR
 
| PHR
 
| Personal health record
 
| Personal health record
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/bglz-clientcapabilities|CapabilityStatement: Client}}
+
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/bglz-clientcapabilities|nictiz.fhir.nl.stu3.zib2017|title=CapabilityStatement: Client}}
 
| FHIR Client requirements  
 
| FHIR Client requirements  
 
|-
 
|-
Regel 43: Regel 46:
 
| XIS
 
| XIS
 
| Healthcare information system
 
| Healthcare information system
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/bglz-servercapabilities|CapabilityStatement: Server}}
+
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/bglz-servercapabilities|nictiz.fhir.nl.stu3.zib2017|title=CapabilityStatement: Server}}
 
| FHIR Server requirements  
 
| FHIR Server requirements  
 
|}
 
|}
  
 
=Boundaries and Relationships=
 
=Boundaries and Relationships=
The BgLZ has similarities with the [[MedMij:Vprepub/FHIR_BGZ_2017|Basisgegevensset Zorg (BgZ)]] and [[MedMij:Vprepub/FHIR_GGZ|Basisgegevens GGZ (GGZ)]] but is definitely different. These information standards use much of the same HCIM based FHIR profiles for exchanging information. Wherever possible every attempt is made to re-use profiles. The BgLZ use case also has unique profiles compared to the aforementioned use cases, such as OutcomeOfCare. In addition, it uses a CareTeam profile without an underlying HCIM.
+
The BgLZ has similarities with the [[MedMij:V2020.01/FHIR_BGZ_2017|Basisgegevensset Zorg (BgZ)]] and [[MedMij:V2020.01/FHIR_GGZ|Basisgegevens GGZ (GGZ)]] but is definitely different. These information standards use much of the same HCIM based FHIR profiles for exchanging information. Wherever possible every attempt is made to re-use profiles. The BgLZ use case also has unique profiles compared to the aforementioned use cases, such as OutcomeOfCare. In addition, it uses a CareTeam profile without an underlying HCIM.
A second thing to note is that also the selection of requested information per HCIM may differentiate. For example, only a subset of LaboratoryResults or AllergyIntolerance is expected to be returned by a XIS. [[MedMij:Vprepub/InhoudLangdurigeZorg|This page]], which belongs to the BgLZ functional design, and related [https://decor.nictiz.nl/decor/services/RetrieveTransaction?id=2.16.840.1.113883.2.4.3.11.60.58.4.3&effectiveDate=2019-04-09T16:33:35&language=nl-NL&ui=nl-NL&format=html&hidecolumns=34567 transactions] provide details on the information that is expected to be exchanged.  
+
A second thing to note is that also the selection of requested information per HCIM may differentiate. For example, only a subset of LaboratoryResults or AllergyIntolerance is expected to be returned by a XIS. [[MedMij:V2020.01/InhoudLangdurigeZorg|This page]], which belongs to the BgLZ functional design, and related [https://decor.nictiz.nl/decor/services/RetrieveTransaction?id=2.16.840.1.113883.2.4.3.11.60.58.4.3&effectiveDate=2019-04-09T16:33:35&language=nl-NL&ui=nl-NL&format=html&hidecolumns=34567 transactions] provide details on the information that is expected to be exchanged.  
  
Medication information is part of a good overview of patients in long-term healthcare. Retrieving medication information by a PHR is however out of scope for this information standard. A separate information standard, [[MedMij:Vprepub/FHIR_MedicationProcess|MedicationProcess]], is intended to serve this purpose.
+
Medication information is part of a good overview of patients in long-term healthcare. Retrieving medication information by a PHR is however out of scope for this information standard. A separate information standard, [[MedMij:V2020.01/FHIR_MedicationProcess|MedicationProcess]], is intended to serve this purpose.
  
 
=Use case: Retrieve BgLZ information=
 
=Use case: Retrieve BgLZ information=
Regel 68: Regel 71:
 
!style="background-color: #4AB8A7;; color: white; font-weight: bold; text-align:left; border: 1px solid black;"| '''Role'''
 
!style="background-color: #4AB8A7;; color: white; font-weight: bold; text-align:left; border: 1px solid black;"| '''Role'''
 
|-
 
|-
|style="background-color: white;" rowspan="3"|Retrieve BgLZ (PULL)
+
|style="background-color: white;" rowspan="2"|Retrieve BgLZ (PULL)
 
|style="background-color: white;vertical-align:top;"|Retrieve BgLZ request
 
|style="background-color: white;vertical-align:top;"|Retrieve BgLZ request
 
|style="background-color: white;vertical-align:top;"|Patient (using a PHR)
 
|style="background-color: white;vertical-align:top;"|Patient (using a PHR)
Regel 81: Regel 84:
  
 
===PHR: request message===
 
===PHR: request message===
The PHR system requests the BgLZ using individual search interactions. The BgLZ consists of multiple FHIR resources with certain constraints. To obtain the patient's BgLZ, the client can use multiple individual search operations based on specified search queries. The interactions are performed by an HTTP GET as shown:
+
The PHR system requests the BgLZ using individual [https://www.hl7.org/fhir/stu3/search.html search] interactions. The BgLZ consists of multiple FHIR resources with certain constraints. To obtain the patient's BgLZ, the client can use multiple individual search operations based on specified search queries. The interactions are performed by an HTTP GET as shown:
  
<code>GET [base]/[type]/{?[parameters]{&_format=[mime-type]}}</code>
+
<code>GET [base]/[type]{?[parameters]}</code>
  
The table below shows in the first four columns the BgLZ sections, the HCIMs that constitute those sections and the specific content of the BgLZ. The last column shows the FHIR search queries to obtain the BgLZ information. These queries and expected responses are based on StructureDefinitions listed in [[#List_of_StructureDefinitions| this section]].
+
The table below shows in the first four columns the BgLZ sections, the HCIMs that constitute those sections and the specific content of the BgLZ. The last column shows the FHIR search queries to obtain the BgLZ information. These queries and expected responses are based on profiles listed in [[#List_of_profiles|this section]].
  
 
{| class="wikitable collapsible" width="100%" style="horizontal-align: right"   
 
{| class="wikitable collapsible" width="100%" style="horizontal-align: right"   
Regel 92: Regel 95:
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:10px" | HCIM EN
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:10px" | HCIM EN
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:10px" | Content
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:10px" | Content
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3  width:10px" | Search URL
+
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3  width:10px" | Search URL<ref>See [[MedMij:V2020.01/FHIR_IG#Search_URLs_and_search_parameters|Search URLs and search parameters]] for the interpretation of these search URLs</ref>
 
|-
 
|-
 
| 1
 
| 1
Regel 131: Regel 134:
 
| Results
 
| Results
 
| LaboratoryTestResult
 
| LaboratoryTestResult
| A selection of infromation from the last known clinical laboratory results per type. The [https://decor.nictiz.nl/decor/services/RetrieveTransaction?id=2.16.840.1.113883.2.4.3.11.60.58.4.3&effectiveDate=2019-04-09T16:33:35&language=nl-NL&ui=nl-NL&format=html&hidecolumns=34567 ART-DECOR transaction] specification describes the selection.
+
| A selection of information from the last known clinical laboratory results per type. The [https://decor.nictiz.nl/decor/services/RetrieveTransaction?id=2.16.840.1.113883.2.4.3.11.60.58.4.3&effectiveDate=2019-04-09T16:33:35&language=nl-NL&ui=nl-NL&format=html&hidecolumns=34567 ART-DECOR transaction] specification describes the selection.
 
| <pre>GET [base]/Observation/$lastn?category=http://snomed.info/sct|275711006&_include=Observation:related-target&_include=Observation:specimen</pre>
 
| <pre>GET [base]/Observation/$lastn?category=http://snomed.info/sct|275711006&_include=Observation:related-target&_include=Observation:specimen</pre>
 
|-
 
|-
Regel 171: Regel 174:
 
| HealthcareProvider
 
| HealthcareProvider
 
|}
 
|}
 +
<references/>
  
 
===XIS: response message===
 
===XIS: response message===
Important sections of the FHIR specification for a server in this use case are the [http://hl7.org/fhir/STU3/http.html#2.21.0 RESTful API section] the [http://hl7.org/fhir/STU3/search.html search section] and [http://hl7.org/fhir/STU3/operations.html operation section] (for the nlast operation).
+
The returned data to the PHR should conform to the profiles listed in [[#List_of_profiles]].
 
 
====Response to resource requests====
 
If the search succeeds, the server SHALL return a 200 OK HTTP status code and the returned content SHALL be a Bundle with type = searchset containing the results of the search as a collection of zero or more resources in a defined order. The returned resources SHALL conform to the StructureDefinition applicable for the specific HCIM request. The list of StructureDefinitions relevant for this use case is shown in the following paragraph: [[#List_of_StructureDefinitions | List of StructureDefinitions]]. All resources SHALL include their related StructureDefinition canonical URL in the meta.profile element in order to show compliance.
 
 
 
The result collection can be long, so servers may use paging. If they do, they SHALL use the method described below (adapted from RFC 5005 (Feed Paging and Archiving ) for breaking the collection into pages if appropriate. The server MAY also return an [http://hl7.org/fhir/stu3/operationoutcome.html OperationOutcome resource] within the searchset Bundle entries that contains additional information about the search; if one is sent it SHALL NOT include any issues with a fatal or error severity, and it SHALL be marked with a Bundle.entry.search.mode of outcome.
 
 
 
In order to allow the client to be confident about what search parameters were used as criteria by the server, the server SHALL return the parameters that were actually used to process the search. Applications processing search results SHALL check these returned values where necessary. For example, if the server did not support some of the filters specified in the search, a client might manually apply those filters to the retrieved result set, display a warning message to the user or take some other action. Link to the relevant FHIR specification: http://hl7.org/fhir/STU3/http.html#search
 
 
 
====Handling errors====
 
If the search fails '''(cannot be executed, not that there are no matches)''', the return value is a status code 4xx or 5xx with an OperationOutcome. An HTTP status code of 403 signifies that the server refused to perform the search, while other 4xx and 5xx codes signify that some sort of error has occurred. The HTTP status code 404 is returned if a XIS did not implement an endpoint used in a request by a PHR. When the search fails, a server SHOULD return an OperationOutcome detailing the cause of the failure. For example, in case of a not implemented FHIR endpoint, the OperationOutcome would state that the resource type is not supported. Note: an empty search result is not a failure.
 
 
 
Common HTTP Status codes returned on FHIR-related errors (in addition to normal HTTP errors related to security, header and content type negotiation issues):
 
 
 
* 400 Bad Request - search could not be processed or failed basic FHIR validation rules
 
* 401 Not Authorized - authorization is required for the interaction that was attempted
 
* 404 Not Found - resource type not supported, or not a FHIR end-point
 
 
 
In some cases, parameters may cause an error. For instance:
 
 
 
* A parameter may refer to an unknown code e.g. <code>GET [base]/Observation?code=1234-1</code>, where the code "1234-1" is not known to the server
 
* A parameter may refer to a time that is out of scope e.g. <code>GET [base]/Condition?onset=le1995</code>, where the system only has data going back to 2001
 
* A parameter may use an illegal or unacceptable modifier e.g. <code>GET [base]/Condition?onset:text=1995</code>, where the modifier cannot be processed by the server
 
* A date/time parameter may have incorrect format e.g. <code>GET [base]/Condition?onset=23%20May%202009</code>
 
* A parameter may be unknown or unsupported
 
 
 
Where the content of the parameter is syntactically incorrect, servers SHOULD return an error. However, where the issue is a logical condition (e.g. unknown subject or code), the server SHOULD process the search, including processing the parameter - with the result of returning an empty search set, since the parameter cannot be satisfied. In such cases, the search process MAY include an OperationOutcome in the search set that contains additional hints and warnings about the search process. This is included in the search results as an entry with search mode = outcome. Clients can use this information to improve future searches.
 
 
 
Link to relevant FHIR specification: http://hl7.org/fhir/STU3/search.html#errors
 
 
 
==Interactions, operations, search parameters==
 
 
 
===Interactions===
 
 
 
The following logical interactions are needed for the BgLZ use case:
 
* [http://hl7.org/fhir/STU3/http.html#search Search]
 
  
===Operations===
+
===The <code>lastn</code> operation===
 
The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.
 
The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.
 
* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]
 
* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]
  
The lastn query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.
+
The <code>lastn</code> query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.
 
 
The FHIR STU3 specification is vague regarding the sorting mechanism of lastn. In FHIR R4 however, this has been clarified and can be read as follows: when using lastn, the effective[x] element is used for sorting of Observations, sorted from most recent to the oldest.
 
  
===Search parameters===
+
The FHIR STU3 specification is vague regarding the sorting mechanism of <code>lastn</code>. In FHIR R4 however, this has been clarified and can be read as follows: when using <code>lastn</code>, the <code>effective[x]</code> element is used for sorting of Observations, sorted from most recent to the oldest.
The following search parameter types and search result parameters need to be supported for this use case.
 
 
 
Search parameter types:
 
* [http://hl7.org/fhir/STU3/search.html#token token]
 
* [http://hl7.org/fhir/STU3/search.html#reference reference]
 
 
 
Search result parameters:
 
* [http://hl7.org/fhir/STU3/search.html#include _include]
 
** Including modifier 'recurse'
 
  
 +
===Custom search parameters===
 
The following custom search parameters are defined for this use case:
 
The following custom search parameters are defined for this use case:
  
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-activity-goal}}
+
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-activity-goal|nictiz.fhir.nl.stu3.zib2017}}
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-activity-outcomereference}}
+
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-activity-outcomereference|nictiz.fhir.nl.stu3.zib2017}}
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-medicaldevice}}
+
* {{Simplifier|http://nictiz.nl/fhir/SearchParameter/careplan-medicaldevice|nictiz.fhir.nl.stu3.zib2017}}
  
==List of StructureDefinitions==
+
==List of profiles==
 
The profiles represent their entire respective HCIM, to make them applicable in a broader context than the exchange of BgLZ or a MedMij context.  
 
The profiles represent their entire respective HCIM, to make them applicable in a broader context than the exchange of BgLZ or a MedMij context.  
  
{{NoteBoxPackage|https://simplifier.net/NictizSTU3-Zib2017/~packages|1.3.x|MedMij:Vprepub/FHIR_IG}}
+
{{MedMij:V2020.01/NoteBoxPackage|p1=nictiz.fhir.nl.stu3.zib2017|v1Min=2.0.0}}
  
 
{| class="wikitable" "cellpadding="10"  
 
{| class="wikitable" "cellpadding="10"  
Regel 249: Regel 208:
 
| style="background-color: white;"| [https://zibs.nl/wiki/Patient-v3.1(2017EN) Patient]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Patient-v3.1(2017EN) Patient]
 
| style="background-color: white;"| Patient
 
| style="background-color: white;"| Patient
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient}}
+
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/BehandelAanwijzing-v3.1(2017NL) BehandelAanwijzing]
 
| style="background-color: white;"| [https://zibs.nl/wiki/BehandelAanwijzing-v3.1(2017NL) BehandelAanwijzing]
 
| style="background-color: white;"| [https://zibs.nl/wiki/TreatmentDirective-v3.1(2017EN) TreatmentDirective]
 
| style="background-color: white;"| [https://zibs.nl/wiki/TreatmentDirective-v3.1(2017EN) TreatmentDirective]
 
| style="background-color: white;"| Consent
 
| style="background-color: white;"| Consent
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective}}  
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective|nictiz.fhir.nl.stu3.zib2017}}  
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/Wilsverklaring-v3.1(2017NL) Wilsverklaring]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Wilsverklaring-v3.1(2017NL) Wilsverklaring]
 
| style="background-color: white;"| [https://zibs.nl/wiki/AdvanceDirective-v3.1(2017EN) AdvanceDirective]
 
| style="background-color: white;"| [https://zibs.nl/wiki/AdvanceDirective-v3.1(2017EN) AdvanceDirective]
 
| style="background-color: white;"| Consent
 
| style="background-color: white;"| Consent
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective}}
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/Probleem-v4.1(2017NL) Probleem]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Probleem-v4.1(2017NL) Probleem]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Problem-v4.1(2017EN) Problem]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Problem-v4.1(2017EN) Problem]
 
| style="background-color: white;"| Condition
 
| style="background-color: white;"| Condition
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Problem}}  
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Problem|nictiz.fhir.nl.stu3.zib2017}}  
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/AllergieIntolerantie-v3.2(2017NL) AllergieIntolerantie]
 
| style="background-color: white;"| [https://zibs.nl/wiki/AllergieIntolerantie-v3.2(2017NL) AllergieIntolerantie]
 
| style="background-color: white;"| [https://zibs.nl/wiki/AllergyIntolerance-v3.2(2017EN) AllergyIntolerance]
 
| style="background-color: white;"| [https://zibs.nl/wiki/AllergyIntolerance-v3.2(2017EN) AllergyIntolerance]
 
| style="background-color: white;"| AllergyIntolerance
 
| style="background-color: white;"| AllergyIntolerance
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance}}
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/LaboratoriumUitslag-v4.1(2017NL) LaboratoriumUitslag]
 
| style="background-color: white;"| [https://zibs.nl/wiki/LaboratoriumUitslag-v4.1(2017NL) LaboratoriumUitslag]
 
| style="background-color: white;"| [https://zibs.nl/wiki/LaboratoryTestResult-v4.1(2017EN) LaboratoryTestResult]
 
| style="background-color: white;"| [https://zibs.nl/wiki/LaboratoryTestResult-v4.1(2017EN) LaboratoryTestResult]
 
| style="background-color: white;"| Observation
 
| style="background-color: white;"| Observation
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation}}
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/Verrichting-v4.1(2017NL) Verrichting]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Verrichting-v4.1(2017NL) Verrichting]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Procedure-v4.1(2017EN) Procedure]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Procedure-v4.1(2017EN) Procedure]
 
| style="background-color: white;"| Procedure
 
| style="background-color: white;"| Procedure
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Procedure}}
+
| style="background-color: white;"| {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Procedure|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/VerpleegkundigeInterventie-v3.2(2018NL) VerpleegkundigeInterventie *]
 
| style="background-color: white;"| [https://zibs.nl/wiki/VerpleegkundigeInterventie-v3.2(2018NL) VerpleegkundigeInterventie *]
 
| style="background-color: white;"| [https://zibs.nl/wiki/NursingIntervention-v3.2(2018EN) NursingIntervention *]
 
| style="background-color: white;"| [https://zibs.nl/wiki/NursingIntervention-v3.2(2018EN) NursingIntervention *]
 
| rowspan="4" style="background-color: white;"| CarePlan
 
| rowspan="4" style="background-color: white;"| CarePlan
| rowspan="4" style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-careplan}}
+
| rowspan="4" style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-careplan|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/Behandeldoel-v3.1(2017NL) Behandeldoel]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Behandeldoel-v3.1(2017NL) Behandeldoel]
Regel 298: Regel 257:
 
| rowspan="2" style="background-color: white;" | [https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN) HealthProfessional]
 
| rowspan="2" style="background-color: white;" | [https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN) HealthProfessional]
 
| style="background-color: white;"| Practitioner
 
| style="background-color: white;"| Practitioner
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner}}
+
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| PractitionerRole
 
| style="background-color: white;"| PractitionerRole
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole}}
+
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| [https://zibs.nl/wiki/Zorgaanbieder-v3.1.1(2017NL) Zorgaanbieder]
 
| style="background-color: white;"| [https://zibs.nl/wiki/Zorgaanbieder-v3.1.1(2017NL) Zorgaanbieder]
 
| style="background-color: white;"| [https://zibs.nl/wiki/HealthcareProvider-v3.1.1(2017EN) HealthcareProvider]
 
| style="background-color: white;"| [https://zibs.nl/wiki/HealthcareProvider-v3.1.1(2017EN) HealthcareProvider]
 
| style="background-color: white;"| Organization
 
| style="background-color: white;"| Organization
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization}}
+
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|nictiz.fhir.nl.stu3.zib2017}}
 
|-
 
|-
 
| style="background-color: white;"| -
 
| style="background-color: white;"| -
 
| style="background-color: white;"| -
 
| style="background-color: white;"| -
 
| style="background-color: white;"| CareTeam
 
| style="background-color: white;"| CareTeam
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-careteam}}
+
| style="background-color: white;"| {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-careteam|nictiz.fhir.nl.stu3.zib2017}}
 
|}
 
|}
  
 
<blockquote>* The 2018 release of the HCIM NursingIntervention is used because the 2017 release is not suitable. The functional design page provides more information. In addition, the CarePlan resource is used to transfer the HCIM NursingIntervention. The BgLZ does not use the Procedure resource for HCIM NursingIntervention.</blockquote>
 
<blockquote>* The 2018 release of the HCIM NursingIntervention is used because the 2017 release is not suitable. The functional design page provides more information. In addition, the CarePlan resource is used to transfer the HCIM NursingIntervention. The BgLZ does not use the Procedure resource for HCIM NursingIntervention.</blockquote>
{{Sjabloon:Voorbeelden}}
 
 
==Terminology, NamingSystems, Mappings==
 
 
===Terminology===
 
Relevant value sets can be found [https://simplifier.net/NictizSTU3-Zib2017/~resources?category=ValueSet using the ValueSet category].
 
 
===NamingSystems===
 
Relevant NamingSystems can be found [https://simplifier.net/NictizSTU3-Zib2017/~resources?category=NamingSystem using the NamingSystem category].
 
 
===Mappings===
 
A FHIR ConceptMap resource is provided when a FHIR value set is used instead of a HCIM value set. A ConceptMap maps the values between the two value sets. These ConceptMaps can be found [https://simplifier.net/NictizSTU3-Zib2017/~resources?category=ConceptMap here].
 
 
An explanation about mappings can be found at [[MedMij:Vprepub/FHIR_IG#Mapping_of_coded_concepts|Mapping of coded concepts]].
 
  
 
=Release notes=
 
=Release notes=
Release notes can be found on the [[MedMij:Vprepub/OntwerpLangdurigeZorg#Release_notes|functional design page]].
+
Release notes can be found on the [[MedMij:V2020.01/OntwerpLangdurigeZorg#Release_notes|functional design page]].

Huidige versie van 22 nov 2022 om 13:35



Naar medmij.nl
Patient Summary (BgZ)
AfsprakenstelselFunctioneelTechnischAfspraken-Functioneel-Technisch

1 Introduction

Go to functional design

This page provides the technical specification of the exchange of long-term healthcare information (Dutch: Basisgegevens Langdurige Zorg or BgLZ) based on a selection of Dutch Health Care Information Models. The specification is based on this functional design.

Note: This implementation guide builds on the general guidelines described in the use case overarching principles.

2 Actors involved

Actors Systems FHIR Capability Statements
Name Description Name Description Name Description
Patient The user of a personal healthcare environment. PHR Personal health record Verwijzing.png CapabilityStatement: Client FHIR Client requirements
Healthcare professional The user of a XIS XIS Healthcare information system Verwijzing.png CapabilityStatement: Server FHIR Server requirements

3 Boundaries and Relationships

The BgLZ has similarities with the Basisgegevensset Zorg (BgZ) and Basisgegevens GGZ (GGZ) but is definitely different. These information standards use much of the same HCIM based FHIR profiles for exchanging information. Wherever possible every attempt is made to re-use profiles. The BgLZ use case also has unique profiles compared to the aforementioned use cases, such as OutcomeOfCare. In addition, it uses a CareTeam profile without an underlying HCIM. A second thing to note is that also the selection of requested information per HCIM may differentiate. For example, only a subset of LaboratoryResults or AllergyIntolerance is expected to be returned by a XIS. This page, which belongs to the BgLZ functional design, and related transactions provide details on the information that is expected to be exchanged.

Medication information is part of a good overview of patients in long-term healthcare. Retrieving medication information by a PHR is however out of scope for this information standard. A separate information standard, MedicationProcess, is intended to serve this purpose.

4 Use case: Retrieve BgLZ information

This FHIR implementation guide assumes that the PHR system is able to make a connection to the right XIS that contains the patient's information. It does not provide information on finding the right XIS nor does it provide information about security. Moreover, each transaction is performed in the context of a specific authenticated patient, for whose context (token) has been established using the authentication mechanisms described in the 'Afsprakenstelsel'. Each XIS Gateway is required to perform filtering based on the patient associated with the context for the request, so only the records associated with the authenticated patient are returned. For this reason, search parameters should not be included for patient identification.

Go to Afsprakenstelsel

4.1 Introduction

The retrieve BgLZ transaction is used by the PHR to retrieve long-term healthcare information from a XIS.

4.2 Actors

Transaction group Transaction Actor Role
Retrieve BgLZ (PULL) Retrieve BgLZ request Patient (using a PHR) Request long-term healthcare information from a XIS
Retrieve BgLZ response Healthcare professional (using a XIS) Serves long-term healthcare information to a PHR

4.3 Invocations

4.3.1 PHR: request message

The PHR system requests the BgLZ using individual search interactions. The BgLZ consists of multiple FHIR resources with certain constraints. To obtain the patient's BgLZ, the client can use multiple individual search operations based on specified search queries. The interactions are performed by an HTTP GET as shown:

GET [base]/[type]{?[parameters]}

The table below shows in the first four columns the BgLZ sections, the HCIMs that constitute those sections and the specific content of the BgLZ. The last column shows the FHIR search queries to obtain the BgLZ information. These queries and expected responses are based on profiles listed in this section.

# BgLZ Section HCIM EN Content Search URL[1]
1 Patient information Patient Identification, birthdate, gender, deceasedindicator, contact details, marital status, and general practitioner (practitioner or organization)
GET [base]/Patient?_include=Patient:general-practitioner
2 Treatment Directives TreatmentDirective Known treatment directives
GET [base]/Consent?category=http://snomed.info/sct|11291000146105
AdvanceDirective Known advance directives
GET [base]/Consent?category=http://snomed.info/sct|11341000146107
3 Contactperson ContactPerson First relation/contact
see Patient in Patient.contact
4 Problems Problem All known problems including diagnoses; no verification status
GET [base]/Condition
5 Allergies AllergyIntolerance A selection of information from all known allergies and intolerances. The ART-DECOR transaction specification describes the selection.
GET [base]/AllergyIntolerance
6 Results LaboratoryTestResult A selection of information from the last known clinical laboratory results per type. The ART-DECOR transaction specification describes the selection.
GET [base]/Observation/$lastn?category=http://snomed.info/sct|275711006&_include=Observation:related-target&_include=Observation:specimen
7 Procedures Procedure All procedures
GET [base]/Procedure
8 Goals and interventions

* see the NoteBox above

NursingIntervention NursingInterventions beloning to active problems
GET [base]/CarePlan?_include=CarePlan:activity-goal:Goal
&_include=CarePlan:activity-outcomereference:Observation
&_include=CarePlan:activity-medicaldevice:DeviceUseStatement
&_include:recurse=DeviceUseStatement:device:Device
TreatmentObjective All treatment objectives beloning to NursingInterventions
MedicalDevice All MedicalDevices belonging to NursingInterventions; only product type and anatomical location
OutcomeOfCare Known treatment outcomes
9 Caresetting / CareTeam HealthProfessional
  • General practitioner of the patient (see Patient.generalPractitioner)
  • Primary practitioner - information of the primary care giver, no ID, adress/contact information
  • Other practitioners - information of all practitioners given care to the patient, no ID, adress/contact information
  • Healthcare provider - organization where care is given
GET [base]/CareTeam?_include=CareTeam:participant
HealthcareProvider
  1. See Search URLs and search parameters for the interpretation of these search URLs

4.3.2 XIS: response message

The returned data to the PHR should conform to the profiles listed in #List_of_profiles.

4.3.3 The lastn operation

The following operation is needed for this use case.

The lastn query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.

The FHIR STU3 specification is vague regarding the sorting mechanism of lastn. In FHIR R4 however, this has been clarified and can be read as follows: when using lastn, the effective[x] element is used for sorting of Observations, sorted from most recent to the oldest.

4.3.4 Custom search parameters

The following custom search parameters are defined for this use case:

4.4 List of profiles

The profiles represent their entire respective HCIM, to make them applicable in a broader context than the exchange of BgLZ or a MedMij context.

Zib NL HCIM EN FHIR Resource FHIR Profile
Patiënt Patient Patient http://fhir.nl/fhir/StructureDefinition/nl-core-patient
BehandelAanwijzing TreatmentDirective Consent http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
Wilsverklaring AdvanceDirective Consent http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective
Probleem Problem Condition http://nictiz.nl/fhir/StructureDefinition/zib-Problem
AllergieIntolerantie AllergyIntolerance AllergyIntolerance http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance
LaboratoriumUitslag LaboratoryTestResult Observation http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation
Verrichting Procedure Procedure http://nictiz.nl/fhir/StructureDefinition/zib-Procedure
VerpleegkundigeInterventie * NursingIntervention * CarePlan http://fhir.nl/fhir/StructureDefinition/nl-core-careplan
Behandeldoel TreatmentObjective
MedischHulpmiddel MedicalDevice
UitkomstVanZorg OutcomeOfCare
Zorgverlener HealthProfessional Practitioner http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner
PractitionerRole http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole
Zorgaanbieder HealthcareProvider Organization http://fhir.nl/fhir/StructureDefinition/nl-core-organization
- - CareTeam http://fhir.nl/fhir/StructureDefinition/nl-core-careteam

* The 2018 release of the HCIM NursingIntervention is used because the 2017 release is not suitable. The functional design page provides more information. In addition, the CarePlan resource is used to transfer the HCIM NursingIntervention. The BgLZ does not use the Procedure resource for HCIM NursingIntervention.

5 Release notes

Release notes can be found on the functional design page.