Thanos Vidakis
05/15/2025, 1:49 PMreshma
05/15/2025, 2:52 PMThanos Vidakis
05/15/2025, 5:19 PMreshma
05/15/2025, 6:29 PMThanos Vidakis
05/28/2025, 3:36 PMfinnbergquist
05/28/2025, 4:30 PMfinnbergquist
05/28/2025, 4:38 PMThanos Vidakis
05/28/2025, 4:39 PMThanos Vidakis
05/28/2025, 4:40 PMThanos Vidakis
05/28/2025, 4:43 PMThanos Vidakis
05/28/2025, 4:45 PMThanos Vidakis
05/28/2025, 4:45 PMfinnbergquist
05/28/2025, 4:52 PMThanos Vidakis
05/28/2025, 5:01 PMThanos Vidakis
05/28/2025, 5:01 PMfinnbergquist
05/29/2025, 12:25 AM// Original response (now marked as error)
{
"resourceType": "QuestionnaireResponse",
"id": "exam-response-1",
"encounter": {"reference": "Encounter/visit-123"},
"status": "entered-in-error", // Key status
"authored": "2025-05-28T10:30:00Z"
}
// Corrected response
{
"resourceType": "QuestionnaireResponse",
"id": "exam-response-2",
"encounter": {"reference": "Encounter/visit-123"}, // Same encounter
"status": "completed",
"replaces": [{"reference": "QuestionnaireResponse/exam-response-1"}],
"authored": "2025-05-28T11:15:00Z"
}
"And how we will make sure that we will change the wrong weight value? Should we go through the questionnaire or suggest the doctor to go and edit the final weight/observation resource? "
This is up to you. But generally, if you have a bunch of business logic in your QuestionnaireResponse processing code, and you don't want to confuse the doctor with multiple places to update things, going back to the questionnaire is a good approach. You can always pre-populate it with the last values you filled inThanos Vidakis
05/29/2025, 3:10 PMfinnbergquist
05/29/2025, 3:15 PM