Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Questionnaire: SDC Test Form - Enable When (Experimental)

Official URL: http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-enableWhen Version: 3.0.0
Standards status: Informative Computable Name: EnableWhenTests

A test form that has a variety of enable when scenarios for testing

Structure
LinkIdTextCardinalityTypeDescription & Constraintsdoco
.. EnableWhenTestsA test form that has a variety of enable when scenarios for testingQuestionnairehttp://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-enableWhen#3.0.0
... 3239e619-e2b9-492c-bf05-88b314fbe3e4Scenario 10..1group
.... 83d5c1a6-5dc3-44d0-9d9e-d687c72e143eQuestion 1 Check0..1boolean
.... fe0106a5-0e25-43a4-9820-7acb7e74d9d7Question 2 Check0..1boolean
.... s1-radioQuestion 3 Radio ( 1 2 3 )0..1choiceOptions: 3 options
.... 5e1209b7-c9e0-4bf4-b228-fr096s903m25Question 4 Radio ( 7 8 9 )0..1choiceOptions: 3 options
.... 5e1209b7-c9e0-4bf4-b228-c6591b540qmoQuestion 3 - enables the question0..1choiceOptions: 3 options
.... e5da17a7-7546-45c5-9bcd-d0b09a74cc14Question hidden until Q1 checked0..1stringEnable When: 83d5c1a6-5dc3-44d0-9d9e-d687c72e143e = true
.... e5da17a7-7546-45c5-9bcd-d0b09a74ty76Question hidden until Q3 radio 2 Selected0..1stringEnable When: s1-radio = 2
.... 65578509-21ae-4a48-94de-e46b1e87d3fbGroup hidden until enabled Q1 checked0..1groupEnable When: 83d5c1a6-5dc3-44d0-9d9e-d687c72e143e = true
..... 65578509-21ae-4a48-94de-e46b1e54kjuiQuestion 2 - disable the group0..1string
.... 3ca80fdf-6598-4dd7-b9df-8a2f10895e4eGroup present until Q2 checked0..1groupEnable When: fe0106a5-0e25-43a4-9820-7acb7e74d9d7 = false
..... 65578509-21ae-4a48-94de-e46b1e10ghqnQuestion 2 - disable the group when unchecked0..1string
.... 65578509-21ae-4a48-94de-e46be454f8k1Group hidden until radio 2 selected0..1groupEnable When: s1-radio = 2
..... 65578509-21ae-4a48-94de-e46bd161lqzpQuestion 2 - disable the group0..1string
.... 65578509-21ae-4a48-94de-h1l9v32opaseGroup hidden until dropdown selected0..1groupEnable When: 5e1209b7-c9e0-4bf4-b228-c6591b540qmo = 4
..... 65578509-21ae-sdj4-98s2-emhaskjh12Question 2 - disable the group0..1string
.... 65578509-21ae-4a48-3f56-aswtysn1238Group hidden until 7 is undeleted0..1groupEnable When: 5e1209b7-c9e0-4bf4-b228-fr096s903m25 != 7
..... 65578509-21ae-234vy-slo4-eddfjqwwr2Question 2 - disable the group0..1string
.... 76daed4f-f957-45cb-9584-aab95f6021d4Group hidden until 8 and 4 selected0..1groupEnable When:
..... 3cf51112-6896-4076-8994-b6ff3e52f359Question 2 - disable the group0..1string
... 02a7536f-06b2-4dee-94e1-f5cfcb0e8622Scenario 20..1group
.... 1acf93a7-0890-44cd-be48-542defb35248Yes/No/Dont know0..1choiceValue Set: http://sqlonfhir-r4.azurewebsites.net/fhir/ValueSet/a015b6a1ac024dc19baec940be2c1695
.... 945b97b5-6d74-4a55-9be1-1989751219fbGroup visible when Yes selected0..1groupEnable When: 1acf93a7-0890-44cd-be48-542defb35248 = Yes (expandedYes-NoIndicator#Y)
..... 840c08ad-4b27-4c1d-9d6e-824202518ad0Yes Question0..1string
.... fab7c5c4-0ac0-4afa-bd6d-c0ce4f5e0bdfGroup visible when Yes/No0..1groupEnable When: 1acf93a7-0890-44cd-be48-542defb35248 != asked but unknown (expandedYes-NoIndicator#ASKU)
..... e78586ac-8c97-42a8-a56b-779c5c1d81f1Yes/No Question0..1string
... 02a7536f-06b2-4dee-94e1-f5cfcb0e1234Scenario 3: Comparator enable when with answeroption data0..1group
.... s3-radioInteger Values Radio Buttons0..1choiceOptions: 3 options
.... 945b97b5-6d74-4a55-9be1-19897512jj89Group visible when value < 2.20..1groupEnable When: s3-radio < 2.1
..... 840c08ad-4b27-4c1d-9d6e-824202519kiedGroup 2 question0..1string
.... 04fabc33-534a-4047-9a13-c13b0b63fa17Group visible when valuw >= 2.20..1groupEnable When: s3-radio >= 2.1
..... e70a3a50-e646-4831-a00d-4d6fbdaajn84Group 3 question0..1string
... 02a7536f-06b2-4dee-94e1-f5cfcb0e5678Scenario 4: choice selections with groups0..1group
.... s4-radioInteger Values Radio Buttons0..1choiceOptions: 3 options
.... 945b97b5-6d74-4a55-9be1-1989751233ewGroup hidden until integer 2 selected0..1groupEnable When: s4-radio = 2
..... 840c08ad-4b27-4c1d-9d6e-82420251hg12Group 2 question0..1string
.... 04fabc33-534a-4047-9a13-c13b0b63gh76Group visible for 1 and 20..1groupEnable When: s4-radio != 3
..... e70a3a50-e646-4831-a00d-4d6fbdaaefc3Group 3 question0..1string
... 02a7536f-06b2-4dee-94e1-f5cfcb088990Scenario 5: Test EnableWhen Date Trigger0..1group
.... date_of_birth_questionDate of Birth0..1date
.... date_greater_2000-01-01Please specify if DOB > 2000-01-010..1stringEnable When: date_of_birth_question > 2000-01-01
.... date_less_2000-01-01Please specify if DOB is <= 2000-01-010..1stringEnable When: date_of_birth_question <= 2000-01-01
.... datetime_questionPlease specify time0..1time
.... datetime_question_greter_thanIf Time Greater Than 11:11:110..1stringEnable When: datetime_question > 11:11:11
.... datetime_question_less_than_equalIf Time Less Than 11:11:110..1stringEnable When: datetime_question <= 11:11:11
... 02a7536f-06b2-4dee-94e1-f5cfcb0hd732Scenario 6: Multi-select option enablewhen0..1group
.... BC029Adverse outcomes0..*choiceOptions: 6 options
.... BOWOPTOTHPlease specify:0..1stringMax Length: 100
Enable When: BC029 = 9 (example.org#9)

doco Documentation for this format

Option Sets

Answer options for s1-radio

  • http://example.org#1 ("One")
  • http://example.org#2 ("Two")
  • http://example.org#3 ("Three")

Answer options for 5e1209b7-c9e0-4bf4-b228-fr096s903m25

  • http://example.org#7 ("Seven")
  • http://example.org#8 ("Eight")
  • http://example.org#9 ("Nine")

Answer options for 5e1209b7-c9e0-4bf4-b228-c6591b540qmo

  • http://example.org#4 ("Four")
  • http://example.org#5 ("Five")
  • http://example.org#6 ("Six")

Answer options for s3-radio

  • http://example.org#1.1 ("1.1")
  • http://example.org#2.2 ("2.2")
  • http://example.org#3.3 ("3.3")

Answer options for s4-radio

  • http://example.org#1 ("1")
  • http://example.org#2 ("2")
  • http://example.org#3 ("3")

Answer options for BC029

  • http://example.org#1 ("Bleeding")
  • http://example.org#2 ("Infection/sepsis")
  • http://example.org#3 ("Perforation")
  • http://example.org#4 ("Reaction to sedation")
  • http://example.org#5 ("Death")
  • http://example.org#9 ("Other")