SDOH Clinical Care
0.0.4C1 - CI Build

SDOH Clinical Care - Local Development build (v0.0.4C1). See the Directory of published versions

SDOHCC_Questionnaire_HungerVitalSign_1_Example_1 - JSON Representation

(back to description)

Raw json

Source view

{
  "resourceType" : "Questionnaire",
  "id" : "SDOHCC-Questionnaire-HungerVitalSign-1-Example-1",
  "meta" : {
    "versionId" : "2",
    "lastUpdated" : "2020-05-06T20:35:52.088+00:00",
    "source" : "#GEBZRkOKyeplHRAi",
    "profile" : [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: SDOHCC-Questionnaire-HungerVitalSign-1-Example-1</p><p><b>meta</b>: </p><p><b>url</b>: <b>http://hl7.org/fhir/us/Questionnaire/SDOHCC-Questionnaire-HungerVitalSign-1-Example-1</b></p><p><b>identifier</b>: local-ehr-65d310b8-6235-4f47-8d45</p><p><b>version</b>: 0.0.4C1</p><p><b>name</b>: Food Insecurity</p><p><b>title</b>: Food Insecurity (Hunger Vital Sign)</p><p><b>status</b>: ACTIVE</p><p><b>subjectType</b>: Patient</p><p><b>date</b>: Dec 3, 2019 4:09:54 PM</p><p><b>publisher</b>: HL7 International - Patient Care WG</p><p><b>contact</b>: HL7 International - Patient Care WG: https://www.hl7.org/Special/committees/patientcare, HL7 International - Patient Care: http://www.hl7.org/Special/committees/patientare</p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow\">(Details : {urn:iso:std:iso:3166:-2 code 'US' = 'US', given as 'United States of America'})</span></p><p><b>effectivePeriod</b>: Dec 12, 2019 4:52:01 PM --&gt; Dec 22, 2019 11:49:14 PM</p><blockquote><p><b>item</b></p><p><b>linkId</b>: /88122-7</p><p><b>code</b>: Within the past 12Mo we worried whether our food would run out before we got money to buy more (Details: LOINC code 88122-7 = 'Within the past 12 months we worried whether our food would run out before we got money to buy more [U.S. FSS]', stated as 'Within the past 12Mo we worried whether our food would run out before we got money to buy more')</p><p><b>text</b>: Within the past 12Mo we worried whether our food would run out before we got money to buy more</p><p><b>type</b>: CHOICE</p><p><b>required</b>: false</p><blockquote><p><b>answerOption</b></p><p><b>value</b>: Often true (Details: LOINC code LA28397-0 = 'Often true', stated as 'Often true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Sometimes true (Details: LOINC code LA6729-3 = 'Sometimes true', stated as 'Sometimes true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Never true (Details: LOINC code LA28398-8 = 'Never true', stated as 'Never true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Don't know/refused (Details: LOINC code LA15775-2 = 'Don't know/refused', stated as 'Don't know/refused')</p></blockquote></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: /88123-5</p><p><b>code</b>: Within the past 12Mo the food we bought just didn't last and we didn't have money to get more (Details: LOINC code 88123-5 = 'Within the past 12 months the food we bought just didn't last and we didn't have money to get more [U.S. FSS]', stated as 'Within the past 12Mo the food we bought just didn't last and we didn't have money to get more')</p><p><b>text</b>: Within the past 12Mo the food we bought just didn't last and we didn't have money to get more</p><p><b>type</b>: CHOICE</p><p><b>required</b>: false</p><blockquote><p><b>answerOption</b></p><p><b>value</b>: Often true (Details: LOINC code LA28397-0 = 'Often true', stated as 'Often true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Sometimes true (Details: LOINC code LA6729-3 = 'Sometimes true', stated as 'Sometimes true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Never true (Details: LOINC code LA28398-8 = 'Never true', stated as 'Never true')</p></blockquote><blockquote><p><b>answerOption</b></p><p><b>value</b>: Don't know/refused (Details: LOINC code LA15775-2 = 'Don't know/refused', stated as 'Don't know/refused')</p></blockquote></blockquote><blockquote><p><b>item</b></p></blockquote><p><b style=\"color: maroon\">Exception generating Narrative: unknown extension http://hl7.org/fhir/StructureDefinition/questionnaire-observationLinkPeriod</b></p></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "worriedAnsCode",
        "language" : "text/fhirpath",
        "expression" : "%resource.item.where(linkId='/88122-7').answer.value.code"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "ranOutAnsCode",
        "language" : "text/fhirpath",
        "expression" : "%resource.item.where(linkId='/88123-5').answer.value.code"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "riskCodes",
        "language" : "text/fhirpath",
        "expression" : "'LA28397-0'.combine('LA6729-3')"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "riskStatus",
        "language" : "text/fhirpath",
        "expression" : "%riskCodes contains %worriedAnsCode or %riskCodes contains %ranOutAnsCode"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression" : {
        "name" : "answeredEitherQ",
        "language" : "text/fhirpath",
        "expression" : "%worriedAnsCode.exists() or %ranOutAnsCode.exists()"
      }
    }
  ],
  "url" : "http://hl7.org/fhir/us/Questionnaire/SDOHCC-Questionnaire-HungerVitalSign-1-Example-1",
  "identifier" : [
    {
      "system" : "http://hl7.org/fhir/us/sdoh-cc/CodeSystem/sdohcc-temporary-identifiers",
      "value" : "local-ehr-65d310b8-6235-4f47-8d45"
    }
  ],
  "version" : "0.0.4C1",
  "name" : "Food Insecurity",
  "title" : "Food Insecurity (Hunger Vital Sign)",
  "status" : "active",
  "subjectType" : [
    "Patient"
  ],
  "date" : "2019-12-03T16:09:54+00:00",
  "publisher" : "HL7 International - Patient Care WG",
  "contact" : [
    {
      "name" : "HL7 International - Patient Care WG",
      "telecom" : [
        {
          "system" : "other",
          "value" : "https://www.hl7.org/Special/committees/patientcare"
        }
      ]
    },
    {
      "name" : "HL7 International - Patient Care",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/patientare"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166:-2",
          "code" : "US",
          "display" : "United States of America"
        }
      ]
    }
  ],
  "effectivePeriod" : {
    "start" : "2019-12-12T16:52:01+00:00",
    "end" : "2019-12-22T23:49:14+00:00"
  },
  "item" : [
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/questionnaire-item-control",
                "code" : "drop-down",
                "display" : "Drop down"
              }
            ],
            "text" : "Drop down"
          }
        }
      ],
      "linkId" : "/88122-7",
      "code" : [
        {
          "system" : "http://loinc.org",
          "code" : "88122-7",
          "display" : "Within the past 12Mo we worried whether our food would run out before we got money to buy more"
        }
      ],
      "text" : "Within the past 12Mo we worried whether our food would run out before we got money to buy more",
      "type" : "choice",
      "required" : false,
      "answerOption" : [
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA28397-0",
            "display" : "Often true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA6729-3",
            "display" : "Sometimes true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA28398-8",
            "display" : "Never true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA15775-2",
            "display" : "Don't know/refused"
          }
        }
      ]
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/questionnaire-item-control",
                "code" : "drop-down",
                "display" : "Drop down"
              }
            ],
            "text" : "Drop down"
          }
        }
      ],
      "linkId" : "/88123-5",
      "code" : [
        {
          "system" : "http://loinc.org",
          "code" : "88123-5",
          "display" : "Within the past 12Mo the food we bought just didn't last and we didn't have money to get more"
        }
      ],
      "text" : "Within the past 12Mo the food we bought just didn't last and we didn't have money to get more",
      "type" : "choice",
      "required" : false,
      "answerOption" : [
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA28397-0",
            "display" : "Often true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA6729-3",
            "display" : "Sometimes true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA28398-8",
            "display" : "Never true"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA15775-2",
            "display" : "Don't know/refused"
          }
        }
      ]
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-observationLinkPeriod",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/questionnaire-item-control",
                "code" : "drop-down",
                "display" : "Drop down"
              }
            ],
            "text" : "Drop down"
          }
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/variable",
          "valueExpression" : {
            "name" : "thisItem",
            "language" : "text/fhirpath",
            "expression" : "%questionnaire.item.where(linkId = '/88124-3')"
          }
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/variable",
          "valueExpression" : {
            "name" : "atRiskCoding",
            "language" : "text/fhirpath",
            "expression" : "%thisItem.answerOption.valueCoding.where(code='LA19952-3')"
          }
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/variable",
          "valueExpression" : {
            "name" : "noRiskCoding",
            "language" : "text/fhirpath",
            "expression" : "%thisItem.answerOption.valueCoding.where(code='LA19983-8')"
          }
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-calculatedExpression",
          "valueExpression" : {
            "description" : "risk determination",
            "language" : "text/fhirpath",
            "expression" : "iif(%answeredEitherQ, iif(%riskStatus, %atRiskCoding, %noRiskCoding), {})"
          }
        }
      ],
      "linkId" : "/88124-3",
      "code" : [
        {
          "system" : "http://loinc.org",
          "code" : "88124-3",
          "display" : "Food insecurity risk"
        }
      ],
      "text" : "Food insecurity risk",
      "type" : "choice",
      "required" : false,
      "readOnly" : true,
      "answerOption" : [
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA19952-3",
            "display" : "At risk"
          }
        },
        {
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "LA19983-8",
            "display" : "No risk"
          }
        }
      ],
      "item" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/questionnaire-item-control",
                    "code" : "help",
                    "display" : "Help-Button"
                  }
                ],
                "text" : "Help-Button"
              }
            }
          ],
          "linkId" : "/88124-3-help",
          "text" : "An answer of \"often true\" or \"sometimes true\" to either or both of the Hunger Vital Sign™ questions identifies a patient as at risk for food insecurity (FI).",
          "type" : "display"
        }
      ]
    }
  ]
}