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

Uit informatiestandaarden
Ga naar: navigatie, zoeken
(Remove slice for semantic code)
Regel 24: Regel 24:
 
         <system value="http://fhir.nl/fhir/NamingSystem/bsn"/>
 
         <system value="http://fhir.nl/fhir/NamingSystem/bsn"/>
 
     </patternIdentifier>
 
     </patternIdentifier>
</element>
 
</syntaxhighlight>
 
{{Collapse bottom}}
 
 
{{Collapse top|Slice definition to map semantic codes to a repeating element.|left=yes}}
 
Semantic code provides meaning to a part of or complete 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 they are profiled as patterns.
 
 
<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>
 
</element>
 
</syntaxhighlight>
 
</syntaxhighlight>

Versie van 28 jan 2021 om 09:48

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.