Aller au contenu principal

Anamnesis

The anamnesisGeneral field captures the structured patient history collected before the image is submitted for analysis, modelled as a FHIR QuestionnaireResponse.

The questionnaire that drives the questions, and whether it runs at all, is set per tenant in the iframe configuration. When no anamnesis questionnaire is configured, the item[] array is empty.

anamnesisGeneral

Stores general Q&A information about the patient's history in FHIR's QuestionnaireResponse format. It can contain items representing the questions and their answers.

"anamnesisGeneral": {
"resourceType": "QuestionnaireResponse",
"status": "completed",
"item": [
{
"linkId": 1,
"text": "Question one?",
"answer": [
{
"valueString": "answer"
}
]
},
...
]
}
  • resourceType: Always "QuestionnaireResponse".
  • status: Indicates the status of the questionnaire (e.g. "completed").
  • item: An array of question-answer pairs. Each entry has a linkId (the question's identifier, emitted as a JSON integer; note that the FHIR R4 standard usually types linkId as a string, but this API emits an integer primary key), a text (the human-readable question) and an answer[] with valueStrings.