Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Questionnaire Response for Diabetes

 

Code Block
languagexml
<QuestionnaireResponse xmlns="http://hl7.org/fhir">
…….
  <item>
    <linkId>4684c7d5-1308-472f-bce5-f892e3ebe837</linkId>
    <text> Does patient have a history of Diabetes?</text>
    <answer>
       <valueCoding>
          <system value=”http://snomed.org”/>
          <code value=”373066001”/>
          <display value=”Yes”/>
       </valueCoding>
   </answer>
</item>
……..
</QuestionnaireResponse>

...

 They “Yes” answer to the Questionnaire for Diabetes mellitus is transformed in the FHIR Observation as a Range of > 0 and <= INF based on the ANF specification.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir">
  <identifier>a892e710-9e0c-4da5-a180-b6a4f50855d7</identifier>
  <status value="final"/>
  <code>
    <coding>
      <system value="http://snomed.org"/>
      <code value="73211009"/>
      <display value="Diabetes mellitus"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient"/>
  </subject>
  <focus>
    <reference value=”Patient”/>
  </focus>
  <effectiveDateTime value="2020-07-06T22:33:22Z"/>
  <performer>
     <reference value=”Practitioner”/>
  </performer>
  <valueRange>
      <Range>
         <low>
             <value>0</value>
             <comparator value=”>”>”>”/>
             <code>
                <system value=”http://snomed.org”/>
                <code value=”118595003”/>
                <display value="Quantity content"/>
              </code>
          </low>
          <high>
            <value>INF</value>
            <comparator value=”<=”>”/>
            <code>
              <system value=”http://snomed.org”/>
              <code value=”118595003”/>
              <display value="Quantity content"/>
            </code>
          </high>
        </Range>
  </valueRange>
</Observation>

...