Search code examples
hl7-fhir

Can I use actionResulting to link Questionnaire to a CarePlan activity?


I have asked about Questionnaire and CarePlan earlier and someone else has asked another similar question, but my question this time is a bit more specific.

This time I wonder if it's allowed to create a CarePlan using 'detail' rather than reference and then link Questionnaire in to actionResulting. Could I use the actionResulting as a link to the Questionnaire? Would the following resource be valid?

{
  "resourceType": "CarePlan",
  ...,
  "activity": [
    {
      "actionResulting": [
        {
          "reference": "Questionnaire/copd-form"
        }
      ]
      "detail": {
        "category": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/care-plan-activity-category",
              "code": "observation"
            }
          ]
        },
        "code": {
          "text": "A code for capturing COPD subjective input from patient?"
        },
        "prohibited": false,
        "scheduledTiming": {
          "repeat": {
            "frequency": 1,
            "period": 1,
            "periodUnits": "d"
          }
        },
        "performer": [
          {
            "reference": "Patient/3183"
          }
        ],
        "description": "Daily COPD form"
      }
    }
}

Solution

  • Well, pointing to the Questionnaire would be saying "as a result of this plan, this Questionnaire was designed". I suspect what you'd really want to say is "as a result of this plan, I asked the patient to fill out Questionnaire X" (which would be a DiagnosticOrder) or "as a result of this plan, the patient answered this Questionnaire" (which would be a QuestionnaireResponse). For the first of those, I believe we're still waiting on an extension to allow a DiagnosticRequest to point to the Questionnaire to be filled out.