Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: SDC Form Filler - TTL Representation

Page standards status: Trial-use Maturity Level: 3

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@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:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "sdc-form-filler"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>SDC Form Filler</h2>\n      <p>(Requirements Definition Capability Statement)</p>\n      <p>Canonical URL: http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler Published: 2014-07-06 (draft)</p>\n      <p>Published by: <b>HL7 International - FHIR Infrastructure</b>\n      </p>\n      <p>This profile defines the expected capabilities of the <i>SDC Form Filler</i> role when conforming to the S&amp;I Framework's <a href=\"index.html\">Structured Data Capture FHIR implementation guide</a>.  This role is responsible for retrieving pre-defined forms, requesting pre-population of forms and/or auto-populating forms, guiding the user through verifying populated data and submitting completed or partially-completed forms.</p>\n      <p>Note that Form Fillers may also take on the role of <a href=\"CapabilityStatement-sdc-form-archiver.html\">Form Archiver</a> if they have a requirement to retain the completed version of a form (and potentially the source data that was used to complete it).</p>\n      <h2>General</h2>\n      <div class=\"table-wrapper\">\n        <table class=\"grid\">\n          <tbody>\n            <tr>\n              <th>FHIR Version:</th>\n              <td>1.0.0</td>\n            </tr>\n            <tr>\n              <th>Supported formats:</th>\n              <td>xml, json</td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <h2>REST client behavior</h2>\n      <p>The <a href=\"http://hl7.org/fhir/R4/questionnaire.html\">Questionnaire</a>, <a href=\"http://hl7.org/fhir/R4/valueset.html\">ValueSet</a> and <a href=\"http://hl7.org/fhir/R4/codesystem.html\">CodeSystem</a> resources are retrieved to allow the system to guide the user through the entry process.  The <a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a> and <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a> resources allow the system to find existing clinical documents that can be within the pre-population process.  (Support for retrieval operations on these resources is optional as the relevant CDA or FHIR structures may also be directly generated by the <i>Form Filler</i> itself.)  Finally, the <a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\">QuestionnaireResponse</a> resource is used to record the populated form.</p>\n      <p>Note: Form Fillers that support the 'populate' operation will need to be capable of consuming and rendering a partially completed QuestionnaireResponse in the same manner as if they had retrieved such a QuestionnaireResponse from a <i>Form Response Manager</i>\n      </p>\n      <p>\n        <b>Security:</b>\n      </p>\n      <p>Implementations must meet the general security requirements documented in the <a href=\"security.html\">SDC implementation guide</a>.</p>\n      <h3>Resource summary</h3>\n      <div class=\"table-wrapper\">\n        <table class=\"grid\">\n          <thead>\n            <tr>\n              <th>Resource</th>\n              <th>Search</th>\n              <th>Read</th>\n              <th>Read Version</th>\n              <th>Instance History</th>\n              <th>Resource History</th>\n              <th>Create</th>\n              <th>Update</th>\n              <th>Delete</th>\n              <th>Operations</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>Questionnaire (<a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire\">Profile</a>)</th>\n              <td>\n                <a href=\"#Questionnaire-search-type\" title=\"Allows discovery of existing questionnaires to be completed\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#Questionnaire-read\" title=\"Allows retrieval of a specific questionnaire by id.  Allows systems to maintain a 'favorites' list of forms and retrieve them by id.\">SHOULD</a>\n              </td>\n              <td>\n                <a href=\"#Questionnaire-vread\" title=\"Allows retrieval of a historical version of a questionnaire.  Most systems will make use of the current version only.\">MAY</a>\n              </td>\n              <td>\n                <a href=\"#Questionnaire-history-instance\" title=\"Allows review of changes made to a questionnaire over time.  Of interest to some systems, but probably not most.\">MAY</a>\n              </td>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n            </tr>\n            <tr>\n              <th>ValueSet (<a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset\">Profile</a>)</th>\n              <td/>\n              <td>\n                <a href=\"#ValueSet-read\" title=\"Allows retrieval of a specific value set by id (as referenced in a Questionnaire)\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#ValueSet-vread\" title=\"Allows retrieval of a specific version of a value set (as referenced in a Questionnaire)\">SHOULD</a>\n              </td>\n              <td>\n                <a href=\"#ValueSet-history-instance\" title=\"Allows review of changes to a value set over time.  Of interest to some systems, but probably not most.\">MAY</a>\n              </td>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n            </tr>\n            <tr>\n              <th>CodeSystem (<a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem\">Profile</a>)</th>\n              <td/>\n              <td>\n                <a href=\"#CodeSystem-read\" title=\"Allows retrieval of a specific code system by id (as referenced by a ValueSet used in a Questionnaire)\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#CodeSystem-vread\" title=\"Allows retrieval of a specific version of a code system (as referenced by a ValueSet used in a Questionnaire)\">SHOULD</a>\n              </td>\n              <td>\n                <a href=\"#CodeSystem-history-instance\" title=\"Allows review of changes to a code system over time.  Of interest to some systems, but probably not most.\">MAY</a>\n              </td>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n            </tr>\n            <tr>\n              <th>QuestionnaireResponse (<a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse\">Profile</a>)</th>\n              <td>\n                <a href=\"#QuestionnaireResponse-search-type\" title=\"Allows a user to search for existing completed or partially-completed forms.  Generally used to find partially-completed forms for update.\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#QuestionnaireResponse-read\" title=\"Allows retrieval of a specific QuestionnaireResponse by id.\">SHALL</a>\n              </td>\n              <td/>\n              <td>\n                <a href=\"#QuestionnaireResponse-history-instance\" title=\"Allows review of prior versions of an answer set - allows reversion to previously recorded versions\">SHOULD</a>\n              </td>\n              <td/>\n              <td>\n                <a href=\"#QuestionnaireResponse-create\" title=\"Allows recording a completed or partially-completed form\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#QuestionnaireResponse-update\" title=\"Allows updating an existing completed or partially-completed form.  (Systems may place rules on who can update forms and under what circumstances.)\">SHALL</a>\n              </td>\n              <td>\n                <a href=\"#QuestionnaireResponse-delete\" title=\"Allows removal of a completed form from a repository.  Note that the removal may be logical rather than physical.  Some systems may have rules for who can remove a completed form and under what circumstances.\">SHALL</a>\n              </td>\n              <td/>\n            </tr>\n            <tr>\n              <th>DocumentReference</th>\n              <td>\n                <a href=\"#DocumentReference-search-type\" title=\"Allows discovery of existing documents that may be included in a form pre-population request\">SHOULD</a>\n              </td>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n            </tr>\n            <tr>\n              <th>Binary</th>\n              <td/>\n              <td>\n                <a href=\"#Binary-read\" title=\"Allows retrieval of a specific binary (as pointed to by a DocumentReference)\">SHOULD</a>\n              </td>\n              <td>\n                <a href=\"#Binary-vread\" title=\"Allows retrieval of a historical version of a binary.  In general, the most recent version would be appropriate, but some may prefer to use the specific version referenced by a DocumentReference.\">MAY</a>\n              </td>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n              <td/>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <p>\n        <b>Operations:</b>\n      </p>\n      <ul>\n        <li>\n          <a href=\"http://hl7.org/fhir/OperationDefinition/ValueSet-expand\">$expand</a>\n          <i> SHOULD</i>\n        </li>\n        <li>\n          <a href=\"http://hl7.org/fhir/operationdefinition/valueset-validate-code\">$validate code</a>\n          <i> SHOULD</i>\n        </li>\n        <li>\n          <a href=\"http://hl7.org/fhir/uv/sdc/operationdefinition/questionnaire-populate\">$populate</a>\n          <i> MAY</i>\n        </li>\n        <li>\n          <a href=\"http://hl7.org/fhir/uv/sdc/operationdefinition/questionnaire-populatehtml\">$populatehtml</a>\n          <i> MAY</i>\n        </li>\n        <li>\n          <a href=\"http://hl7.org/fhir/uv/sdc/operationdefinition/questionnaire-populatelink\">$populatelink</a>\n          <i> MAY</i>\n        </li>\n      </ul>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/questionnaire.html\">Questionnaire</a>\n      </h3>\n      <p>Profile: <a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire\">http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire</a>\n      </p>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"Questionnaire-search-type\"> </a>\n                <span>search-type</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows discovery of existing questionnaires to be completed</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"Questionnaire-read\"> </a>\n                <span>read</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows retrieval of a specific questionnaire by id.  Allows systems to maintain a 'favorites' list of forms and retrieve them by id.</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"Questionnaire-history-instance\"> </a>\n                <span>history-instance</span>\n              </th>\n              <td>MAY</td>\n              <td>\n                <p>Allows review of changes made to a questionnaire over time.  Of interest to some systems, but probably not most.</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"Questionnaire-vread\"> </a>\n                <span>vread</span>\n              </th>\n              <td>MAY</td>\n              <td>\n                <p>Allows retrieval of a historical version of a questionnaire.  Most systems will make use of the current version only.</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/valueset.html\">ValueSet</a>\n      </h3>\n      <p>Profile: <a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset\">http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset</a>\n      </p>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"ValueSet-read\"> </a>\n                <span>read</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows retrieval of a specific value set by id (as referenced in a Questionnaire)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"ValueSet-vread\"> </a>\n                <span>vread</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows retrieval of a specific version of a value set (as referenced in a Questionnaire)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"ValueSet-history-instance\"> </a>\n                <span>history-instance</span>\n              </th>\n              <td>MAY</td>\n              <td>\n                <p>Allows review of changes to a value set over time.  Of interest to some systems, but probably not most.</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/codesystem.html\">CodeSystem</a>\n      </h3>\n      <p>Profile: <a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem\">http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem</a>\n      </p>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"CodeSystem-read\"> </a>\n                <span>read</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows retrieval of a specific code system by id (as referenced by a ValueSet used in a Questionnaire)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"CodeSystem-vread\"> </a>\n                <span>vread</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows retrieval of a specific version of a code system (as referenced by a ValueSet used in a Questionnaire)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"CodeSystem-history-instance\"> </a>\n                <span>history-instance</span>\n              </th>\n              <td>MAY</td>\n              <td>\n                <p>Allows review of changes to a code system over time.  Of interest to some systems, but probably not most.</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\">QuestionnaireResponse</a>\n      </h3>\n      <p>Profile: <a href=\"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse\">http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse</a>\n      </p>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-search-type\"> </a>\n                <span>search-type</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows a user to search for existing completed or partially-completed forms.  Generally used to find partially-completed forms for update.</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-read\"> </a>\n                <span>read</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows retrieval of a specific QuestionnaireResponse by id.</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-create\"> </a>\n                <span>create</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows recording a completed or partially-completed form</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-update\"> </a>\n                <span>update</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows updating an existing completed or partially-completed form.  (Systems may place rules on who can update forms and under what circumstances.)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-delete\"> </a>\n                <span>delete</span>\n              </th>\n              <td>SHALL</td>\n              <td>\n                <p>Allows removal of a completed form from a repository.  Note that the removal may be logical rather than physical.  Some systems may have rules for who can remove a completed form and under what circumstances.</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"QuestionnaireResponse-history-instance\"> </a>\n                <span>history-instance</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows review of prior versions of an answer set - allows reversion to previously recorded versions</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a>\n      </h3>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"DocumentReference-search-type\"> </a>\n                <span>search-type</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows discovery of existing documents that may be included in a form pre-population request</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n      <br/>\n      <br/>\n      <h3>\n        <a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a>\n      </h3>\n      <h4>Interactions</h4>\n      <div class=\"table-wrapper\">\n        <table class=\"list\">\n          <thead>\n            <tr>\n              <th>Name</th>\n              <th>Conformance</th>\n              <th>Description</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <th>\n                <a name=\"Binary-read\"> </a>\n                <span>read</span>\n              </th>\n              <td>SHOULD</td>\n              <td>\n                <p>Allows retrieval of a specific binary (as pointed to by a DocumentReference)</p>\n              </td>\n            </tr>\n            <tr>\n              <th>\n                <a name=\"Binary-vread\"> </a>\n                <span>vread</span>\n              </th>\n              <td>MAY</td>\n              <td>\n                <p>Allows retrieval of a historical version of a binary.  In general, the most recent version would be appropriate, but some may prefer to use the specific version referenced by a DocumentReference.</p>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n    </div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler"];
  fhir:CapabilityStatement.version [ fhir:value "3.0.0"];
  fhir:CapabilityStatement.name [ fhir:value "SDCFormFiller"];
  fhir:CapabilityStatement.title [ fhir:value "SDC Form Filler"];
  fhir:CapabilityStatement.status [ fhir:value "draft"];
  fhir:CapabilityStatement.date [ fhir:value "2014-07-06"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 International - FHIR Infrastructure Work Group"];
  fhir:CapabilityStatement.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:CapabilityStatement.description [ fhir:value "This profile defines the expected capabilities of the ''SDC Form Filler'' role when conforming to the S&I Framework's [[index.html|Structured Data Capture FHIR implementation guide]].  This role is responsible for retrieving pre-defined forms, requesting pre-population of forms and/or auto-populating forms, guiding the user through verifying populated data and submitting completed or partially-completed forms.<br/>Note that Form Fillers may also take on the role of [[CapabilityStatement-sdc-form-archiver.html|Form Archiver]] if they have a requirement to retain the completed version of a form (and potentially the source data that was used to complete it)."];
  fhir:CapabilityStatement.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:CapabilityStatement.kind [ fhir:value "requirements"];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "1.0.0"];
  fhir:CapabilityStatement.format [
     fhir:value "xml";
     fhir:index 0
  ], [
     fhir:value "json";
     fhir:index 1
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "client" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The [[Questionnaire]], [[ValueSet]] and [[CodeSystem]] resources are retrieved to allow the system to guide the user through the entry process.  The [[Binary]] and [[DocumentReference]] resources allow the system to find existing clinical documents that can be within the pre-population process.  (Support for retrieval operations on these resources is optional as the relevant CDA or FHIR structures may also be directly generated by the ''Form Filler'' itself.)  Finally, the [[QuestionnaireResponse]] resource is used to record the populated form.<br/>Note: Form Fillers that support the 'populate' operation will need to be capable of consuming and rendering a partially completed QuestionnaireResponse in the same manner as if they had retrieved such a QuestionnaireResponse from a ''Form Response Manager''" ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.description [ fhir:value "Implementations must meet the general security requirements documented in the [[security.html|SDC implementation guide]]." ]     ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Questionnaire" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire";
         fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing questionnaires to be completed" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific questionnaire by id.  Allows systems to maintain a 'favorites' list of forms and retrieve them by id." ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes made to a questionnaire over time.  Of interest to some systems, but probably not most." ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a questionnaire.  Most systems will make use of the current version only." ]       ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "ValueSet" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset";
         fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific value set by id (as referenced in a Questionnaire)" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific version of a value set (as referenced in a Questionnaire)" ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to a value set over time.  Of interest to some systems, but probably not most." ]       ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CodeSystem" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem";
         fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystem>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific code system by id (as referenced by a ValueSet used in a Questionnaire)" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific version of a code system (as referenced by a ValueSet used in a Questionnaire)" ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to a code system over time.  Of interest to some systems, but probably not most." ]       ]     ], [
       fhir:index 3;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "QuestionnaireResponse" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse";
         fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows a user to search for existing completed or partially-completed forms.  Generally used to find partially-completed forms for update." ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific QuestionnaireResponse by id." ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows recording a completed or partially-completed form" ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows updating an existing completed or partially-completed form.  (Systems may place rules on who can update forms and under what circumstances.)" ]       ], [
         fhir:index 4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows removal of a completed form from a repository.  Note that the removal may be logical rather than physical.  Some systems may have rules for who can remove a completed form and under what circumstances." ]       ], [
         fhir:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of prior versions of an answer set - allows reversion to previously recorded versions" ]       ]     ], [
       fhir:index 4;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DocumentReference" ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing documents that may be included in a form pre-population request" ]       ]     ], [
       fhir:index 5;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Binary" ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific binary (as pointed to by a DocumentReference)" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ];
         fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a binary.  In general, the most recent version would be appropriate, but some may prefer to use the specific version referenced by a DocumentReference." ]       ]     ];
     fhir:CapabilityStatement.rest.operation [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "expand" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/OperationDefinition/ValueSet-expand";
         fhir:link <http://hl7.org/fhir/OperationDefinition/ValueSet-expand>       ]     ], [
       fhir:index 1;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate code" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code";
         fhir:link <http://hl7.org/fhir/OperationDefinition/ValueSet-validate-code>       ]     ], [
       fhir:index 2;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "MAY" ]       ];
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "populate" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate";
         fhir:link <http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populate>       ]     ], [
       fhir:index 3;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "MAY" ]       ];
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "populatehtml" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populatehtml";
         fhir:link <http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populatehtml>       ]     ], [
       fhir:index 4;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "MAY" ]       ];
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "populatelink" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populatelink";
         fhir:link <http://hl7.org/fhir/uv/sdc/OperationDefinition/Questionnaire-populatelink>       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.