Gebz:V1.0 FHIR IG: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
 
(166 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 1: Regel 1:
{{IssueBox|Dit materiaal is in ontwikkeling en nog niet geschikt voor gebruik!}}
+
{{DISPLAYTITLE:FHIR Implementation Guide BirthCare v1.0 | FHIR Implementation Guide BirthCare}}
{{#customtitle:FHIR Implementation Guide Geboortezorg v2.3 | FHIR Implementation Guide Geboortezorg v2.3}}
 
 
<imagemap>Bestand:Afsprakenstelsel-functioneel-technisch-banner_00_alle.png|center|500px|alt=Afspraken-Functioneel-Technisch   
 
<imagemap>Bestand:Afsprakenstelsel-functioneel-technisch-banner_00_alle.png|center|500px|alt=Afspraken-Functioneel-Technisch   
 
circle 241 216 211 [[Gebz:V2.3_Babyconnect | Afsprakenstelsel]]
 
circle 241 216 211 [[Gebz:V2.3_Babyconnect | Afsprakenstelsel]]
 
circle 1013 224 212 [[Gebz:V2.3_Ontwerpen | Functioneel]]                 
 
circle 1013 224 212 [[Gebz:V2.3_Ontwerpen | Functioneel]]                 
circle 1787 230 212 [[Gebz:V2.3_FHIR_IG | Technisch]]                 
+
circle 1787 230 212 [[Gebz:V1.0_FHIR_IG | Technisch]]                 
 
desc none                     
 
desc none                     
 
</imagemap>
 
</imagemap>
 +
{{IssueBox|Er is een [[Gebz:V1.1_FHIR_IG | latere versie ]] van deze gids beschikbaar!}}
 
=Introduction=
 
=Introduction=
  
This page details the HL7 FHIR requirements for exchanging the Geboortezorg v2.3 data described in [[Gebz:V2.3_Ontwerpen | Functioneel]].  
+
This page details the HL7 FHIR requirements for exchanging the BirthCare (Geboortezorg) data.
  
=Use case: Register Prio1 data=
+
The functional view for BirthCare (Geboortezorg) 2.3 is described in [[Gebz:V2.3_Ontwerpen | Functioneel]]. Functional specifications for other datasets will follow.
  
==Introduction==
+
The FHIR Implementation Guide for BirthCare is '''independent of the functional specifications'''. We expect the FHIR BirthCare IG to be compliant with datasets 2.3, 3.1 and 3.2. We do expect backwards compatible additions to the FHIR BirthCare IG for the latter datasets. The FHIR BirthCare IG does contain '''version-specific mappings''' to the various datasets, for now only 2.3 mappings.
The Register Prio1 transaction is used by the sending XIS to send the relevant data to the registry.  
 
  
==Actors==
+
Technical details of the FHIR resources and structure definitions described in this Implementation Guide (IG) can be found in the [https://simplifier.net/geboortezorg-stu3 Simplifier Geboortezorg STU3 project]. This IG provides links to the required resources and structure definitions for each use case.
 +
 
 +
A high level overview:
 +
 
 +
[[Bestand:Fhir-model-overview.png]]
 +
 
 +
=FHIR Resources and StructureDefinitions=
 +
==Types of resources and relations between them==
 +
For Observations, which are often very similar, we follow patterns: an implementer will only need to implement the pattern and an associated table with codes, and be able to support all Observations. So for Observations pertaining to a particular pregnancy (not to the woman - she may have multiple pregnancies on record, neither to the delivery) all Observations will link to the Pregnancy Condition. So instead of having to inspect StructureDefinitions separately for each pregnancy observations, following a single pattern will do. The pattern has it's own StructureDefinition, so the FHIR profile is still complete. Likewise Observations for the mother, delivery and child follow patterns. See links below.
 +
{| class="wikitable"
 +
|-
 +
| '''Name'''
 +
| '''FHIR resource'''
 +
| '''Description'''
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-woman|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Woman (Vrouw)}}
 +
|Patient
 +
|The core of each pregnancy is the pregnant woman, a FHIR Patient.
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-maternalobservation|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Maternal Observation (Bevinding vrouw)}}
 +
|Observation
 +
|Observations and findings related to the woman, before, during or after pregnancy childbirth. Examples are risk status or maternal ultrasound observations.
 +
|-
 +
|{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=Partner}}
 +
|RelatedPerson
 +
