HL7 Europe Extensions
1.2.0 - trial-use 150

HL7 Europe Extensions - Downloaded Version 1.2.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="extensions"/>
        <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><p><b>Consent: Related Condition</b>: <a href="#hcconsent-example/condition-example">Condition Chronic kidney disease stage 1</a></p><p><b>status</b>: Active</p><p><b>category</b>: <span title="Codes:{http://loinc.org 59284-0}">Consent Document</span></p><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Condition #condition-example</b></p><a name="consent-example/condition-example"> </a><a name="hcconsent-example/condition-example"> </a><p><b>clinicalStatus</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}">Active</span></p><p><b>code</b>: <span title="Codes:{http://snomed.info/sct 431855005}">Chronic kidney disease stage 1</span></p><p><b>subject</b>: Nice Patient</p><p><b>onset</b>: 40 a<span style="background: LightGoldenRodYellow"> (Details: UCUM  codea = 'a')</span></p></blockquote></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>