Structured Data Capture
4.0.0-ballot - STU 4 ballot International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: Complex Extract Demonstration - Definition - TTL Representation

Page standards status: Informative

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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:id [ fhir:v "extract-complex-defn3"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-defn>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Questionnaire extract-complex-defn3</b></p><a name=\"extract-complex-defn3\"> </a><a name=\"hcextract-complex-defn3\"> </a><a name=\"extract-complex-defn3-en-US\"> </a><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 item can 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=\"Additional information about the item\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" 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\"/> ExtractComplexDefn3</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Complex definition-based extraction example</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\">http://hl7.org/fhir/uv/sdc/Questionnaire/extract-complex-defn3#4.0.0-ballot</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_bck11.png)\" id=\"item.patient\" 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-group.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> patient</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Patient Information</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-group\">group</a></td><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_bck111.png)\" id=\"item.name\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-group.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> name</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Name</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</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-group\">group</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.name\">Patient.name</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_bck1110.png)\" id=\"item.given\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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\"/> given</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Given Name(s)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</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\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.name.given\">Patient.name.given</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_bck1100.png)\" id=\"item.family\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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: white; background-color: inherit\" title=\"string\" class=\"hierarchy\"/> family</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Family/Surname</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-string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.name.family\">Patient.name.family</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_bck110.png)\" id=\"item.gender\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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\"/> gender</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\">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-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\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.gender\">Patient.gender</a><br/>Value Set: <a href=\"http://hl7.org/fhir/R4/valueset-administrative-gender.html\">AdministrativeGender</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_bck110.png)\" id=\"item.dob\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-date.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"date\" class=\"hierarchy\"/> dob</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Date of Birth</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-date\">date</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.birthDate\">Patient.birthDate</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_bck110.png)\" id=\"item.ihi\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.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\"/> ihi</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">National Identifier (IHI)</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\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.identifier.value\">Patient.identifier.value</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_bck100.png)\" id=\"item.mobile-phone\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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: white; background-color: inherit\" title=\"string\" class=\"hierarchy\"/> mobile-phone</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Mobile Phone number</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-string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/patient.html#Patient.telecom.value\">Patient.telecom.value</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_bck11.png)\" id=\"item.contacts\" 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-group.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> contacts</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Contacts</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</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-group\">group</a></td><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_bck110.png)\" id=\"item.contact-name\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon-q-string.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"string\" class=\"hierarchy\"/> contact-name</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Name</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-string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/relatedperson.html#RelatedPerson.name.text\">RelatedPerson.name.text</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_bck110.png)\" id=\"item.relationship\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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\"/> relationship</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Relationship</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-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\">Definition: <a href=\"http://hl7.org/fhir/R4/relatedperson.html#RelatedPerson.relationship.coding\">RelatedPerson.relationship.coding</a><br/>Value Set: <a href=\"http://hl7.org/fhir/R4/valueset-patient-contactrelationship.html\">Patient Contact Relationship </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_bck100.png)\" id=\"item.phone\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.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: white; background-color: inherit\" title=\"string\" class=\"hierarchy\"/> phone</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Phone</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-string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/relatedperson.html#RelatedPerson.telecom.value\">RelatedPerson.telecom.value</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_bck01.png)\" id=\"item.obs\" 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-group.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"group\" class=\"hierarchy\"/> obs</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Observations</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-group\">group</a></td><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_bck010.png)\" id=\"item.height\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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\"/> height</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">What is your current height (m)</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\">Definition: <a href=\"http://hl7.org/fhir/R4/observation.html#Observation.value[x]:valueQuantity.value\">Observation.value[x]:valueQuantity.value</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_bck010.png)\" id=\"item.weight\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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\"/> weight</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">What is your current weight (kg)</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-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\">Definition: <a href=\"http://hl7.org/fhir/R4/observation.html#Observation.value[x]:valueQuantity.value\">Observation.value[x]:valueQuantity.value</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_bck000.png)\" id=\"item.complication\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.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-boolean.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"boolean\" class=\"hierarchy\"/> complication</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Have you had a Sigmoidoscopy Complication (concern with invasive procedure, for example)</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-boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 1px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Definition: <a href=\"http://hl7.org/fhir/R4/observation.html#Observation.value[x]\">Observation.value[x]</a></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://hl7.org/fhir/version-algorithm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "semver" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId"^^xsd:anyURI ] ;
fhir:value [ fhir:v "NewPatientId" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/Questionnaire/extract-complex-defn3"^^xsd:anyURI] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.17.35.32" ]
  ] ) ; # 
  fhir:version [ fhir:v "4.0.0-ballot"] ; # 
  fhir:name [ fhir:v "ExtractComplexDefn3"] ; # 
  fhir:title [ fhir:v "Complex Extract Demonstration - Definition"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-12-16T09:47:19+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International / FHIR Infrastructure" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Complex definition-based extraction example"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:item ( [
    ( fhir:extension [
      ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>         ]       ] [
fhir:url [ fhir:v "fullUrl"^^xsd:anyURI ] ;
fhir:value [ fhir:v "%NewPatientId" ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"^^xsd:anyURI ]     ] ) ;
fhir:linkId [ fhir:v "patient" ] ;
fhir:text [ fhir:v "Patient Information" ] ;
fhir:type [ fhir:v "group" ] ;
    ( fhir:item [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.name.text"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "item.where(linkId='given' or linkId='family').answer.value.join(' ')" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "name" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.name"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Name" ] ;
fhir:type [ fhir:v "group" ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ] ;
      ( fhir:item [
fhir:linkId [ fhir:v "given" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.name.given"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Given Name(s)" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ]       ] [
fhir:linkId [ fhir:v "family" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.name.family"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Family/Surname" ] ;
fhir:type [ fhir:v "string" ]       ] )     ] [
fhir:linkId [ fhir:v "gender" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.gender"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Gender" ] ;
fhir:type [ fhir:v "choice" ] ;
fhir:answerValueSet [
fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender>       ]     ] [
fhir:linkId [ fhir:v "dob" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.birthDate"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Date of Birth" ] ;
fhir:type [ fhir:v "date" ]     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.identifier.type"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "National Identifier (IHI)" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.identifier.system"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://example.org/nhio"^^xsd:anyURI ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "ihi" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.identifier.value"^^xsd:anyURI ] ;
fhir:text [ fhir:v "National Identifier (IHI)" ] ;
fhir:type [ fhir:v "string" ]     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.telecom.use"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "phone" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.telecom.system"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "mobile" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "mobile-phone" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient#Patient.telecom.value"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Mobile Phone number" ] ;
fhir:type [ fhir:v "string" ]     ] )
  ] [
    ( fhir:extension [
      ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson>         ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"^^xsd:anyURI ]     ] [
      ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.patient.reference"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%NewPatientId" ]         ]       ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]     ] ) ;
fhir:linkId [ fhir:v "contacts" ] ;
fhir:text [ fhir:v "Contacts" ] ;
fhir:type [ fhir:v "group" ] ;
fhir:repeats [ fhir:v "true"^^xsd:boolean ] ;
    ( fhir:item [
fhir:linkId [ fhir:v "contact-name" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.name.text"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Name" ] ;
fhir:type [ fhir:v "string" ]     ] [
fhir:linkId [ fhir:v "relationship" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.relationship.coding"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Relationship" ] ;
fhir:type [ fhir:v "choice" ] ;
fhir:answerValueSet [
fhir:v "http://hl7.org/fhir/ValueSet/patient-contactrelationship"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/patient-contactrelationship>       ]     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.telecom.use"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "phone" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.telecom.system"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "mobile" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "phone" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson#RelatedPerson.telecom.value"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Phone" ] ;
fhir:type [ fhir:v "string" ]     ] )
  ] [
fhir:linkId [ fhir:v "obs" ] ;
fhir:text [ fhir:v "Observations" ] ;
fhir:type [ fhir:v "group" ] ;
    ( fhir:item [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.status"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "final" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.code.coding"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding, loinc:8302-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8302-2" ] ;
fhir:display [ fhir:v "Body height" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.subject.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%NewPatientId" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.effective"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.issued"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.performer"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%resource.author" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]:valueQuantity.unit"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "m" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.derivedFrom.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "'QuestionnaireResponse/' + %resource.id" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "height" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]:valueQuantity.value"^^xsd:anyURI ] ;
fhir:text [ fhir:v "What is your current height (m)" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.status"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "final" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.code.coding"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding, loinc:29463-7 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "29463-7" ] ;
fhir:display [ fhir:v "Weight" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.subject.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%NewPatientId" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.effective"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.issued"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.performer"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%resource.author" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]:valueQuantity.unit"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "kg" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.derivedFrom.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "'QuestionnaireResponse/' + %resource.id" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "weight" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]:valueQuantity.value"^^xsd:anyURI ] ;
fhir:text [ fhir:v "What is your current weight (kg)" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.status"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [ fhir:v "final" ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.code.coding"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "fixed-value"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "http://example.org/sdh/demo/CodeSystem/cc-screening-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "sigmoidoscopy-complication" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.subject.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%NewPatientId" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.effective"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.issued"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%resource.authored | %resource.meta.lastUpdated | now()).first()" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.performer"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%resource.author" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "definition"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.derivedFrom.reference"^^xsd:anyURI ]         ] [
fhir:url [ fhir:v "expression"^^xsd:anyURI ] ;
fhir:value [
a fhir:Expression ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "'QuestionnaireResponse/' + %resource.id" ]           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"^^xsd:anyURI ]       ] ) ;
fhir:linkId [ fhir:v "complication" ] ;
fhir:definition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]"^^xsd:anyURI ] ;
fhir:text [ fhir:v "Have you had a Sigmoidoscopy Complication (concern with invasive procedure, for example)" ] ;
fhir:type [ fhir:v "boolean" ]     ] )
  ] ) . #