Versions Compared

Key

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

Questionnaire Snippet for Case identification

In this example snippet of xml from the Questionnaire we embed a value set definition within the Questionnaire using codes from SNOMED CT.

Code Block
languagexml
<Questionnaire xmlns="http://hl7.org/fhir">
  <contained>
    <ValueSet>
    <id value="Case_Identification"/>
    <name value="Logica SNOMED CT Case_Identification"/>
    <status value="active"/>
      <compose>
        <include>
          <system value="http://snomed.org"/>
          <concept>
            <code value="386053000"/>
            <display value="Evaluation procedure"/>
          </concept>
          <concept>
            <code value="225368008"/>
            <display value="Contact tracing"/>
          </concept>
          <concept>
            <code value="225419007"/>
            <display value="Surveillance"/>
          </concept>
          <concept>
            <code value="261665006"/>
            <display value="Unknown"/>
          </concept>
        </include>
      </compose>
    </ValueSet>
  </contained>
…….
  <item>
    <linkId value=”0edf2c0a-c30e-11ea-87d0-0242ac130003”/>
        <code>
           <system value=”http://snomed.org”/>
           <code value=”?????????”/>
           <display value="Case identification"/>
        </code>
        <text>How was the case first identified?</text>                
        <type value=”choice”/>
        <answerValueSet value=”#Case_Identification” />
</item>
……..
</Questionnaire>

Questionnaire Response for Case identification

 

Code Block
languagexml
<QuestionnaireResponse xmlns="http://hl7.org/fhir">
…….
  <item>
    <linkId>0edf2c0a-c30e-11ea-87d0-0242ac130003</linkId>
    <text>How was the case first identified?</text>
    <answer>
       <valueCoding>
          <system value=”http://snomed.org”/>
          <code value=”386053000”/>
          <display value=”By Clinician”/>
       </valueCoding>
   </answer>
</item>
……..
</QuestionnaireResponse>

Questionnaire Response for Case identification Transformed to FHIR Observation based on ANF

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

...