Facade QuestionnaireResponse

http://fhir.patientsknowbest.com/structuredefinition/facade-questionnaireresponse

https://www.hl7.org/fhir/STU3/questionnaireresponse.html

Overview

Each [[Consultation Response]] in PKB will map to a FHIR QuestionnaireResponse.

Relevant PKB entities

Mappings

FHIR

PKB

Notes

FHIR

PKB

Notes

Resource id

[[Consultation Response.Public ID]]

 

Resource meta

  • meta: Meta

    • lastUpdated = [[Consultation Response.Completion Timestamp]]

 

QuestionnaireResponse.basedOn

  • basedOn: Reference

    • reference = the relative URL of the ProcedureRequest resource

 

QuestionnaireResponse.questionnaire

  • questionnaire: Reference

    • reference = the relative URL of the Questionnaire resource

    • display = [[Consultation Response->Consultation.Name]]

 

QuestionnaireResponse.status

"completed"

 

QuestionnaireResponse.subject

  • subject: Reference

    • reference = the relative URL of the Patient resource

    • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

 

QuestionnaireResponse.authored

[[Consultation Response.Completion Timestamp]]

 

QuestionnaireResponse.item

For each collection of [[Consultation Response→Consultation Response Item]] as grouped by [[Consultation Response Item→Consultation Item]]:

  • item[x]: BackboneElement

    • linkId = [[Consultation Response Item→Consultation Item.ID]]

    • text = [[Consultation Response Item→Consultation Item.Text]]

    • For each [[Consultation Response Item]] in the group:

      • answer: BackboneElement

        • valueString = [[Consultation Response Item.Text]]

 

Â