2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Conformance-sdc-form-manager.xml

Raw XML (canonical form)

SDC Repository for forms (id = "sdc-formmanager")

Raw XML

<Conformance xmlns="http://hl7.org/fhir">
  <id value="sdc-formmanager"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <name value="SDC Form Manager"/>
  <publisher value="U.S. Office of the National Coordinator (ONC)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://wiki.siframework.org/Structured+Data+Capture+Initiative"/>
    </telecom>
  </contact>
  <description value="This profile defines the expected capabilities of the ''SDC Form Manager'' role when conforming
   to the S&amp;I Framework's [[sdc|Structured Data Capture FHIR implementation guide]].
    This role is responsible for maintaining a repository of form definitions and also of
   performing pre-population of form data."/>
  <status value="draft"/>
  <date value="2014-07-06"/>
  <fhirVersion value="0.2"/>
  <acceptUnknown value="false"/>
  <format value="xml"/>
  <format value="json"/>
  <rest>
    <mode value="server"/>
    <documentation value="The primary focus of the repository is the definition of [[Questionnaires]].  However,
     [[ValueSet]]s must also be supported to allow definition of coded data elements.  Some
     data elements will choose to maintain value sets as 'contained' resources, meaning the
     value set exists only in the context of the data element and cannot be referenced or maintained
     without also updating the data element.  However, systems should support value set re-use
     across data elements.  (Version-specific referencing can be used to avoid value sets from
     changing independent of the referencing [[Questionnaire]].)"/>
    <security>
      <description value="Implementations must meet the general security requirements documented in the [[sdc-security|SDC
       implementation guide]]."/>
    </security>
    <resource>
      <type value="Questionnaire"/>
      <profile>
        <reference value="http://hl7.org/fhir/Profile/questionnaire-sdc-"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows a user to search for existing forms"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific known form"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a specific version of a form"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a form over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
        <documentation value="Allows defining a new form.  Repositories requiring curation of submitted forms may require
         all new data elements to have a status of 'draft'."/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
        <documentation value="Allows an existing form to be updated.  Servers may choose to prohibit certain types of
         edits, instead requiring the creation of a new questionnaire (and potentially the retiring
         of the existing questionnaire).  Servers may also limit who can change particular forms."/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="validate"/>
        <documentation value="SHOULD. Allows a client to verify whether a particular new form or revision of an existing
         form would be accepted based on validation and other business rules.  Useful for some
         workflows"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
        <documentation value="Allows removal of an existing form.  Servers may choose to not support deletions and instead
         require that the form's status be changed to 'retired'.  Other systems support deletions
         but limit them to forms meeting certain requirements.  E.g. only forms with a status of
         draft or only forms that have been retired for at least two years, etc."/>
      </interaction>
      <searchInclude value="Questionnaire.group.question.options"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="identifier"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="publisher"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#publisher"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="status"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="title"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#title"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="version"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire#version"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="deReference"/>
        <definition value="http://hl7.org/fhir/SearchParameter/questionnaire-deReference"/>
        <type value="token"/>
      </searchParam>
    </resource>
    <resource>
      <type value="ValueSet"/>
      <profile>
        <reference value="http://hl7.org/fhir/Profile/valueset-sdc"/>
      </profile>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
        <documentation value="Allows discovery of existing value sets for use in authoring questionnaires"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
        <documentation value="Allows retrieval of a specific value set referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="vread"/>
        <documentation value="Allows retrieval of a historical version of a value set as referenced within a questionnaire"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a value set over time"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="create"/>
        <documentation value="Allows definition of a new value set used by one or more questionnaires"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="update"/>
        <documentation value="Allows existing value sets referenced by one or more questionnaires to be maintained"/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHOULD"/>
        </extension>
        <code value="validate"/>
        <documentation value="Allows verification that a value set is valid prior to submission - useful for some workflows."/>
      </interaction>
      <interaction>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="MAY"/>
        </extension>
        <code value="delete"/>
        <documentation value="Not all servers will support deletion of value sets.  Status change to 'retired' will
         be more typical, though deletion of draft value sets may keep repositories cleaner."/>
      </interaction><!--    Should we include this in the conformance statement at all?    -->
      <searchInclude value="ValueSet.compose.import"/>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="code"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#code"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#date"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="description"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#description"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="identifier"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="name"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#name"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="publisher"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#publisher"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="reference"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#reference"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="status"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#status"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="system"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#system"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="version"/>
        <definition value="http://hl7.org/fhir/SearchParameter/valueset#version"/>
        <type value="string"/>
      </searchParam>
    </resource>
    <operation>
      <extension url="http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation">
        <valueCode value="MAY"/>
      </extension>
      <name value="populate"/>
      <definition><!--    Todo: Confirm the id for the operation    -->
        <reference value="http://hl7.org/fhir/OperationDefinition#questionnaire-populate"/>
        <display value="Populate Questionnaire"/>
      </definition>
    </operation>
  </rest>
</Conformance>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.