Stream: questionnaire
Topic: LHC SDC Questionnaire App - populating Observation.category
Joee Garcia (Aug 17 2020 at 19:42):
@Paul Lynch Does the SDC Questionnaire App support populating the Observation.category when extracting Observations from a QuestionnaireResponse? According to http://build.fhir.org/ig/HL7/sdc/extraction.html...
Observation.category - if this can be inferred from any of the Questionnaire.item.code values or from known context of the Questionnaire itself, then fill it in, otherwise omit.
Should something like this work?
"item": [
{
"type": "decimal",
"code": [
{
"system": "http://loinc.org",
"code": "85354-9",
"display": "Blood pressure panel with all children optional"
},
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
Paul Lynch (Aug 17 2020 at 20:32):
It says the category could be inferred from the code values (or "known context"). I am not sure how to do that for a general-purpose system, where the code and categories might anything. It would be possible to support your example of including a code from the observation-category list, but I don't recall seeing that approach in the spec. I think it is a good direction, if the category is important. But, there is a problem -- the binding of observation-category to Observation.category is only "preferred", so the category code could be any value, and in particular it might not be in the coding system http://terminology.hl7.org/CodeSystem/observation-category, in which case I don't know how you would indicate it as a category code.
Last updated: Apr 12 2022 at 19:14 UTC