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
Page standards status: Draft | Maturity Level: 0 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:Questionnaire;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "questionnaire-sdc-profile-example-framingham-hchd-lhc"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><b>Structure</b><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 2px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The linkId for the item\">LinkId</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Text for the item\">Text</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the itemcan appear in the instance\">Cardinality</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The type of the item\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Other attributes of the item\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the item\">Description & Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_q_root.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"QuestionnaireRoot\" class=\"hierarchy\"/> FraminghamHCHD</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A form for calculating the 10-year-risk of Hard Coronary Heart Disease. The constants used in the formula match those in https://www.framinghamheartstudy.org/fhs-risk-functions/hard-coronary-heart-disease-10-year-risk/, but the actual formulas are not listed there, and so we have not been able to verify them. However, the output of this form matches the output of a perl program (from which the formulas were taken) which matched the output of a calculator on a website, which regrettably no longer exists. So, while this form is good enough or a demo, it should not be relied on for real purposes without first verifying its formulas or its output against some other source.</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Questionnaire</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-framingham-hchd-lhc#3.0.0</td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./age\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-decimal.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Decimal\" class=\"hierarchy\"/> /age</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Age (in years)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./age_requirement_notice\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-display.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Display\" class=\"hierarchy\"/> /age_requirement_notice</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Sorry, but the formulas are only valid for ages in the range 30 to 79.</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display\">display</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Enable When: <ul><li><a href=\"#item./age\">/age</a> < 30</li><li><a href=\"#item./age\">/age</a> > 79</li></ul></td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./46098-0\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-coding.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Coding\" class=\"hierarchy\"/> /46098-0</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Gender</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice\">choice</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Options: <a href=\"#opt-item./46098-0\">2 options</a></td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./smokes\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-coding.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Coding\" class=\"hierarchy\"/> /smokes</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Do you smoke?</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice\">choice</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Options: <a href=\"#opt-item./smokes\">2 options</a></td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./8480-6\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-decimal.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Decimal\" class=\"hierarchy\"/> /8480-6</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Systolic blood pressure</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./2093-3\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-decimal.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Decimal\" class=\"hierarchy\"/> /2093-3</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Cholesterol [Mass/Vol]</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./2085-9\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-decimal.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Decimal\" class=\"hierarchy\"/> /2085-9</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Cholesterol in HDL [Mass/Vol]</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./antihypertensive\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-coding.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Coding\" class=\"hierarchy\"/> /antihypertensive</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Are you taking medication for high blood pressure?</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-choice\">choice</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Options: <a href=\"#opt-item./antihypertensive\">2 options</a></td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item./all_answers_required_notice\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-display.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Display\" class=\"hierarchy\"/> /all_answers_required_notice</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">All answers are required before the risk probability can be computed.</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-display\">display</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" id=\"item.riskDecimal\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-decimal.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Decimal\" class=\"hierarchy\"/> riskDecimal</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">10-year HCHD Risk Probabilily as a decimal (0 to 1)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/extension-questionnaire-hidden.html\" title=\"Is a hidden item\"><img src=\"icon-qi-hidden.png\"/></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Expressions: <ul><li style=\"font-size: 11px\"><a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression\">Calculated Value</a>: <code>%risk</code></li></ul></td></tr>\r\n<tr style=\"border: 1px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" id=\"item.riskPercentage\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-string.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"String\" class=\"hierarchy\"/> riskPercentage</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">10-year HCHD Risk Probabilily</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html#item-type-string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Expressions: <ul><li style=\"font-size: 11px\"><a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression\">Calculated Value</a>: <code>iif(%risk.exists(), (%risk * 100).round(2).toString() & '%', {})</code></li></ul></td></tr>\r\n<tr><td colspan=\"6\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table><hr/><p><b>Option Sets</b></p><a name=\"opt-item./46098-0\"> </a><p><b>Answer options for /46098-0</b></p><ul><li style=\"font-size: 11px\"><a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-loinc.html\">LOINC</a>: LA2-8 ("Male")</li><li style=\"font-size: 11px\"><a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-loinc.html\">LOINC</a>: LA3-6 ("Female")</li></ul><a name=\"opt-item./smokes\"> </a><p><b>Answer options for /smokes</b></p><ul><li style=\"font-size: 11px\">http://example.org#Y ("Yes")</li><li style=\"font-size: 11px\">http://example.org#N ("No")</li></ul><a name=\"opt-item./antihypertensive\"> </a><p><b>Answer options for /antihypertensive</b></p><ul><li style=\"font-size: 11px\">http://example.org#Y ("Yes")</li><li style=\"font-size: 11px\">http://example.org#N ("No")</li></ul></div>"
];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "age" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/age').answer.valueDecimal" ] ]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "gender" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/46098-0').answer.valueCoding.display" ] ]
], [
fhir:index 2;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "smokesCode" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/smokes').answer.valueCoding.code" ] ]
], [
fhir:index 3;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "smokes" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%smokesCode.exists(), iif(%smokesCode = 'Y', 1, 0), {})" ] ]
], [
fhir:index 4;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "systolic" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/8480-6').answer.valueDecimal" ] ]
], [
fhir:index 5;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "tChol" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/2093-3').answer.valueDecimal" ] ]
], [
fhir:index 6;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "hdl" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/2085-9').answer.valueDecimal" ] ]
], [
fhir:index 7;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "antihypertCode" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "item.where(linkId='/antihypertensive').answer.valueCoding.code" ] ]
], [
fhir:index 8;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "antihypert" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%antihypertCode.exists(), iif(%systolic >= 120, iif(%antihypertCode = 'Y', 1, 0), 0), {})" ] ]
], [
fhir:index 9;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "allQuestionsAnswered" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "%age.exists() and %gender.exists() and %smokes.exists() and %systolic.exists() and %tChol.exists() and %hdl.exists() and %antihypert.exists()" ] ]
], [
fhir:index 10;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "femaleOver78" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%allQuestionsAnswered, iif(%gender = 'Female', iif(%age>78, 1 - (0.98767).power((31.764001 * (%age.ln() - 3.9213204) + 22.465206 * (%tChol.ln() - 5.3628984) - 1.187731 * (%hdl.ln() - 4.0146369) + 2.552905 * (%systolic.ln() - 4.8376494) + 0.420251 * (%antihypert - 0.142802) + 13.07543 * (%smokes - 0.3236202) - 5.060998 * (%age.ln() * %tChol.ln() - 21.0557746) - 2.996945 * (78.ln() * %smokes - 1.2519882)).exp()), {}), {}), {})" ] ]
], [
fhir:index 11;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "femaleNotOver78" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%allQuestionsAnswered, iif(%gender = 'Female', iif(%age<=78, 1 - (0.98767).power((31.764001 * (%age.ln() - 3.9213204) + 22.465206 * (%tChol.ln() - 5.3628984) - 1.187731 * (%hdl.ln() - 4.0146369) + 2.552905 * (%systolic.ln() - 4.8376494) + 0.420251 * (%antihypert - 0.142802) + 13.07543 * (%smokes - 0.3236202) - 5.060998 * (%age.ln() * %tChol.ln() - 21.0557746) - 2.996945 * (%age.ln() * %smokes - 1.2519882)).exp()), {}), {}), {})" ] ]
], [
fhir:index 12;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "maleOver70" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%allQuestionsAnswered, iif(%gender = 'Male', iif(%age>70, 1 - (0.9402).power((52.00961 * (%age.ln() - 3.8926095) + 20.014077 * (%tChol.ln() - 5.3441475) - 0.905964 * (%hdl.ln() - 3.7731132) + 1.305784 * (%systolic.ln() - 4.8618212) + 0.241549 * (%antihypert - 0.1180474) + 12.096316 * (%smokes - 0.335602) - 4.605038 * (%age.ln() * %tChol.ln() - 20.8111562) - 2.84367 * (70.ln() * %smokes - 1.2890301) - 2.93323 * (%age.ln() * %age.ln() - 15.2144965)).exp()), {}), {}), {})" ] ]
], [
fhir:index 13;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "maleNotOver70" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%allQuestionsAnswered, iif(%gender = 'Male', iif(%age<=70, 1 - (0.9402).power((52.00961 * (%age.ln() - 3.8926095) + 20.014077 * (%tChol.ln() - 5.3441475) - 0.905964 * (%hdl.ln() - 3.7731132) + 1.305784 * (%systolic.ln() - 4.8618212) + 0.241549 * (%antihypert - 0.1180474) + 12.096316 * (%smokes - 0.335602) - 4.605038 * (%age.ln() * %tChol.ln() - 20.8111562) - 2.84367 * (%age.ln() * %smokes - 1.2890301) - 2.93323 * (%age.ln() * %age.ln() - 15.2144965)).exp()), {}), {}), {})" ] ]
], [
fhir:index 14;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/variable" ];
fhir:Extension.valueExpression [
fhir:Expression.name [ fhir:value "risk" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "%femaleOver78 | %femaleNotOver78 | %maleOver70 | %maleNotOver70" ] ]
], [
fhir:index 15;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
fhir:Extension.valueCode [ fhir:value "draft" ]
], [
fhir:index 16;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]
];
fhir:Questionnaire.url [ fhir:value "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-framingham-hchd-lhc"];
fhir:Questionnaire.version [ fhir:value "3.0.0"];
fhir:Questionnaire.name [ fhir:value "FraminghamHCHD"];
fhir:Questionnaire.title [ fhir:value "Hard Coronary Heart Disease (10-year risk)"];
fhir:Questionnaire.status [ fhir:value "draft"];
fhir:Questionnaire.experimental [ fhir:value "true"^^xsd:boolean];
fhir:Questionnaire.subjectType [
fhir:value "Patient";
fhir:index 0
];
fhir:Questionnaire.date [ fhir:value "2022-03-08T18:33:14+00:00"^^xsd:dateTime];
fhir:Questionnaire.publisher [ fhir:value "HL7 International - FHIR Infrastructure Work Group"];
fhir:Questionnaire.contact [
fhir:index 0;
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/Special/committees/fiwg" ] ]
];
fhir:Questionnaire.description [ fhir:value "A form for calculating the 10-year-risk of Hard Coronary Heart Disease. The constants used in the formula match those in https://www.framinghamheartstudy.org/fhs-risk-functions/hard-coronary-heart-disease-10-year-risk/, but the actual formulas are not listed there, and so we have not been able to verify them. However, the output of this form matches the output of a perl program (from which the formulas were taken) which matched the output of a calculator on a website, which regrettably no longer exists. So, while this form is good enough or a demo, it should not be relied on for real purposes without first verifying its formulas or its output against some other source."];
fhir:Questionnaire.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
fhir:Coding.code [ fhir:value "001" ] ]
];
fhir:Questionnaire.item [
fhir:index 0;
fhir:Questionnaire.item.linkId [ fhir:value "/age" ];
fhir:Questionnaire.item.code [
fhir:index 0;
a loinc:30525-0;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "30525-0" ];
fhir:Coding.display [ fhir:value "Age" ] ];
fhir:Questionnaire.item.text [ fhir:value "Age (in years)" ];
fhir:Questionnaire.item.type [ fhir:value "decimal" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]
], [
fhir:index 1;
fhir:Questionnaire.item.linkId [ fhir:value "/age_requirement_notice" ];
fhir:Questionnaire.item.text [ fhir:value "Sorry, but the formulas are only valid for ages in the range 30 to 79." ];
fhir:Questionnaire.item.type [ fhir:value "display" ];
fhir:Questionnaire.item.enableWhen [
fhir:index 0;
fhir:Questionnaire.item.enableWhen.question [ fhir:value "/age" ];
fhir:Questionnaire.item.enableWhen.operator [ fhir:value "<" ];
fhir:Questionnaire.item.enableWhen.answerDecimal [ fhir:value "30"^^xsd:decimal ] ], [
fhir:index 1;
fhir:Questionnaire.item.enableWhen.question [ fhir:value "/age" ];
fhir:Questionnaire.item.enableWhen.operator [ fhir:value ">" ];
fhir:Questionnaire.item.enableWhen.answerDecimal [ fhir:value "79"^^xsd:decimal ] ];
fhir:Questionnaire.item.enableBehavior [ fhir:value "any" ]
], [
fhir:index 2;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" ];
fhir:Extension.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/questionnaire-item-control" ];
fhir:Coding.code [ fhir:value "drop-down" ];
fhir:Coding.display [ fhir:value "Drop down" ] ];
fhir:CodeableConcept.text [ fhir:value "Drop down" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/46098-0" ];
fhir:Questionnaire.item.code [
fhir:index 0;
a loinc:46098-0;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "46098-0" ];
fhir:Coding.display [ fhir:value "Sex" ] ];
fhir:Questionnaire.item.text [ fhir:value "Gender" ];
fhir:Questionnaire.item.type [ fhir:value "choice" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
fhir:Questionnaire.item.answerOption [
fhir:index 0;
fhir:Questionnaire.item.answerOption.valueCoding [
a loinc:LA2-8;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "LA2-8" ];
fhir:Coding.display [ fhir:value "Male" ] ] ], [
fhir:index 1;
fhir:Questionnaire.item.answerOption.valueCoding [
a loinc:LA3-6;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "LA3-6" ];
fhir:Coding.display [ fhir:value "Female" ] ] ]
], [
fhir:index 3;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" ];
fhir:Extension.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/questionnaire-item-control" ];
fhir:Coding.code [ fhir:value "radio-button" ];
fhir:Coding.display [ fhir:value "Radio Button" ] ];
fhir:CodeableConcept.text [ fhir:value "Radio Button" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/smokes" ];
fhir:Questionnaire.item.text [ fhir:value "Do you smoke?" ];
fhir:Questionnaire.item.type [ fhir:value "choice" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
fhir:Questionnaire.item.answerOption [
fhir:index 0;
fhir:Questionnaire.item.answerOption.valueCoding [
fhir:Coding.system [ fhir:value "http://example.org" ];
fhir:Coding.code [ fhir:value "Y" ];
fhir:Coding.display [ fhir:value "Yes" ] ] ], [
fhir:index 1;
fhir:Questionnaire.item.answerOption.valueCoding [
fhir:Coding.system [ fhir:value "http://example.org" ];
fhir:Coding.code [ fhir:value "N" ];
fhir:Coding.display [ fhir:value "No" ] ] ]
], [
fhir:index 4;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" ];
fhir:Extension.valueCoding [
fhir:Coding.display [ fhir:value "mm[Hg]" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/8480-6" ];
fhir:Questionnaire.item.code [
fhir:index 0;
a loinc:8480-6;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "8480-6" ];
fhir:Coding.display [ fhir:value "Systolic blood pressure" ] ];
fhir:Questionnaire.item.text [ fhir:value "Systolic blood pressure" ];
fhir:Questionnaire.item.type [ fhir:value "decimal" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]
], [
fhir:index 5;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" ];
fhir:Extension.valueCoding [
fhir:Coding.display [ fhir:value "mg/dL" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/2093-3" ];
fhir:Questionnaire.item.code [
fhir:index 0;
a loinc:2093-3;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "2093-3" ];
fhir:Coding.display [ fhir:value "Cholesterol [Mass/volume] in Serum or Plasma" ] ];
fhir:Questionnaire.item.text [ fhir:value "Cholesterol [Mass/Vol]" ];
fhir:Questionnaire.item.type [ fhir:value "decimal" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]
], [
fhir:index 6;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" ];
fhir:Extension.valueCoding [
fhir:Coding.display [ fhir:value "mg/dL" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/2085-9" ];
fhir:Questionnaire.item.code [
fhir:index 0;
a loinc:2085-9;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "2085-9" ];
fhir:Coding.display [ fhir:value "Cholesterol in HDL [Mass/volume] in Serum or Plasma" ] ];
fhir:Questionnaire.item.text [ fhir:value "Cholesterol in HDL [Mass/Vol]" ];
fhir:Questionnaire.item.type [ fhir:value "decimal" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ]
], [
fhir:index 7;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" ];
fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" ];
fhir:Extension.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/questionnaire-item-control" ];
fhir:Coding.code [ fhir:value "radio-button" ];
fhir:Coding.display [ fhir:value "Radio Button" ] ];
fhir:CodeableConcept.text [ fhir:value "Radio Button" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "/antihypertensive" ];
fhir:Questionnaire.item.text [ fhir:value "Are you taking medication for high blood pressure?" ];
fhir:Questionnaire.item.type [ fhir:value "choice" ];
fhir:Questionnaire.item.required [ fhir:value "true"^^xsd:boolean ];
fhir:Questionnaire.item.answerOption [
fhir:index 0;
fhir:Questionnaire.item.answerOption.valueCoding [
fhir:Coding.system [ fhir:value "http://example.org" ];
fhir:Coding.code [ fhir:value "Y" ];
fhir:Coding.display [ fhir:value "Yes" ] ] ], [
fhir:index 1;
fhir:Questionnaire.item.answerOption.valueCoding [
fhir:Coding.system [ fhir:value "http://example.org" ];
fhir:Coding.code [ fhir:value "N" ];
fhir:Coding.display [ fhir:value "No" ] ] ]
], [
fhir:index 8;
fhir:Questionnaire.item.linkId [ fhir:value "/all_answers_required_notice" ];
fhir:Questionnaire.item.text [ fhir:value "All answers are required before the risk probability can be computed." ];
fhir:Questionnaire.item.type [ fhir:value "display" ]
], [
fhir:index 9;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression" ];
fhir:Extension.valueExpression [
fhir:Expression.description [ fhir:value "HCHD risk as decimal" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "%risk" ] ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:Questionnaire.item.linkId [ fhir:value "riskDecimal" ];
fhir:Questionnaire.item.text [ fhir:value "10-year HCHD Risk Probabilily as a decimal (0 to 1)" ];
fhir:Questionnaire.item.type [ fhir:value "decimal" ];
fhir:Questionnaire.item.required [ fhir:value "false"^^xsd:boolean ]
], [
fhir:index 10;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression" ];
fhir:Extension.valueExpression [
fhir:Expression.description [ fhir:value "HCHD risk as percentage" ];
fhir:Expression.language [ fhir:value "text/fhirpath" ];
fhir:Expression.expression [ fhir:value "iif(%risk.exists(), (%risk * 100).round(2).toString() & '%', {})" ] ] ];
fhir:Questionnaire.item.linkId [ fhir:value "riskPercentage" ];
fhir:Questionnaire.item.text [ fhir:value "10-year HCHD Risk Probabilily" ];
fhir:Questionnaire.item.type [ fhir:value "string" ];
fhir:Questionnaire.item.required [ fhir:value "false"^^xsd:boolean ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.