Gebz:FHIR Guidelines: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
Regel 16: Regel 16:
 
==bc-delivery-child-observation==
 
==bc-delivery-child-observation==
 
===XML fragment===
 
===XML fragment===
This is a recipe for child-related Observations in Birthcare.  
+
This is a recipe for delivery- and child-related Observations in Birthcare.  
  
<syntaxhighlight lang="xml" heading="measurement_message.xml">
+
<syntaxhighlight lang="xml" heading="XML fragment">
 
<Observation xmlns="http://hl7.org/fhir">
 
<Observation xmlns="http://hl7.org/fhir">
 
     <id value="[[a unique id]]"/>
 
     <id value="[[a unique id]]"/>
 
     <meta>
 
     <meta>
         <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-BirthWeight"/>
+
         <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-ParturitionType"/>
 
     </meta>
 
     </meta>
 +
    <extension url="http://nictiz.nl/fhir/StructureDefinition/Observation-focus-stu3">
 +
        <valueReference>
 +
            <reference value="[[reference to the delivery | Procedure/bevallingprocedure-wouden-zwanger1" />
 +
        </valueReference>
 +
    </extension>
 +
    <extension url="http://nictiz.nl/fhir/StructureDefinition/Observation-focus-stu3">
 +
        <valueReference>
 +
            <reference value="[[reference to the Child | Patient/XXX-KIND1VDWOUDEN" />
 +
        </valueReference>
 +
    </extension>
 
     <status value="final"/>
 
     <status value="final"/>
 
     <code>
 
     <code>
 
         <coding>
 
         <coding>
             <system value="[[system, see below | http://loinc.org]]"/>
+
             <system value="[[system, see below | http://snomed.info/sct]]"/>
             <code value="[[code, see below | 8339-4"/>
+
             <code value="[[code, see below | 364336006"/>
             <display value="[[display, see below | Birth weight Measured]]"/>
+
             <display value="[[display, see below | Pattern of delivery (observable entity)]]"/>
 
         </coding>
 
         </coding>
 
     </code>
 
     </code>
 
     <subject>
 
     <subject>
         <reference value="[[reference to the Child Patient | Patient/XXX-KIND2VDWOUDEN" />
+
         <reference value="[[reference to the Mother Patient | Patient/XXX-VDWOUDEN" />
         <display value="[[display of reference | Kind 2 van der Wouden]]" />
