FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: Questionnaire/questionnaire-sdc-profile-example-context-expression

Packagehl7.fhir.uv.sdc.r4b
TypeQuestionnaire
Idquestionnaire-sdc-profile-example-context-expression
FHIR VersionR4B
Sourcehttp://hl7.org/fhir/uv/sdc/http://hl7.org/fhir/uv/sdc/STU3/Questionnaire-questionnaire-sdc-profile-example-context-expression.html
URLhttp://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression
Version3.0.0
Statusdraft
Date2022-03-08T18:37:19+00:00
NameSDCExampleUsingContextExpression
Realmuv
Authorityhl7

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

LinkIdTextCardinalityTypeDescription & Constraintsdoco
.. SDCExampleUsingContextExpressionQuestionnairehttp://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression#3.0.0
... 1.0null0..1group
.... 1.1Instruction: Click on "Previous Visits" button to view all the visits of this patient in the past year.0..1display
.... 1.2Has the patient been admitted for this issue on any visits in the past year?0..1choiceValue Set: Yes/No/Don't Know
Expressions:

doco Documentation for this format

Source

{
  "resourceType": "Questionnaire",
  "id": "questionnaire-sdc-profile-example-context-expression",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "patient",
            "display": "Patient"
          }
        },
        {
          "url": "type",
          "valueCode": "Patient"
        },
        {
          "url": "description",
          "valueString": "The patient that is to be used to pre-populate the form"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    }
  ],
  "url": "http://hl7.org/fhir/uv/sdc/questionnaire-sdc-profile-example-context-expression",
  "version": "3.0.0",
  "name": "SDCExampleUsingContextExpression",
  "status": "draft",
  "date": "2022-03-08T18:37:19+00:00",
  "publisher": "HL7 International - FHIR Infrastructure Work Group",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "item": [
    {
      "linkId": "1.0",
      "type": "group",
      "item": [
        {
          "linkId": "1.1",
          "text": "Instruction: Click on \"Previous Visits\" button to view all the visits of this patient in the past year.",
          "type": "display"
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "label",
                  "valueString": "Encounters in past year"
                },
                {
                  "url": "expression",
                  "valueExpression": {
                    "description": "list all Encounters with patient in the past year, in order by date - newest to oldest",
                    "language": "application/x-fhir-query",
                    "expression": "Encounter?patient={{%patient.id}}&date=ge{{today()-1 year}}&_sort=-date&_include=Encounter:practitioner"
                  }
                }
              ],
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression"
            },
            {
              "extension": [
                {
                  "url": "path",
                  "valueString": "period.start"
                },
                {
                  "url": "label",
                  "valueString": "Date"
                },
                {
                  "url": "width",
                  "valueQuantity": {
                    "value": 40,
                    "system": "http://unitsofmeasure.org",
                    "code": "%"
                  }
                },
                {
                  "url": "forDisplay",
                  "valueBoolean": true
                }
              ],
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
            },
            {
              "extension": [
                {
                  "url": "path",
                  "valueString": "reason.coding.display + ' - ' + type.text"
                },
                {
                  "url": "label",
                  "valueString": "Visit Reason/Description"
                },
                {
                  "url": "width",
                  "valueQuantity": {
                    "value": 60,
                    "system": "http://unitsofmeasure.org",
                    "code": "%"
                  }
                },
                {
                  "url": "forDisplay",
                  "valueBoolean": false
                }
              ],
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ],
                "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others."
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ],
                "text": "A control where choices are listed with a button beside them. The button can be toggled to select or de-select a given choice. Selecting one item deselects all others."
              }
            }
          ],
          "linkId": "1.2",
          "text": "Has the patient been admitted for this issue on any visits in the past year?",
          "type": "choice",
          "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow"
        }
      ]
    }
  ]
}