Generated Narrative: Questionnaire questionnaire-sdc-profile-example-form-behavior Profile: Advanced Behavior Questionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints SDCAdvancedRenderingExample Questionnaire http://build.fhir.org/ig/HL7/sdc/questionnaire-sdc-profile-example-form-behavior#4.0.0 #xD; 1 Value constraints 0..1 group #xD; 1.1 First Name 0..1 string Max Length: 50 #xD; 1.2 Last Name 0..1 string #xD; 1.3 Postal Code (A1A 1A1) 0..1 string #xD; 1.4 Enter your weight in kg 0..1 decimal #xD; 1.5 Body Weight 0..1 quantity #xD; 1.6 Attach Proof of Citizenship 0..1 attachment #xD; 2 Value constraints 0..1 group #xD; 2.1 (I/We) worried whether (my/our) food would run out before (I/we) got money to buy more. 0..1 choice Options: 4 options #xD; 2.3 Activity Level 0..1 choice Value Set: LOINC Answer Codes for LL4882-8 #xD; 2.5 Applicable health conditions 0..* choice Value Set: Questionnaire Form Behavior Conditions #xD; 2.6 Email* 1..1 string #xD; 2.7 Current Date: 0..1 date #xD; 2.7.1 null 0..1 display #xD; 2.8 Heart History (check all that applies) 0..* open-choice Options: 5 options #xD; 2.9 Heart History (check at least 2): 1..* choice Options: 5 options #xD; 2.10 Heart History (check no more than 3): 1..* choice Options: 5 options #xD; 2.11 What treatments do you now have for heart disease? (select all that applies) 0..* choice Options: 6 options #xD; 2.12 Dosage 0..1 quantity #xD; 2.13 Specify age: 0..1 quantity #xD; 2.14 Select your preferred practitioner: 0..1 reference #xD; 3 Calculation 0..1 group #xD; 3.1 Deadline for submission (7 days from now) 0..1 date #xD; 3.2 null 0..1 group #xD; 3.2.1 Last Name: 0..1 string #xD; 3.2.2 First Name: 0..1 string #xD; 3.2.3 Gender: 0..1 string #xD; 3.3 Calculated Expression 0..1 group #xD; 3.3.1 Weight (kg) 0..1 decimal #xD; 3.3.2 Body Height (inches) 0..1 decimal #xD; 3.3.3 Your Body Mass Index (BMI) 0..1 decimal #xD; 3.4 CQF-related Example 0..1 group #xD; 3.4.1 Enter weight in kg 0..1 decimal #xD; 3.4.2 Enter email address 0..1 string #xD; 3.5 null 0..1 display #xD; 4 Other Controls 0..1 group #xD; 4.1 Marital Status 0..1 choice Value Set: MaritalStatus Initial Value: Coding = MaritalStatus#D "Divorced" #xD; 4.2 null 0..1 group #xD; 4.2.1 Choose Gender 0..1 choice Value Set: AdministrativeGender #xD; 4.2.2 Are you pregnant? (enableWhen = gender is Female, disableDisplay=protected) 0..1 choice Enable When: 4.2.1 = Value Set: Yes/No/Don't Know #xD; 4.2.3 Are you diabetic? (enableWhen = gender is Female, disableDisplay=hidden) 0..1 choice Enable When: 4.2.1 = Value Set: Yes/No/Don't Know #xD; 4.2.4 Have you been diagnosed with Gestational Diabetes? (enableBehavior = only when pregnant and diabetic, disableDisplay=protected) 0..1 choice Enable When: 4.2.2 = 4.2.3 = Value Set: Yes/No/Don't Know #xD; 4.2.5 Enter your birthdate (MM/DD/YYYY) 0..1 date Value Set: AdministrativeGender #xD; 4.2.6 Have you had mammogram before?(enableWhenExpression = only when gender is female and age > 40, disableDisplay=protected) 0..1 choice Value Set: Yes/No/Don't Know #xD; 4.4 Signature of Patient 1..1 attachment #xD; 4.5 All the practitioners below can speak the patient's language. Choose all preferred practioners: 0..* reference #xD; 4.6 null 0..1 group #xD; 4.6.1 Home Address 0..1 display #xD; 4.6.2 Address 0..1 string Definition: Patient.address.line #xD; 4.6.3 City 0..1 string Definition: Patient.address.city #xD; 4.6.4 Province 0..1 choice Definition: Patient.address.state Options: 10 options #xD; 4.6.5 Postal Code 0..1 string Definition: Patient.address.postalCode #xD; Documentation for this format Options Sets Answer options for 2.1 http://loinc.org#LA28397-0 ("Often true") http://loinc.org#LA6729-3 ("Sometimes true") http://loinc.org#LA28398-8 ("Never true") http://loinc.org#LA15775-2 ("Don't know/refused") Answer options for 2.8 http://example.org/CodeSystem/procedures#U1 ("Heart attack") http://example.org/CodeSystem/procedures#U2 ("Heart surgery") http://example.org/CodeSystem/procedures#U3 ("Cardiac catheterization") http://example.org/CodeSystem/procedures#U4 ("Coronary angioplasty (PTCA)") http://example.org/CodeSystem/procedures#U5 ("Cardiac pacemaker") Answer options for 2.9 http://example.org/CodeSystem/procedures#U1 ("Heart attack") http://example.org/CodeSystem/procedures#U2 ("Heart surgery") http://example.org/CodeSystem/procedures#U3 ("Cardiac catheterization") http://example.org/CodeSystem/procedures#U4 ("Coronary angioplasty (PTCA)") http://example.org/CodeSystem/procedures#U5 ("Cardiac pacemaker") Answer options for 2.10 http://example.org/CodeSystem/procedures#U1 ("Heart attack") http://example.org/CodeSystem/procedures#U2 ("Heart surgery") http://example.org/CodeSystem/procedures#U3 ("Cardiac catheterization") http://example.org/CodeSystem/procedures#U4 ("Coronary angioplasty (PTCA)") http://example.org/CodeSystem/procedures#U5 ("Cardiac pacemaker") Answer options for 2.11 http://example.org/CodeSystem/treatments#noTreatment ("NoTreatment") http://example.org/CodeSystem/treatments#aspirin ("Aspirin") http://example.org/CodeSystem/treatments#otherMeds ("Other medicines, tablets, or pills") http://example.org/CodeSystem/treatments#diet ("Diet") http://example.org/CodeSystem/treatments#exercise ("Exercise") http://example.org/CodeSystem/treatments#none ("None of the above") Answer options for 4.6.4 http://example.org/CodeSystem/provinces#Alberta ("Alberta") http://example.org/CodeSystem/provinces#BritishColumbia ("British Columbia") http://example.org/CodeSystem/provinces#Manitoba ("Manitoba") http://example.org/CodeSystem/provinces#NewBrunswick ("New Brunswick") http://example.org/CodeSystem/provinces#NewfoundlandAndLabrador ("Newfoundland and Labrador") http://example.org/CodeSystem/provinces#NovaScotia ("Nova Scotia") http://example.org/CodeSystem/provinces#Ontario ("Ontario") http://example.org/CodeSystem/provinces#PrinceEdwardIsland ("Prince Edward Island") http://example.org/CodeSystem/provinces#Quebec ("Quebec") http://example.org/CodeSystem/provinces#Saskatchewan ("Saskatchewan") Contained Resources ValueSet #WeightUnits Profile: SDC Value Set This value set includes codes based on the following rules: Import all the codes that are contained in Body Weight Units Include these codes as defined in http://terminology.hl7.org/CodeSystem/data-absent-reason version ?1.0.0 Code Display Definition unknown Unknown The value is expected to exist but is not known.
Adds 'unknown' to the ucum body weight value set
The patient that is to be used to pre-populate the form
%resource.repeat(item).where(linkId='1.3').answer.all(value.matches('[A-Z][0-9][A-Z] [0-9][A-Z][0-9]'))
(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.
'Please only enter data that has been validated as of ' + today()
What treatments do you now have for heart disease? (select all that applies)
name.where(use='official').family + ', ' + name.where(use='official').given.first()
Deadline for submission (7 days from now)
'Your last immunization was on '+ %Immunization.occurrenceDateTime.substring(0,10) + '.'
Are you pregnant? (enableWhen = gender is Female, disableDisplay=protected)
Are you diabetic? (enableWhen = gender is Female, disableDisplay=hidden)
Have you been diagnosed with Gestational Diabetes? (enableBehavior = only when pregnant and diabetic, disableDisplay=protected)
%resource.repeat(item).where(linkId='4.2.b.1').answer.value.code ='female' and today().toString().substring(0, 4).toInteger() - %resource.repeat(item).where(linkId='4.2.b.5').answer.value.toString().substring(0, 4).toInteger() >= 40
Have you had mammogram before?(enableWhenExpression = only when gender is female and age > 40, disableDisplay=protected)
the signature of a witness to any other signature.
active practitioners that speak at least one of the patient's language
All the practitioners below can speak the patient's language. Choose all preferred practioners: