FHIR:V1.0 FHIR Profiling Guidelines R4 examples: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
(Textual improvements)
Regel 1: Regel 1:
 
__NOINDEX__
 
__NOINDEX__
=Slicing examples=
+
=Slice examples in XML=
 
This page provides guidance on how slicing is expected in R4 profiles that are created by Nictiz. Examples are provided in XML format but could have been in JSON format as well.  
 
This page provides guidance on how slicing is expected in R4 profiles that are created by Nictiz. Examples are provided in XML format but could have been in JSON format as well.  
  
 
{{Collapse top|Slice definition to map a semantic code.|left=yes}}
 
{{Collapse top|Slice definition to map a semantic code.|left=yes}}
 +
 +
Semantic code provides meaning to the resource, e.g. a semantic code can be used to indicate that a {{fhir|MedicationRequest}} represents a zib MedicationAgreement. These semantic codes often need to be present. To also allow other codes to be used slicing is used.
 +
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
 
<element id="Observation.code.coding">
 
<element id="Observation.code.coding">
Regel 26: Regel 29:
 
     </patternCoding>
 
     </patternCoding>
 
</element>
 
</element>
 +
</syntaxhighlight>
 +
 +
 +
<syntaxhighlight lang="xml">
 +
        <element id="Observation.component">
 +
            <path value="Observation.component" />
 +
            <slicing>
 +
                <discriminator>
 +
                  <type value="value"/>
 +
                  <path value="code"/>
 +
                </discriminator>
 +
                <rules value="open" />
 +
            </slicing>
 +
        </element>
 +
        <element id="Observation.component:TypeOfTobaccoUsed">
 +
            <path value="Observation.component" />
 +
            <sliceName value="TypeOfTobaccoUsed" />
 +
            <max value="1" />
 +
        </element>
 +
        <element id="Observation.component:TypeOfTobaccoUsed.code">
 +
            <path value="Observation.component.code" />
 +
            <min value="1"/>
 +
            <patternCodeableConcept>
 +
                <coding>
 +
                    <system value="http://snomed.info/sct" />
 +
                    <code value="53661000146106" />
 +
                </coding>
 +
            </patternCodeableConcept>
 +
        </element>
 
</syntaxhighlight>
 
</syntaxhighlight>
 
{{Collapse bottom}}
 
{{Collapse bottom}}

Versie van 25 jan 2021 16:14

Slice examples in XML

This page provides guidance on how slicing is expected in R4 profiles that are created by Nictiz. Examples are provided in XML format but could have been in JSON format as well.