|The partner of the pregnant woman (not necessarily the biological father).
 +
|-
 +
|Generic resources
 +
|{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=Practitioner}}, {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=PractitionerRole}}, {{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-organization|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=Organization}}
 +
|Those are not used differently than in other Dutch projects.
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-referralrequest|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Referral details}}
 +
|ReferralRequest
 +
|Referral details (such as type of referral, reason code, referrer and target of the referral) are described in ReferralRequest. The pregnant woman is the subject, the context is the pregnancy file (EpisodeOfCare).
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-careteam|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Involvement pediatrician}}
 +
|CareTeam
 +
|A CareTeam describes the involvement of different care providers, such as a pediatrician.
 +
* These care providers are included as participants in the CareTeam using the CareTeam.participant.member element. Participants may either be Practitioners or Organizations.
 +
* Their role and period of involvement are described at the participant level (that is CareTeam.participant.role and CareTeam.participant.period).
 +
* The reason of involvement is described in CareTeam.reasonCode
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-pregnancy|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=Pregnancy}}, {{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-maternalrecord|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Maternity Record}}
 +
|Condition, EpisodeOfCare
 +
|Each pregnancy is a Condition. It is also represented as an EpisodeOfCare for each involved Organization. The pregnancy includes references to an Organization and responsible Practitioner. (Practitioners responsible for the actual data may be included there, i.e. in Procedures, Observations.)
 +
* Condition points to the EpisodeOfCare through a EpisodeOfCare.context.reference element. (Note: different providers may each have their own Condition resource.)
 +
* EpisodeOfCare points to the Condition through a EpisodeOfCare.diagnosis.condition element.
 +
* Condition points to the Patient with Condition.subject.reference
 +
* Condition.status must be 'active' for ongoing pregnancies and 'inactive' for past ones.
 +
|-
 +
|{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-observation|nictiz.fhir.nl.stu3.zib2017|pkgVersion=2.0.0|title=Patient-related Observations}}
 +
|Observation
 +
|Observations such as blood type pertain to the Patient.
 +
* Observations can refer to an EpisodeOfCare with Observation.context.reference
 +
|-
 +
|[[Gebz:V1.0_FHIR_IG_bc-PregnancyObservation|Pregnancy-related Observations]]
 +
|Observation
 +
|Observations such as gravidity and parity do not (only) pertain to the Patient but to a particular pregnancy.
 +
* Pregnancy-related Observations use focus extension to point to Condition they're about. Without this, all gravidities would only be Observations about a Patient.
 +
* Pregnancy-related Observations refer to the EpisodeOfCare with Observation.context.reference
 +
|-
 +
|[[Gebz:V1.0_FHIR_IG_bc-DisorderOfPregnancy|Pregnancy-related disorder]]
 +
|Condition
 +
|Conditions such as cholestasis and hypertension do not (only) pertain to the Patient but to a particular pregnancy.
 +
* Pregnancy-related Observations use partOf extension to point to Condition they're about.
 +
* In some cases the partOf Condition may not be available. The BGZ for instance does not relate Conditions to particular pregnancies.
 +
* Pregnancy-related Conditions refer to the EpisodeOfCare with Observation.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-childbirthassistance|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Childbirth Assistance}}
 +
|Encounter
 +
|Childbirth Assistance is modeled as an Encounter. The woman Patient is subject of the Encounter.
 +
* The place of birth is described in Encounter.class using a ConceptMap to map values to available FHIR codes
 +
* The Encounter.diagnosis element refers to the Pregnancy (Condition)
 +
* The Encounter.participant element containts a list of care providers that were present during delivery. Family members and even the woman Patient could also be included in this list.
 +
* Additional details can be defined at participant level, such as participant type and time of arrival. The latter uses an extension at participant level with a coded list of time of arrival.
 +
* Childbirth Assistance refers to the EpisodeOfCare with Encounter.EpisodeOfCare.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-deliveryprocedure|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Delivery (Bevalling)}}
 +
|Procedure
 +
|Delivery is modeled with Procedure (even for uncomplicated natural births for consistency). A pregnancy can lead to one DeliveryProcedure even in multiple birth. The Patient is the subject.
 +
* Delivery refers to the EpisodeOfCare with Procedure.context.reference
 +
* Delivery refers to the Pregnancy with Procedure.reasonReference.reference
 +
|-
 +
