HL7 Europe Extensions
1.3.0 - trial-use 150

HL7 Europe Extensions - Downloaded Version 1.3.0 See the Directory of published versions

## : Consent: example with extensions - XML Representation

Raw xml | Download

    <Consent xmlns="http://hl7.org/fhir">
      <id value="consent-example"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Consent consent-example</b></p><a name="consent-example"> </a><a name="hcconsent-example"> </a><h2>Participants</h2><table class="grid"><tr><td><b>Role</b></td><td><b>Details</b></td></tr></table><p>The subject has NOT given their consent.</p></div>
      </text>
      <contained>
        <Condition>
          <id value="condition-example"/>
          <clinicalStatus>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
              <code value="active"/>
              <display value="Active"/>
            </coding>
          </clinicalStatus>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="431855005"/>
              <display value="Chronic kidney disease stage 1"/>
            </coding>
          </code>
          <subject>
            <display value="Nice Patient"/>
          </subject>
          <onsetAge>
            <extension
                       url="http://hl7.eu/fhir/extensions/StructureDefinition/periods-of-life">
              <valueCodeableConcept>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="41847000"/>
                  <display value="Adulthood"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <value value="40"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="a"/>
          </onsetAge>
        </Condition>
      </contained>
      <extension
                 url="http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition">
        <valueReference>
          <reference value="#condition-example"/>
        </valueReference>
      </extension>
      <status value="active"/>
      <category>
        <coding>
          <system value="http://loinc.org"/>
          <code value="59284-0"/>
          <display value="Consent Document"/>
        </coding>
      </category>
    </Consent>