QuestionnaireResponse

POST {{host}}/fhir/QuestionnaireResponse

Request Body

{"resourceType"=>"QuestionnaireResponse", "id"=>"{{fhir_questionnaire_response_id}}", "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <pre>\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          </pre>\n    </div>"}, "identifier"=>{"system"=>"http://example.org/fhir/NamingSystem/questionnaire-ids", "value"=>"{{fhir_questionnaire_response_id}}"}, "status"=>"completed", "subject"=>{"reference"=>"Patient/{{fhir_patient_id}}"}, "encounter"=>{"reference"=>"Encounter/{{fhir_encounter_id}}"}, "authored"=>"2013-02-19T14:15:00-05:00", "source"=>{"reference"=>"Patient/{{fhir_patient_id}}"}, "item"=>[{"linkId"=>"1", "item"=>[{"linkId"=>"1.1", "answer"=>[{"valueCoding"=>{"system"=>"http://cancer.questionnaire.org/system/code/yesno", "code"=>"1", "display"=>"Yes"}, "item"=>[{"linkId"=>"1.1.1", "item"=>[{"linkId"=>"1.1.1.1", "answer"=>[{"valueCoding"=>{"system"=>"http://cancer.questionnaire.org/system/code/yesno", "code"=>"1"}}]}, {"linkId"=>"1.1.1.2", "answer"=>[{"valueCoding"=>{"system"=>"http://cancer.questionnaire.org/system/code/yesno", "code"=>"1"}}]}, {"linkId"=>"1.1.1.3", "answer"=>[{"valueCoding"=>{"system"=>"http://cancer.questionnaire.org/system/code/yesno", "code"=>"0"}}]}]}]}]}]}]}

HEADERS

KeyDatatypeRequiredDescription
preferstring