|[[Gebz:V1.0_FHIR_IG_bc-DeliveryObservation|Delivery-related Observations]]
 +
|Observation
 +
|Observations such as onset of labor or blood loss pertain to a delivery Procedure.
 +
* Delivery-related Observations use focus extension to point to the delivery Procedure they're about.
 +
* Delivery-related Observations refer to the EpisodeOfCare with Observation.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-disorderoflaboranddelivery|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Disorder of labor and delivery}}
 +
|Condition
 +
|Disorders occuring during or after delivery are related to either the Delivery (if pertaining to the mother) or to the Birth (if pertaining to (one of) the children).
 +
* A partOf extension is used to point to the Delivery of the Birth.
 +
* context is the Maternal Record or an Encounter.
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-obstetricprocedure|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Obstetric Procedure}}
 +
|Procedure
 +
|
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-disorderpostpartum|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Post partum disorder}}
 +
|Condition
 +
|
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-birth|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Birth}}
 +
|Procedure
 +
|This groups findings and procedures related to a particular child in a delivery - important in multiple births. A Birth has:
 +
* a partOf extension, pointing to the Delivery
 +
* subject is the Child
 +
* context is the Maternal Record EpisodeOfCare
 +
|-
 +
|[[Gebz:V1.0_FHIR_IG_bc-BirthObservation|Birth-related Observations]]
 +
|Observation
 +
|Observations such as parturition type pertain to a birth. They are also about the mother, which still is the subject.
 +
* Birth-related Observations use focus extension to point to a birth.
 +
* Birth-related Observations refer to the EpisodeOfCare with Observation.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-child|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Child}}
 +
|Patient
 +
|Child is a separate Patient.
 +
* Procedure-related Observations use focus extension to point to the child Patient they're about.
 +
|-
 +
|[[Gebz:V1.0_FHIR_IG_bc-ChildObservation|Child-related Observations]]
 +
|Observation
 +
|Observations such as Apgar score and birthweight pertain to the child Patient, which is the subject of these Observations.
 +
* Child observations refer to the EpisodeOfCare with Observation.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-disorderofchild|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Child disorders}}
 +
|Condition
 +
|Child disorders such as chromosomal and congenital abnormalities or other problems are conditions. The child is the subject.
 +
* Child disorders can refer to the EpisodeOfCare with Condition.context.reference
 +
* A ConceptMap is available to map verification status to accepted FHIR codes
 +
|-
 +
|colspan="3"|'''Diagnostic Reports (Onderzoeksverslagen)'''
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-combinedtest|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Combined test}}
 +
|DiagnosticReport
 +
|Combined test (combinatietest) verslag. The woman Patient is the subject of the report.
 +
* This report refers to the EpisodeOfCare with DiagnosticReport.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-digitalvaginalexamination|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Digital vaginal examination}}
 +
|DiagnosticReport
 +
|The digital vaginal examination DiagnosticReport groups Observations related to the digital vaginal examination. The woman Patient is the subject of the report.
 +
* This report refers to the EpisodeOfCare with DiagnosticReport.context.reference
 +
|-
 +
|{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/bc-pregnancyultrasound|nictiz.fhir.nl.stu3.geboortezorg|pkgVersion=1.0.0|title=Ultrasound (Echoverslag)}}
 +
|DiagnosticReport
 +
|The ultrasound groups Observations. The woman Patient is the subject of the report.
 +
* This report refers to the EpisodeOfCare with DiagnosticReport.context.reference
 +
|-
 +
|}
 +
 
 +
The use of ''focus'' extensions is a pre-adopt of FHIR R4, where it is part of Observation: "What the observation is about, when it is not about the subject of record." Focus is required for all Observations which do not pertain to the Patient. In R4, use of focus permits "reverse include" queries (give me all Observations with focus element X). In STU3, this could be a custom search.
 +
 
 +
The use of ''context'' is encouraged for all resources which have a context element. It is a reference to an EpisodeOfCare or an Encounter. Context should point to an Encounter when appropriate (scheduled maternity checks etc.) and to the EpisodeOfCare in all other cases. Possibly it will be absent in Observations where the source is not birth care, so readers should not rely on it's presence.
 +
 
 +
Observations should include a performer if known.
 +
 
 +
Pattern tables can be found on individual pattern pages and on [[Gebz:V2.3_FHIR_mapping_addendum]].
 +
 
 +
