Skip to content

Instantly share code, notes, and snippets.

<element>
<path value="DiagnosticReport.diagnostic[x]"/>
<slicing>
<!-- because I'm slicing on type,right? -->
<discriminator value="type"/>
<ordered value="false"/>
<rules value="closed"/>
</slicing>
<!-- both dateTime and Period are allowed. There are no constraints on dateTime. However, if you use a Period, you have to provide a begin time ánd end time -->
<definition>
<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hl7-org:v3 ../CDA/CCD/CDASchemas/cda/Schemas/CDA.xsd"
xmlns="urn:hl7-org:v3" classCode="DOCCLIN" moodCode="EVN">
<realmCode code="NL"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.2.4.3.11.41" /> <!-- Generieke Overdrachtsgegevens -->
<templateId root="2.16.840.1.113883.2.4.6.10.100001"/>
<templateId root="2.16.840.1.113883.10.20.22.1.2" />
<id root="2.16.840.1.113883.10.20.22.1.2" extension="a621"/>
<?xml version="1.0" encoding="UTF-8"?>
<element>
<path value="CarePlan.activity" />
<slicing>
<discriminator value="extension.valueCode" />
<ordered value="true" />
<rules value="closed" />
</slicing>
<definition>
<short value="Action to occur as part of plan" />