+
         <display value="[[display of reference | Patient van der Wouden]]" />
 
     </subject>
 
     </subject>
 +
    <context>
 +
        <reference value="EpisodeOfCare/wouden-dossier-zwanger1" />
 +
    </context>
 
     <context>
 
     <context>
 
         <reference value="[[reference to the EpisodeOfCare | EpisodeOfCare/wouden-dossier-zwanger1]]"/>
 
         <reference value="[[reference to the EpisodeOfCare | EpisodeOfCare/wouden-dossier-zwanger1]]"/>
 
     </context>
 
     </context>
 
     [[#observation, see below]]
 
     [[#observation, see below]]
     <valueQuantity>
+
     <valueCodeableConcept>
         <value value="2845"/>
+
         <coding>
        <system value="http://unitsofmeasure.org"/>
+
            <system value="http://snomed.info/sct"/>
        <code value="gram"/>
+
            <code value="3311000146109"/>
     </valueQuantity>
+
            <display value="Vaginale kunstverlossing"/>
 +
        </coding>
 +
     </valueCodeableConcept>
 
     [[/observation]]
 
     [[/observation]]
</Observation>
+
</Observation>  
 
</syntaxhighlight>
 
</syntaxhighlight>
 
===Valuation table===
 
===Valuation table===
Regel 57: Regel 72:
 
| peri23-dataelement-40071 || Apgarscore na 5 min. || <nowiki>http://loinc.org</nowiki> || 9274-2 || 5 minute Apgar Score || valueQuantity || <nowiki>[[Apgarscore na 5 min.]]</nowiki> ||  ||  
 
| peri23-dataelement-40071 || Apgarscore na 5 min. || <nowiki>http://loinc.org</nowiki> || 9274-2 || 5 minute Apgar Score || valueQuantity || <nowiki>[[Apgarscore na 5 min.]]</nowiki> ||  ||  
 
|}
 
|}
 +
 
==bc-child-observation==
 
==bc-child-observation==
 
===XML fragment===
 
===XML fragment===

Versie van 18 mrt 2020 14:17

FHIR Recipes Geboortezorg v2.3

List of recipes for Birthcare. A recipe (terms such as template, pattern, definition etc. are already used in similar contexts) contains:

  • an XML and/or JSON fragment
    • all non-bracketed code is fixed
    • parts in [[square brackets]] are variable and contain instructions on how to populate those
    • a pipeline | separates text from example value
    • bracketed blocks start with [[# text]] and end with [[/ text]]
    • (square brackets do not clash too much with either XML or JSON syntax, other than that we follow Mustache syntax very loosely)
    • (fragments are not intended to be machine-processable, but are for documentation, do not rely on fragments syntax to be faultless)
    • (not are recipes intended to replace StructureDefinitions, just to provide more readable documentation for implementers)
  • a valuation table
    • with a dataset concept id
    • fixed values for the valuation of bracketed elements of the fragment (i.e. those are fixed for that particular concept)
    • bracketed values for per-instance variable data (i.e. those are not fixed for that particular concept, usually the actual values that are exchanged)

bc-delivery-child-observation

XML fragment

This is a recipe for delivery- and child-related Observations in Birthcare.

<Observation xmlns="http://hl7.org/fhir">
    <id value="[[a unique id]]"/>
    <meta>
        <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-ParturitionType"/>
    </meta>
    <extension url="http://nictiz.nl/fhir/StructureDefinition/Observation-focus-stu3">
        <valueReference>
            <reference value="[[reference to the delivery | Procedure/bevallingprocedure-wouden-zwanger1" />
        </valueReference>
    </extension>
    <extension url="http://nictiz.nl/fhir/StructureDefinition/Observation-focus-stu3">
        <valueReference>
            <reference value="[[reference to the Child | Patient/XXX-KIND1VDWOUDEN" />
        </valueReference>
    </extension>
    <status value="final"/>
    <code>
        <coding>
            <system value="[[system, see below | http://snomed.info/sct]]"/>
            <code value="[[code, see below | 364336006"/>
            <display value="[[display, see below | Pattern of delivery (observable entity)]]"/>
        </coding>
    </code>
    <subject>
        <reference value="[[reference to the Mother Patient | Patient/XXX-VDWOUDEN" />
        <display value="[[display of reference | Patient van der Wouden]]" />
    </subject>
    <context>
        <reference value="EpisodeOfCare/wouden-dossier-zwanger1" />
    </context>
    <context>
        <reference value="[[reference to the EpisodeOfCare | EpisodeOfCare/wouden-dossier-zwanger1]]"/>
    </context>
    [[#observation, see below]]
    <valueCodeableConcept>
        <coding>
            <system value="http://snomed.info/sct"/>
            <code value="3311000146109"/>
            <display value="Vaginale kunstverlossing"/>
        </coding>
    </valueCodeableConcept>
    [[/observation]]
</Observation>

Valuation table

pwd id name system code display datatype value value-system value-code
peri23-dataelement-40060 Geboortegewicht http://loinc.org 8339-4 Birth weight Measured valueQuantity [[Meting van het lichaamsgewicht zo kort mogelijk na de geboorte.]] http://unitsofmeasure.org gram
peri23-dataelement-40071 Apgarscore na 5 min. http://loinc.org 9274-2 5 minute Apgar Score valueQuantity [[Apgarscore na 5 min.]]

bc-child-observation

XML fragment

This is a recipe for child-related Observations in Birthcare.

<Observation xmlns="http://hl7.org/fhir">
    <id value="[[a unique id]]"/>
    <meta>
        <profile value="http://nictiz.nl/fhir/StructureDefinition/bc-BirthWeight"/>
    </meta>
    <status value="final"/>
    <code>
        <coding>
            <system value="[[system, see below | http://loinc.org]]"/>
            <code value="[[code, see below | 8339-4"/>
            <display value="[[display, see below | Birth weight Measured]]"/>
        </coding>
    </code>
    <subject>
        <reference value="[[reference to the Child Patient | Patient/XXX-KIND2VDWOUDEN" />
        <display value="[[display of reference | Kind 2 van der Wouden]]" />
    </subject>
    <context>
        <reference value="[[reference to the EpisodeOfCare | EpisodeOfCare/wouden-dossier-zwanger1]]"/>
    </context>
    [[#observation, see below]]
    <valueQuantity>
        <value value="2845"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="gram"/>
    </valueQuantity>
    [[/observation]]
</Observation>

Valuation table

pwd id name system code display datatype value value-system value-code
peri23-dataelement-40060 Geboortegewicht http://loinc.org 8339-4 Birth weight Measured valueQuantity [[Meting van het lichaamsgewicht zo kort mogelijk na de geboorte.]] http://unitsofmeasure.org gram
peri23-dataelement-40071 Apgarscore na 5 min. http://loinc.org 9274-2 5 minute Apgar Score valueQuantity [[Apgarscore na 5 min.]]