The mapping is also available as an XML file: [https://github.com/Nictiz/Geboortezorg-STU3/blob/master/fhirmapping.xml fhirmapping.xml]
 +
 
 +
=Terminology, NamingSystems, Mappings=
 +
==Terminology==
 +
Relevant value sets can be found [https://simplifier.net/Geboortezorg-STU3/~resources?category=ValueSet here]. All resources can be downloaded in a .zip in XML or JSON format. In the .zip, the value sets are stored in the directory 'value sets'.
 +
 
 +
=BabyConnect Afsprakenstelsel=
 +
The [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/97813647/VIPP+Babyconnect+Afsprakenstelsel BabyConnect Afsprakenstelsel] describes the BabyConnect architecture, which defines the following modules and transactions.
 +
 
 +
==Modules==
 +
{| class="wikitable" "cellpadding="10"
 +
! style="text-align:left;"| '''Module'''
 +
! style="text-align:left;"| '''Name'''
 +
! style="text-align:left;"| '''Role'''
 +
|-
 +
|style="background-color: white;vertical-align:top;"|A
 +
|style="background-color: white;vertical-align:top;"|Healthcare information system (XIS)
 +
|style="background-color: white;vertical-align:top;"|Send transaction to module B
 +
|-
 +
|style="background-color: white;vertical-align:top;"|B1
 +
|style="background-color: white;vertical-align:top;"|Convertor
 +
|style="background-color: white;vertical-align:top;"|Translates ADA transaction to FHIR transaction Bundle which is sent to module B2
 +
|-
 +
|style="background-color: white;vertical-align:top;"|B2
 +
|style="background-color: white;vertical-align:top;"|FHIR server
 +
|style="background-color: white;vertical-align:top;"|Receives and stores FHIR data
 +
|-
 +
|style="background-color: white;vertical-align:top;"|C
 +
|style="background-color: white;vertical-align:top;"|Index
 +
|style="background-color: white;vertical-align:top;"|Indexes and retrieves FHIR data from module B2
 +
|-
 +
|style="background-color: white;vertical-align:top;"|D1
 +
|style="background-color: white;vertical-align:top;"|Query builder
 +
|style="background-color: white;vertical-align:top;"|Translates user query to a FHIR query which is sent to module C
 +
|-
 +
|style="background-color: white;vertical-align:top;"|D2
 +
|style="background-color: white;vertical-align:top;"|Translator
 +
|style="background-color: white;vertical-align:top;"|Translates FHIR data retrieved from module C back to ADA format
 +
|-
 +
|style="background-color: white;vertical-align:top;"|E
 +
|style="background-color: white;vertical-align:top;"|Viewer
 +
|style="background-color: white;vertical-align:top;"|Collects the data and presents it to the end user
 +
|}
 +
 
 +
Module B and D are added to make it easier for XIS and viewer vendors to connect to BabyConnect. XIS and viewer vendors are however encouraged to implement their own FHIR API as module B and D will phase out eventually.
 +
 
 +
==Transactions==
 +
BabyConnect defines the following transactions:
 +
* [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/102465714/Proces+Publiceren Publish]
 +
* [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/102564283/Proces+Raadplegen Retrieve]
 +
* [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/102596965/Proces+Geven+toestemming Authorize]
 +
* [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/102596948/Proces+Delen Share]
 +
* [https://babyconnect.atlassian.net/wiki/spaces/VBC/pages/103088166/Proces+Verzamelen Collect]
 +
 
 +
=Actors=
 
{| class="wikitable" "cellpadding="10"
 
{| class="wikitable" "cellpadding="10"
 
! style="text-align:left;"| '''Transaction group'''
 
! style="text-align:left;"| '''Transaction group'''
Regel 23: Regel 235:
 
! style="text-align:left;"| '''Role'''
 
! style="text-align:left;"| '''Role'''
 
|-
 
|-
|style="background-color: white;vertical-align:top;"|Register Prio1(PUSH)
+
|style="background-color: white;vertical-align:top;"|Publish transaction (PUSH)
|style="background-color: white;vertical-align:top;"|Register Prio1
+
|style="background-color: white;vertical-align:top;"|Publish transaction
 
|style="background-color: white;vertical-align:top;"|Healthcare professional (using a XIS)
 
|style="background-color: white;vertical-align:top;"|Healthcare professional (using a XIS)
|style="background-color: white;vertical-align:top;"|Sends Prio1 data to registry
+
|style="background-color: white;vertical-align:top;"|Sends transaction to registry
 
|-
 
|-
|style="background-color: white;vertical-align:top;"|Retrieve Prio1(PULL)
+
|style="background-color: white;vertical-align:top;"|Retrieve transaction (PULL)
|style="background-color: white;vertical-align:top;"|Querying XIS
+
|style="background-color: white;vertical-align:top;"|Retrieve transaction
|style="background-color: white;vertical-align:top;"|Healthcare professional (using a XIS)
+
|style="background-color: white;vertical-align:top;"|Healthcare professional (using a XIS and/or viewer software)
|style="background-color: white;vertical-align:top;"|Retrieves Prio1 data from registry
+
|style="background-color: white;vertical-align:top;"|Retrieves transaction from registry
 
|}
 
|}
  
==Invocations==
+
Module A and E can either directly interact with the FHIR server (which they are encouraged to do) or use the convertor and translator software of module B and D.
  
===Sending XIS: request message===
+
=Invocations=
  
====Trigger Events====
+
==Publishing XIS: request message==
  
====Message Semantics====
+
===Message Semantics===
Because the data needed will most likely consist of multiple FHIR resources, a document Bundle is used.  
+
The publishing XIS or convertor executes a HTTP POST request of a Bundle with Bundle.type = transaction to the target's base endpoint. The first Bundle.entry contains a [https://simplifier.net/geboortezorg-stu3/bc-transactioncomposition Composition] resource, and each subsequent entry contains a resource that is referenced from the Composition resource.  
  
The interaction is performed by an HTTP POST command as shown:
+
<pre>
 +
POST [base]{&_format=[mime-type]}
 +
</pre>
  
<pre>POST [base] {?_format=[mime-type]}</pre>
+
As a result, all FHIR resources included in the Bundle will be stored individually in the FHIR server.
  
The body of the post submission is a Bundle with Bundle.type = document. The first entry contains a Composition resource, and each subsequent entry contains a resource that is referenced from the Composition resource. By sending it to the target's base, the document Bundle will be processed as a transaction and each Bundle.entry will be treated as a create interaction for the entry.resource.
+
To persist a Document Bundle at the FHIR server (e.g. to preserve the clinical context), the publishing XIS or convertor should execute a HTTP GET request to the Composition endpoint of the FHIR server, handling the createDocumentOperation with persist=true. The response is a FHIR Document Bundle, which is generated from the Composition resource and stored to the FHIR server's Bundle endpoint.
  
'''Read more:'''
+
<pre>
 +
GET [base]/Composition/[id]/$document?persist=true{&_format=[mime-type]}
 +
</pre>
  
* [http://hl7.org/fhir/STU3/documents.html documents]
+
==Retrieving XIS: request message==
* [http://hl7.org/fhir/STU3/http.html#transaction transaction]
+
When persisted at the FHIR server, FHIR Document Bundles can be retrieved by a HTTP GET request to the FHIR server's Bundle endpoint. Note that FHIR Document Bundles are immutable and its entries refer to a time-related version of a resource which is not necessarily its latest version.
* [http://hl7.org/fhir/STU3/http.html#create create]
 
  
=== Examples ===
+
<pre>
 +
GET [base]/Bundle/[id]{&_format=[mime-type]}
 +
</pre>
  
====Expected Actions====
+
Individual resources can be retrieved by HTTP GET requests to specific resource endpoints, see the Search section and list of StructureDefinitions below.
==List of StructureDefinitions==
 
The profiles listed in the table below represent their entire respective HCIM and are applicable in a broader context than the exchange of Prio1 information.  
 
  
{| class="wikitable" style="horizontal-align: right"
+
== Examples ==
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:50px" | Zib naam
+
Example FHIR resources can be found here: [https://simplifier.net/geboortezorg-stu3/~resources?category=Example&sortBy=RankScore_desc]
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:50px" | Zib versie
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:50px" | FHIR Resource
 
!style="background-color: #4AB8A7; color: white; font-weight: bold; text-align:left;  background-color: #E3E3E3 width:400px" | FHIR Profile
 
|-
 
| -
 
| -
 
| Composition
 
| TODO
 
|-
 
| Patient
 
| v3.1(2017NL)
 
| Patient
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://fhir.nl/fhir/StructureDefinition/nl-core-patient http://fhir.nl/fhir/StructureDefinition/nl-core-patient]
 
|-
 
| -
 
| -
 
| Patient
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/bc-Woman http://nictiz.nl/fhir/StructureDefinition/bc-Woman]
 
|-
 
| rowspan="3" |Zwangerschap
 
| rowspan="3" |
 
| Observation
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy]
 
|-
 
| Observation
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-Gravidity http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-Gravidity]
 
|-
 
| Observation
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-Parity http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-Parity]
 
|-
 
| A term datum
 
|
 
| Observation
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-TermDate http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy-TermDate]
 
|-
 
| -
 
| -
 
| DiagnosticReport
 
| TODO ObstetricReport
 
|-
 
| rowspan="2" |LaboratoriumUitslag
 
| rowspan="2" |
 
| Observation
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation]
 
|-
 
| DiagnosticReport
 
| [https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-DiagnosticReport http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-DiagnosticReport]
 
|}
 
  
==Terminology, NamingSystems, Mappings==
+
== Search ==
 +
Example search URLs can be found in the list of StructureDefinitions in each use case section. Some searches require the implementation of custom search parameters. These parameters can be found here: https://simplifier.net/geboortezorg-stu3/~resources?category=SearchParameter
  
===Terminology===
+
=Use cases=
Relevant value sets can be found [https://simplifier.net/Geboortezorg-STU3/~resources?category=ValueSet here]. All resources can be downloaded in a .zip in XML or JSON format. In the .zip, the value sets are stored in the directory 'value sets'.
+
==Use cases dataset 2.3==
 +
[[Gebz:V1.0_FHIR_IG_use_cases_2.3|Use cases 2.3]]

Huidige versie van 28 sep 2021 om 09:33

AfsprakenstelselFunctioneelTechnischAfspraken-Functioneel-Technisch

Introduction

This page details the HL7 FHIR requirements for exchanging the BirthCare (Geboortezorg) data.

The functional view for BirthCare (Geboortezorg) 2.3 is described in Functioneel. Functional specifications for other datasets will follow.

The FHIR Implementation Guide for BirthCare is independent of the functional specifications. We expect the FHIR BirthCare IG to be compliant with datasets 2.3, 3.1 and 3.2. We do expect backwards compatible additions to the FHIR BirthCare IG for the latter datasets. The FHIR BirthCare IG does contain version-specific mappings to the various datasets, for now only 2.3 mappings.

Technical details of the FHIR resources and structure definitions described in this Implementation Guide (IG) can be found in the Simplifier Geboortezorg STU3 project. This IG provides links to the required resources and structure definitions for each use case.

A high level overview:

Fhir-model-overview.png

FHIR Resources and StructureDefinitions

Types of resources and relations between them

For Observations, which are often very similar, we follow patterns: an implementer will only need to implement the pattern and an associated table with codes, and be able to support all Observations. So for Observations pertaining to a particular pregnancy (not to the woman - she may have multiple pregnancies on record, neither to the delivery) all Observations will link to the Pregnancy Condition. So instead of having to inspect StructureDefinitions separately for each pregnancy observations, following a single pattern will do. The pattern has it's own StructureDefinition, so the FHIR profile is still complete. Likewise Observations for the mother, delivery and child follow patterns. See links below.

Name FHIR resource Description
Woman (Vrouw) Patient The core of each pregnancy is the pregnant woman, a FHIR Patient.
Maternal Observation (Bevinding vrouw) Observation Observations and findings related to the woman, before, during or after pregnancy childbirth. Examples are risk status or maternal ultrasound observations.
Partner RelatedPerson The partner of the pregnant woman (not necessarily the biological father).
Generic resources Practitioner, PractitionerRole, Organization Those are not used differently than in other Dutch projects.
Referral details ReferralRequest Referral details (such as type of referral, reason code, referrer and target of the referral) are described in ReferralRequest. The pregnant woman is the subject, the context is the pregnancy file (EpisodeOfCare).
Involvement pediatrician CareTeam A CareTeam describes the involvement of different care providers, such as a pediatrician.
  • These care providers are included as participants in the CareTeam using the CareTeam.participant.member element. Participants may either be Practitioners or Organizations.
  • Their role and period of involvement are described at the participant level (that is CareTeam.participant.role and CareTeam.participant.period).
  • The reason of involvement is described in CareTeam.reasonCode
Pregnancy, Maternity Record Condition, EpisodeOfCare Each pregnancy is a Condition. It is also represented as an EpisodeOfCare for each involved Organization. The pregnancy includes references to an Organization and responsible Practitioner. (Practitioners responsible for the actual data may be included there, i.e. in Procedures, Observations.)
  • Condition points to the EpisodeOfCare through a EpisodeOfCare.context.reference element. (Note: different providers may each have their own Condition resource.)
  • EpisodeOfCare points to the Condition through a EpisodeOfCare.diagnosis.condition element.
  • Condition points to the Patient with Condition.subject.reference
  • Condition.status must be 'active' for ongoing pregnancies and 'inactive' for past ones.
Patient-related Observations Observation Observations such as blood type pertain to the Patient.
  • Observations can refer to an EpisodeOfCare with Observation.context.reference
Pregnancy-related Observations Observation Observations such as gravidity and parity do not (only) pertain to the Patient but to a particular pregnancy.
  • Pregnancy-related Observations use focus extension to point to Condition they're about. Without this, all gravidities would only be Observations about a Patient.
  • Pregnancy-related Observations refer to the EpisodeOfCare with Observation.context.reference
Pregnancy-related disorder Condition Conditions such as cholestasis and hypertension do not (only) pertain to the Patient but to a particular pregnancy.
  • Pregnancy-related Observations use partOf extension to point to Condition they're about.
  • In some cases the partOf Condition may not be available. The BGZ for instance does not relate Conditions to particular pregnancies.
  • Pregnancy-related Conditions refer to the EpisodeOfCare with Observation.context.reference
Childbirth Assistance Encounter Childbirth Assistance is modeled as an Encounter. The woman Patient is subject of the Encounter.
  • The place of birth is described in Encounter.class using a ConceptMap to map values to available FHIR codes
  • The Encounter.diagnosis element refers to the Pregnancy (Condition)
  • The Encounter.participant element containts a list of care providers that were present during delivery. Family members and even the woman Patient could also be included in this list.
  • Additional details can be defined at participant level, such as participant type and time of arrival. The latter uses an extension at participant level with a coded list of time of arrival.
  • Childbirth Assistance refers to the EpisodeOfCare with Encounter.EpisodeOfCare.reference
Delivery (Bevalling) Procedure Delivery is modeled with Procedure (even for uncomplicated natural births for consistency). A pregnancy can lead to one DeliveryProcedure even in multiple birth. The Patient is the subject.
  • Delivery refers to the EpisodeOfCare with Procedure.context.reference
  • Delivery refers to the Pregnancy with Procedure.reasonReference.reference
Delivery-related Observations Observation Observations such as onset of labor or blood loss pertain to a delivery Procedure.
  • Delivery-related Observations use focus extension to point to the delivery Procedure they're about.
  • Delivery-related Observations refer to the EpisodeOfCare with Observation.context.reference
Disorder of labor and delivery Condition Disorders occuring during or after delivery are related to either the Delivery (if pertaining to the mother) or to the Birth (if pertaining to (one of) the children).
  • A partOf extension is used to point to the Delivery of the Birth.
  • context is the Maternal Record or an Encounter.
Obstetric Procedure Procedure
Post partum disorder Condition
Birth Procedure This groups findings and procedures related to a particular child in a delivery - important in multiple births. A Birth has:
  • a partOf extension, pointing to the Delivery
  • subject is the Child
  • context is the Maternal Record EpisodeOfCare
Birth-related Observations Observation Observations such as parturition type pertain to a birth. They are also about the mother, which still is the subject.
  • Birth-related Observations use focus extension to point to a birth.
  • Birth-related Observations refer to the EpisodeOfCare with Observation.context.reference
Child Patient Child is a separate Patient.
  • Procedure-related Observations use focus extension to point to the child Patient they're about.
Child-related Observations Observation Observations such as Apgar score and birthweight pertain to the child Patient, which is the subject of these Observations.
  • Child observations refer to the EpisodeOfCare with Observation.context.reference
Child disorders Condition Child disorders such as chromosomal and congenital abnormalities or other problems are conditions. The child is the subject.
  • Child disorders can refer to the EpisodeOfCare with Condition.context.reference
  • A ConceptMap is available to map verification status to accepted FHIR codes
Diagnostic Reports (Onderzoeksverslagen)
Combined test DiagnosticReport Combined test (combinatietest) verslag. The woman Patient is the subject of the report.
  • This report refers to the EpisodeOfCare with DiagnosticReport.context.reference
Digital vaginal examination DiagnosticReport The digital vaginal examination DiagnosticReport groups Observations related to the digital vaginal examination. The woman Patient is the subject of the report.
  • This report refers to the EpisodeOfCare with DiagnosticReport.context.reference
Ultrasound (Echoverslag) DiagnosticReport The ultrasound groups Observations. The woman Patient is the subject of the report.
  • This report refers to the EpisodeOfCare with DiagnosticReport.context.reference

The use of focus extensions is a pre-adopt of FHIR R4, where it is part of Observation: "What the observation is about, when it is not about the subject of record." Focus is required for all Observations which do not pertain to the Patient. In R4, use of focus permits "reverse include" queries (give me all Observations with focus element X). In STU3, this could be a custom search.

The use of context is encouraged for all resources which have a context element. It is a reference to an EpisodeOfCare or an Encounter. Context should point to an Encounter when appropriate (scheduled maternity checks etc.) and to the EpisodeOfCare in all other cases. Possibly it will be absent in Observations where the source is not birth care, so readers should not rely on it's presence.

Observations should include a performer if known.

Pattern tables can be found on individual pattern pages and on Gebz:V2.3_FHIR_mapping_addendum.

The mapping is also available as an XML file: fhirmapping.xml

Terminology, NamingSystems, Mappings

Terminology

Relevant value sets can be found here. All resources can be downloaded in a .zip in XML or JSON format. In the .zip, the value sets are stored in the directory 'value sets'.

BabyConnect Afsprakenstelsel

The BabyConnect Afsprakenstelsel describes the BabyConnect architecture, which defines the following modules and transactions.

Modules

Module Name Role
A Healthcare information system (XIS) Send transaction to module B
B1 Convertor Translates ADA transaction to FHIR transaction Bundle which is sent to module B2
B2 FHIR server Receives and stores FHIR data
C Index Indexes and retrieves FHIR data from module B2
D1 Query builder Translates user query to a FHIR query which is sent to module C
D2 Translator Translates FHIR data retrieved from module C back to ADA format
E Viewer Collects the data and presents it to the end user

Module B and D are added to make it easier for XIS and viewer vendors to connect to BabyConnect. XIS and viewer vendors are however encouraged to implement their own FHIR API as module B and D will phase out eventually.

Transactions

BabyConnect defines the following transactions:

Actors

Transaction group Transaction Actor Role
Publish transaction (PUSH) Publish transaction Healthcare professional (using a XIS) Sends transaction to registry
Retrieve transaction (PULL) Retrieve transaction Healthcare professional (using a XIS and/or viewer software) Retrieves transaction from registry

Module A and E can either directly interact with the FHIR server (which they are encouraged to do) or use the convertor and translator software of module B and D.

Invocations

Publishing XIS: request message

Message Semantics

The publishing XIS or convertor executes a HTTP POST request of a Bundle with Bundle.type = transaction to the target's base endpoint. The first Bundle.entry contains a Composition resource, and each subsequent entry contains a resource that is referenced from the Composition resource.

POST [base]{&_format=[mime-type]}

As a result, all FHIR resources included in the Bundle will be stored individually in the FHIR server.

To persist a Document Bundle at the FHIR server (e.g. to preserve the clinical context), the publishing XIS or convertor should execute a HTTP GET request to the Composition endpoint of the FHIR server, handling the createDocumentOperation with persist=true. The response is a FHIR Document Bundle, which is generated from the Composition resource and stored to the FHIR server's Bundle endpoint.

GET [base]/Composition/[id]/$document?persist=true{&_format=[mime-type]}

Retrieving XIS: request message

When persisted at the FHIR server, FHIR Document Bundles can be retrieved by a HTTP GET request to the FHIR server's Bundle endpoint. Note that FHIR Document Bundles are immutable and its entries refer to a time-related version of a resource which is not necessarily its latest version.

GET [base]/Bundle/[id]{&_format=[mime-type]}

Individual resources can be retrieved by HTTP GET requests to specific resource endpoints, see the Search section and list of StructureDefinitions below.

Examples

Example FHIR resources can be found here: [1]

Search

Example search URLs can be found in the list of StructureDefinitions in each use case section. Some searches require the implementation of custom search parameters. These parameters can be found here: https://simplifier.net/geboortezorg-stu3/~resources?category=SearchParameter

Use cases

Use cases dataset 2.3

Use cases 2.3