DAF Research, Release 1 Ballot

This page is part of the Data Access Framework (v1.8.0: STU 2 Ballot 2) based on FHIR v1.8.0. . For a full list of available versions, see the Directory of published versions

Profile daf-capabilitystatement


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="daf-capabilitystatement"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>url</b>: <a href="http://hl7.org/fhir/us/daf-research/StructureDefinition/daf-capabilitystatement">http://hl7.org/fhir/us/daf-research/StructureDefinition/daf-capabilitystatement</a></p><p><b>name</b>: Profile daf-capabilitystatement</p><p><b>status</b>: DRAFT</p><p><b>date</b>: 12/08/2016</p><p><b>publisher</b>: Health Level Seven International (FHIR Infrastructure WG - Data Access Framework)</p><p><b>contact</b>: </p><p><b>url</b>: <a href="http://hl7.org/fhir/us/daf-research/StructureDefinition/daf-capabilitystatement">http://hl7.org/fhir/us/daf-research/StructureDefinition/daf-capabilitystatement</a></p><p><b>name</b>: Profile daf-capabilitystatement</p><p><b>status</b>: DRAFT</p><p><b>publisher</b>: Health Level Seven International (FHIR Infrastructure WG - Data Access Framework)</p><p><b>contact</b>: </p><p><b>date</b>: 12/08/2016</p><blockquote><p><b>mapping</b></p><p><b>identity</b>: w5</p><p><b>uri</b>: <a href="http://hl7.org/fhir/w5">http://hl7.org/fhir/w5</a></p><p><b>name</b>: W5 Mapping</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: objimpl</p><p><b>uri</b>: <a href="http://hl7.org/fhir/object-implementation">http://hl7.org/fhir/object-implementation</a></p><p><b>name</b>: Object Implementation Information</p></blockquote><blockquote><p><b>mapping</b></p><p><b>identity</b>: rim</p><p><b>uri</b>: <a href="http://hl7.org/v3">http://hl7.org/v3</a></p><p><b>name</b>: RIM Mapping</p></blockquote><p><b>kind</b>: RESOURCE</p><p><b>abstract</b>: false</p><p><b>type</b>: CapabilityStatement</p><p><b>baseDefinition</b>: <a href="http://hl7.org/fhir/StructureDefinition/CapabilityStatement">http://hl7.org/fhir/StructureDefinition/CapabilityStatement</a></p><p><b>derivation</b>: CONSTRAINT</p><h3>Snapshots</h3><table class="grid"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table><h3>Differentials</h3><table class="grid"><tr><td>-</td><td><b>Element</b></td></tr><tr><td>*</td><td>todo-bundle</td></tr></table></div>
  </text>
  <url
       value="http://hl7.org/fhir/us/daf-research/StructureDefinition/daf-capabilitystatement"/>
  <name value="Profile daf-capabilitystatement"/>
  <status value="draft"/>
  <publisher
             value="Health Level Seven International (FHIR Infrastructure WG - Data Access Framework)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.healthit.gov"/>
    </telecom>
  </contact>
  <date value="2016-08-12"/>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="objimpl"/>
    <uri value="http://hl7.org/fhir/object-implementation"/>
    <name value="Object Implementation Information"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="CapabilityStatement"/>
  <baseDefinition
                  value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="CapabilityStatement:dafcapabilitystatement">
      <path value="CapabilityStatement"/>
      <sliceName value="DAFCapabilityStatement"/>
      <short value="A statement of system Capabilities"/>
      <definition
                  value="A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression
                    value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath
               value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression
                    value="contained.where((&#39;#&#39;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath
               value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&#39;#&#39;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="cpb-8"/>
        <severity value="error"/>
        <human value="There can only be one REST declaration per mode"/>
        <expression value="rest.select(mode).isDistinct()"/>
        <xpath
               value="count(f:rest)=count(distinct-values(f:rest/f:mode/@value))"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-7"/>
        <severity value="error"/>
        <human
               value="The set of documents must be unique by the combination of profile &amp; mode"/>
        <expression
                    value="document.select(profile.reference&amp;mode).isDistinct()"/>
        <xpath
               value="count(f:document[f:mode/@value=&#39;producer&#39;])=count(distinct-values(f:document[f:mode/@value=&#39;producer&#39;]/f:profile/f:reference/@value)) and count(f:document[f:mode/@value=&#39;consumer&#39;])=count(distinct-values(f:document[f:mode/@value=&#39;consumer&#39;]/f:profile/f:reference/@value))"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-15"/>
        <severity value="error"/>
        <human
               value="Capability Statements of kind &#39;instance&#39; do not have implementation elements"/>
        <expression
                    value="implementation.empty() or kind != &#39;capability&#39;"/>
        <xpath
               value="not(exists(f:implementation)) or (f:kind/@value != &#39;capability&#39;)"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-3"/>
        <severity value="error"/>
        <human
               value="Messaging end-point is required (and is only permitted) when statement is for an implementation"/>
        <expression
                    value="messaging.endpoint.empty() or kind = &#39;instance&#39;"/>
        <xpath
               value="not(exists(f:messaging/f:endpoint)) or f:kind/@value = &#39;instance&#39;"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-14"/>
        <severity value="error"/>
        <human
               value="Capability Statements of kind &#39;requirements&#39; do not have software or implementation elements"/>
        <expression
                    value="(software.empty() and implementation.empty()) or kind != &#39;requirements&#39;"/>
        <xpath
               value="not(exists(f:software) or exists(f:implementation)) or (f:kind/@value != &#39;requirements&#39;)"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-2"/>
        <severity value="error"/>
        <human
               value="A Capability Statement SHALL have at least one of description, software, or implementation"/>
        <expression
                    value="(description.count() + software.count() + implementation.count()) &gt; 0"/>
        <xpath
               value="count(f:software | f:implementation | f:description) &gt; 0"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <constraint>
        <key value="cpb-1"/>
        <severity value="error"/>
        <human
               value="A Capability Statement SHALL have at least one of REST, messaging or document"/>
        <expression
                    value="rest.exists() or messaging.exists() or document.exists()"/>
        <xpath
               value="exists(f:rest) or exists(f:messaging) or exists(f:document)"/>
        <source value="CapabilityStatement"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="conformance.behavior"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.id">
      <path value="CapabilityStatement.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comments
                value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.meta">
      <path value="CapabilityStatement.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implicitRules">
      <path value="CapabilityStatement.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comments
                value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.language">
      <path value="CapabilityStatement.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comments
                value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.text">
      <path value="CapabilityStatement.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition
                  value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comments
                value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.contained">
      <path value="CapabilityStatement.contained"/>
      <short value="Contained, inline Resources"/>
      <definition
                  value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
      <comments
                value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.extension">
      <path value="CapabilityStatement.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.modifierExtension">
      <path value="CapabilityStatement.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.url">
      <path value="CapabilityStatement.url"/>
      <short
             value="Logical uri to reference this capability statement (globally unique)"/>
      <definition
                  value="An absolute URL that is used to identify this capability statement when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this capability statement is (or will be) published. The URL SHOULD include the major version of the capability statement. For more information see [Technical and Business Versions](resource.html#versions)."/>
      <comments
                value="Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred."/>
      <requirements
                    value="Allows the capability statement to be referenced by a single globally unique identifier."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.url"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.version">
      <path value="CapabilityStatement.version"/>
      <short value="Business version of the capability statement"/>
      <definition
                  value="The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable."/>
      <comments
                value="There may be multiple different instances of a capability statement that have the same identifier but different versions."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.version"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="id.version"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.name">
      <path value="CapabilityStatement.name"/>
      <short value="Name for this capability statement (Computer friendly)"/>
      <definition
                  value="A natural language name identifying the capability statement. This name should be usable as an identifier for the module by machine processing applications such as code generation."/>
      <comments
                value="The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure it is computable friendly."/>
      <requirements value="Support human navigation &amp; code generation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.title">
      <path value="CapabilityStatement.title"/>
      <short value="Name for this capability statement (Human friendly)"/>
      <definition
                  value="A short, descriptive, user-friendly title for the capability statement."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.status">
      <path value="CapabilityStatement.status"/>
      <short value="draft | active | retired"/>
      <definition
                  value="The status of this capability statement. Enables tracking the life-cycle of the content."/>
      <comments
                value="Allows filtering of capability statement that are appropriate for use vs. not. This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="The lifecycle status of a Value Set or Concept Map."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/publication-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.experimental">
      <path value="CapabilityStatement.experimental"/>
      <short value="If for testing purposes, not real usage"/>
      <definition
                  value="A flag to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage."/>
      <comments
                value="Allows filtering of capability statement that are appropriate for use vs. not."/>
      <requirements
                    value="Enables experimental content to be developed following the same life-cycle as a production-level capability statement would."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.experimental"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.date">
      <path value="CapabilityStatement.date"/>
      <short value="Date this was last changed"/>
      <definition
                  value="The date  (and optionally time) when the capability statement was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the capability statement changes."/>
      <comments
                value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the capability statement. Additional specific dates may be added as extensions."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.date"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="when.recorded"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.publisher">
      <path value="CapabilityStatement.publisher"/>
      <short value="Name of the publisher (Organization or individual)"/>
      <definition
                  value="The name of the individual or organization that published the capability statement."/>
      <comments
                value="Usually an organization, but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the capability statement. This item SHOULD be populated unless the information is available from context."/>
      <requirements
                    value="Helps establish the &quot;authority/credibility&quot; of the capability statement.  May also allow for contact."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.publisher"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="w5"/>
        <map value="who.witness"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.contact">
      <path value="CapabilityStatement.contact"/>
      <short value="Contact details for the publisher"/>
      <definition
                  value="Contact details to assist a user in finding and communicating with the publisher."/>
      <comments
                value="May be a web site, an email address, a telephone number, etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.contact"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactDetail"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.description">
      <path value="CapabilityStatement.description"/>
      <short value="Natural language description of the capability statement"/>
      <definition
                  value="A free text natural language description of the capability statement from the consumer&#39;s perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP."/>
      <comments
                value="This description can be used to capture details such as why the capability statement was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context. This does not need to be populated if the description is adequately implied by the software or implementation details."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <condition value="cpb-2"/>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.useContext">
      <path value="CapabilityStatement.useContext"/>
      <short value="Content intends to support these contexts"/>
      <definition
                  value="The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions."/>
      <comments
                value="When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply."/>
      <requirements value="Assist in searching for appropriate content."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.useContext"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="UsageContext"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.jurisdiction">
      <path value="CapabilityStatement.jurisdiction"/>
      <short
             value="Intended jurisdiction for capability statement (if applicable)"/>
      <definition
                  value="A jurisdiction in which the capability statement is intended to be used."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.jurisdiction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="extensible"/>
        <description
                     value="Countries and regions within which this artifact is targeted for use"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.purpose">
      <path value="CapabilityStatement.purpose"/>
      <short value="Why this capability statement is defined"/>
      <definition
                  value="Explains why this capability statement is needed and why it has been designed as it has."/>
      <comments
                value="This element does not describe the usage of the capability statement (See, e.g, the comments element, or relatedArtifacts), rather it&#39;s for traceability of &#39;&#39;why&#39;&#39; the resource is either needed or &#39;&#39;why&#39;&#39; it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this capability statement."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.purpose"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="why"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.copyright">
      <path value="CapabilityStatement.copyright"/>
      <short value="Use and/or publishing restrictions"/>
      <definition
                  value="A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement."/>
      <requirements
                    value="Consumers of the library must be able to determine any legal restrictions on the use of the capability statement and/or its content."/>
      <alias value="License"/>
      <alias value="Restrictions"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.copyright"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <mapping>
        <identity value="objimpl"/>
        <map value="no-gen-base"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.kind">
      <path value="CapabilityStatement.kind"/>
      <short value="instance | capability | requirements"/>
      <definition
                  value="The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase)."/>
      <requirements value="Allow searching the 3 modes."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.kind"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="How a capability statement is intended to be used."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/capability-statement-kind"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.instantiates">
      <path value="CapabilityStatement.instantiates"/>
      <short
             value="Canonical URL of another capability statement this implements"/>
      <definition
                  value="Reference to a canonical URL of another CapabilityStatement that this software implements or uses. This capability statement is a published API description that corresponds to a business service. The rest of the capability statement does not need to repeat the details of the referenced resource, but can do so."/>
      <comments
                value="HL7 defines the following Services: [Terminology Service](terminology-service.html)  Many [Implementation Guides](https://registry.fhir.org/guides) define additional services."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.instantiates"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.software">
      <path value="CapabilityStatement.software"/>
      <short value="Software that is covered by this capability statement"/>
      <definition
                  value="Software that is covered by this capability statement.  It is used when the capability statement describes the capabilities of a particular software version, independent of an installation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.software"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="cpb-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.software.id">
      <path value="CapabilityStatement.software.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.software.extension">
      <path value="CapabilityStatement.software.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.software.modifierExtension">
      <path value="CapabilityStatement.software.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.software.name">
      <path value="CapabilityStatement.software.name"/>
      <short value="A name the software is known by"/>
      <definition value="Name software is known by."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.software.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.software.version">
      <path value="CapabilityStatement.software.version"/>
      <short value="Version covered by this statement"/>
      <definition
                  value="The version identifier for the software covered by this statement."/>
      <comments
                value="If possible, version should be specified, as statements are likely to be different for different versions of software."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.software.version"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.software.releaseDate">
      <path value="CapabilityStatement.software.releaseDate"/>
      <short value="Date this version released"/>
      <definition value="Date this version of the software released."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.software.releaseDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementation">
      <path value="CapabilityStatement.implementation"/>
      <short value="If this describes a specific instance"/>
      <definition
                  value="Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.implementation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="cpb-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementation.id">
      <path value="CapabilityStatement.implementation.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.implementation.extension">
      <path value="CapabilityStatement.implementation.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.implementation.modifierExtension">
      <path value="CapabilityStatement.implementation.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.implementation.description">
      <path value="CapabilityStatement.implementation.description"/>
      <short value="Describes this specific instance"/>
      <definition
                  value="Information about the specific installation that this capability statement relates to."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.implementation.description"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementation.url">
      <path value="CapabilityStatement.implementation.url"/>
      <short value="Base URL for the installation"/>
      <definition
                  value="An absolute base URL for the implementation.  This forms the base for REST interfaces as well as the mailbox and document interfaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.implementation.url"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.fhirVersion">
      <path value="CapabilityStatement.fhirVersion"/>
      <short value="FHIR Version the system uses"/>
      <definition
                  value="The version of the FHIR specification on which this capability statement is based."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.fhirVersion"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.acceptUnknown">
      <path value="CapabilityStatement.acceptUnknown"/>
      <short value="no | extensions | elements | both"/>
      <definition
                  value="A code that indicates whether the application accepts unknown elements or extensions when reading resources."/>
      <comments
                value="Unknown elements in a resource can only arise as later versions of the specification are published, because this is the only place where such elements can be defined. Hence accepting unknown elements is about inter-version compatibility.  Applications are recommended to accept unknown extensions and elements (&#39;both&#39;), but this is not always possible."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.acceptUnknown"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <description
                     value="A code that indicates whether an application accepts unknown elements or extensions when reading resources."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/unknown-content-code"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.format">
      <path value="CapabilityStatement.format"/>
      <short value="formats supported (xml | json | ttl | mime type)"/>
      <definition
                  value="A list of the formats supported by this implementation using their content types."/>
      <comments
                value="&quot;xml&quot;, &quot;json&quot; and &quot;ttl&quot; are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.format"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description
                     value="The mime type of an attachment. Any valid mime type is allowed."/>
        <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.patchFormat">
      <path value="CapabilityStatement.patchFormat"/>
      <short value="Patch formats supported"/>
      <definition
                  value="A list of the patch formats supported by this implementation using their content types."/>
      <comments
                value="At present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats matching the formats it supports, but this is not always possible or necessary."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.patchFormat"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <description
                     value="The mime type of an attachment. Any valid mime type is allowed."/>
        <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementationGuide">
      <path value="CapabilityStatement.implementationGuide"/>
      <short value="Implementation Guide supported"/>
      <definition
                  value="A list of implementation guides that the server does (or should) support in their entirety."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.implementationGuide"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.profile">
      <path value="CapabilityStatement.profile"/>
      <short value="Profiles for use cases supported"/>
      <definition
                  value="A list of profiles that represent different use cases supported by the system. For a server, &quot;supported by the system&quot; means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles](profiling.html#profile-uses)."/>
      <comments
                value="Supported profiles are different to the profiles that apply to a particular resource in rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that does? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile).  Typical supported profiles cross resource types to describe a network of related resources, so they are listed here rather than by resource. However, they do not need to describe more than one resource."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.profile"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest">
      <path value="CapabilityStatement.rest"/>
      <short value="If the endpoint is a RESTful one"/>
      <definition
                  value="A definition of the restful capabilities of the solution, if any."/>
      <comments
                value="Multiple repetitions allow definition of both client and / or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="cpb-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="cpb-9"/>
        <severity value="error"/>
        <human
               value="A given resource can only be described once per RESTful mode"/>
        <expression value="resource.select(type).isDistinct()"/>
        <xpath
               value="count(f:resource)=count(distinct-values(f:resource/f:type/@value))"/>
        <source value="CapabilityStatement.rest"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.id">
      <path value="CapabilityStatement.rest.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.extension">
      <path value="CapabilityStatement.rest.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.modifierExtension">
      <path value="CapabilityStatement.rest.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.mode">
      <path value="CapabilityStatement.rest.mode"/>
      <short value="client | server"/>
      <definition
                  value="Identifies whether this portion of the statement is describing ability to initiate or receive restful operations."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.mode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="The mode of a RESTful capability statement."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/restful-capability-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.documentation">
      <path value="CapabilityStatement.rest.documentation"/>
      <short value="General description of implementation"/>
      <definition
                  value="Information about the system&#39;s restful capabilities that apply across all applications, such as security."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.security">
      <path value="CapabilityStatement.rest.security"/>
      <short value="Information about security of implementation"/>
      <definition
                  value="Information about security implementation from an interface perspective - what a client needs to know."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.security"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.security.id">
      <path value="CapabilityStatement.rest.security.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.extension">
      <path value="CapabilityStatement.rest.security.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.modifierExtension">
      <path value="CapabilityStatement.rest.security.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.security.cors">
      <path value="CapabilityStatement.rest.security.cors"/>
      <short value="Adds CORS Headers (http://enable-cors.org/)"/>
      <definition
                  value="Server adds CORS headers when responding to requests - this enables javascript applications to use the server."/>
      <comments
                value="The easiest CORS headers to add are Access-Control-Allow-Origin: * &amp; Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.security.cors"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.service">
      <path value="CapabilityStatement.rest.security.service"/>
      <short
             value="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates"/>
      <definition
                  value="Types of security services are supported/required by the system."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.security.service"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="extensible"/>
        <description value="Types of security services used with FHIR."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/restful-security-service"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.description">
      <path value="CapabilityStatement.rest.security.description"/>
      <short value="General description of how security works"/>
      <definition value="General description of how security works."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.security.description"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate">
      <path value="CapabilityStatement.rest.security.certificate"/>
      <short value="Certificates associated with security profiles"/>
      <definition value="Certificates associated with security profiles."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.security.certificate"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate.id">
      <path value="CapabilityStatement.rest.security.certificate.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate.extension">
      <path value="CapabilityStatement.rest.security.certificate.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate.modifierExtension">
      <path
            value="CapabilityStatement.rest.security.certificate.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate.type">
      <path value="CapabilityStatement.rest.security.certificate.type"/>
      <short value="Mime type for certificate"/>
      <definition value="Mime type for certificate."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.security.certificate.type"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="The mime type of an attachment. Any valid mime type is allowed."/>
        <valueSetUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.certificate.blob">
      <path value="CapabilityStatement.rest.security.certificate.blob"/>
      <short value="Actual certificate"/>
      <definition value="Actual certificate."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.security.certificate.blob"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.resource">
      <path value="CapabilityStatement.rest.resource"/>
      <short value="Resource served on the REST interface"/>
      <definition
                  value="A specification of the restful capabilities of the solution for a specific resource type."/>
      <comments value="Max of one repetition per resource type."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="cpb-12"/>
        <severity value="error"/>
        <human
               value="Search parameter names must be unique in the context of a resource"/>
        <expression value="searchParam.select(name).isDistinct()"/>
        <xpath
               value="count(f:searchParam)=count(distinct-values(f:searchParam/f:name/@value))"/>
        <source value="CapabilityStatement.rest.resource"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.resource.id">
      <path value="CapabilityStatement.rest.resource.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.extension">
      <path value="CapabilityStatement.rest.resource.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.modifierExtension">
      <path value="CapabilityStatement.rest.resource.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.resource.type">
      <path value="CapabilityStatement.rest.resource.type"/>
      <short value="A resource type that is supported"/>
      <definition value="A type of resource exposed via the restful interface."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="One of the resource types defined as part of FHIR."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/resource-types"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.profile">
      <path value="CapabilityStatement.rest.resource.profile"/>
      <short value="Base System profile for all uses of resource"/>
      <definition
                  value="A specification of the profile that describes the solution&#39;s overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}."/>
      <comments
                value="The profile applies to all  resources of this type - i.e. it is the superset of what is supported by the system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.profile"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.documentation">
      <path value="CapabilityStatement.rest.resource.documentation"/>
      <short value="Additional information about the use of the resource type"/>
      <definition
                  value="Additional information about the resource type is used by the system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="markdown"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ResourceInteraction"/>
      </extension>
      <path value="CapabilityStatement.rest.resource.interaction"/>
      <short value="What operations are supported?"/>
      <definition
                  value="Identifies a restful operation supported by the solution."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource.interaction"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.id">
      <path value="CapabilityStatement.rest.resource.interaction.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.extension">
      <path value="CapabilityStatement.rest.resource.interaction.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.modifierExtension">
      <path
            value="CapabilityStatement.rest.resource.interaction.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.code">
      <path value="CapabilityStatement.rest.resource.interaction.code"/>
      <short
             value="read | vread | update | patch | delete | history-instance | history-type | create | search-type"/>
      <definition
                  value="Coded identifier of the operation, supported by the system resource."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.interaction.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description
                     value="Operations supported by REST at the type or instance level."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/type-restful-interaction"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.documentation">
      <path value="CapabilityStatement.rest.resource.interaction.documentation"/>
      <short value="Anything special about operation behavior"/>
      <definition
                  value="Guidance specific to the implementation of this operation, such as &#39;delete is a logical delete&#39; or &#39;updates are only allowed with version id&#39; or &#39;creates permitted from pre-authorized certificates only&#39;."/>
      <requirements
                    value="REST allows a degree of variability in the implementation of RESTful solutions that is useful for exchange partners to be aware of."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="CapabilityStatement.rest.resource.interaction.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.versioning">
      <path value="CapabilityStatement.rest.resource.versioning"/>
      <short value="no-version | versioned | versioned-update"/>
      <definition
                  value="This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is &#39;versioned-update&#39;, then the server supports all the versioning features, including using e-tags for version integrity in the API."/>
      <comments
                value="If a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.versioning"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="How the system supports versioning for a resource."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/versioning-policy"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.readHistory">
      <path value="CapabilityStatement.rest.resource.readHistory"/>
      <short value="Whether vRead can return past versions"/>
      <definition
                  value="A flag for whether the server is able to return past versions as part of the vRead operation."/>
      <comments
                value="It is useful to support the vRead operation for current operations, even if past versions aren&#39;t available."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.readHistory"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.updateCreate">
      <path value="CapabilityStatement.rest.resource.updateCreate"/>
      <short value="If update can commit to a new identity"/>
      <definition
                  value="A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server."/>
      <comments
                value="Allowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won&#39;t happen. While creating identities on the client means that the clients need to be managed, it&#39;s much more convenient for many scenarios if such management can be put in place."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.updateCreate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.conditionalCreate">
      <path value="CapabilityStatement.rest.resource.conditionalCreate"/>
      <short value="If allows/uses conditional create"/>
      <definition
                  value="A flag that indicates that the server supports conditional create."/>
      <comments
                value="Conditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.conditionalCreate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.conditionalRead">
      <path value="CapabilityStatement.rest.resource.conditionalRead"/>
      <short value="not-supported | modified-since | not-match | full-support"/>
      <definition
                  value="A code that indicates how the server supports conditional read."/>
      <comments
                value="Conditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.conditionalRead"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="A code that indicates how the server supports conditional read."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/conditional-read-status"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.conditionalUpdate">
      <path value="CapabilityStatement.rest.resource.conditionalUpdate"/>
      <short value="If allows/uses conditional update"/>
      <definition
                  value="A flag that indicates that the server supports conditional update."/>
      <comments
                value="Conditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.conditionalUpdate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.conditionalDelete">
      <path value="CapabilityStatement.rest.resource.conditionalDelete"/>
      <short
             value="not-supported | single | multiple - how conditional delete is supported"/>
      <definition
                  value="A code that indicates how the server supports conditional delete."/>
      <comments
                value="Conditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.conditionalDelete"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="A code that indicates how the server supports conditional delete."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/conditional-delete-status"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.referencePolicy">
      <path value="CapabilityStatement.rest.resource.referencePolicy"/>
      <short value="literal | logical | resolves | enforced | local"/>
      <definition
                  value="A set of flags that defines how references are supported."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource.referencePolicy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="A set of flags that defines how references are supported"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/reference-handling-policy"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchInclude">
      <path value="CapabilityStatement.rest.resource.searchInclude"/>
      <short value="_include values supported by the server"/>
      <definition value="A list of _include values supported by the server."/>
      <comments
                value="If this list is empty, the server does not support includes."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchInclude"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchRevInclude">
      <path value="CapabilityStatement.rest.resource.searchRevInclude"/>
      <short value="_revinclude values supported by the server"/>
      <definition
                  value="A list of _revinclude (reverse include) values supported by the server."/>
      <comments
                value="If this list is empty, the server does not support includes."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchRevInclude"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam">
      <path value="CapabilityStatement.rest.resource.searchParam"/>
      <short value="Search params supported by implementation"/>
      <definition
                  value="Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchParam"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.id">
      <path value="CapabilityStatement.rest.resource.searchParam.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.extension">
      <path value="CapabilityStatement.rest.resource.searchParam.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.modifierExtension">
      <path
            value="CapabilityStatement.rest.resource.searchParam.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.name">
      <path value="CapabilityStatement.rest.resource.searchParam.name"/>
      <short value="Name of search parameter"/>
      <definition
                  value="The name of the search parameter used in the interface."/>
      <comments
                value="Parameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchParam.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.definition">
      <path value="CapabilityStatement.rest.resource.searchParam.definition"/>
      <short value="Source of definition for parameter"/>
      <definition
                  value="An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [SearchParameter.url]())."/>
      <comments
                value="This SHOULD be present, and matches refers to a SearchParameter by it&#39;s canonical url. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchParam.definition"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.type">
      <path value="CapabilityStatement.rest.resource.searchParam.type"/>
      <short
             value="number | date | string | token | reference | composite | quantity | uri"/>
      <definition
                  value="The type of value a search parameter refers to, and how the content is interpreted."/>
      <comments
                value="While this can be looked up from the definition, it is included here as a convenience for systems that autogenerate a query interface based on the server capability statement.  It SHALL be the same as the type in the search parameter definition."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.resource.searchParam.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description
                     value="Data types allowed to be used for search parameters."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/search-param-type"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.documentation">
      <path value="CapabilityStatement.rest.resource.searchParam.documentation"/>
      <short value="Server-specific usage"/>
      <definition
                  value="This allows documentation of any distinct behaviors about how the search parameter is used.  For example, text matching algorithms."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="CapabilityStatement.rest.resource.searchParam.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.interaction">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SystemInteraction"/>
      </extension>
      <path value="CapabilityStatement.rest.interaction"/>
      <short value="What operations are supported?"/>
      <definition
                  value="A specification of restful operations supported by the system."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.interaction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.interaction.id">
      <path value="CapabilityStatement.rest.interaction.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.extension">
      <path value="CapabilityStatement.rest.interaction.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.modifierExtension">
      <path value="CapabilityStatement.rest.interaction.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.code">
      <path value="CapabilityStatement.rest.interaction.code"/>
      <short value="transaction | batch | search-system | history-system"/>
      <definition
                  value="A coded identifier of the operation, supported by the system."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.interaction.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description value="Operations supported by REST at the system level."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/system-restful-interaction"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.documentation">
      <path value="CapabilityStatement.rest.interaction.documentation"/>
      <short value="Anything special about operation behavior"/>
      <definition
                  value="Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.interaction.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.searchParam">
      <path value="CapabilityStatement.rest.searchParam"/>
      <short value="Search params for searching all resources"/>
      <definition
                  value="Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation."/>
      <comments
                value="Typically, the only search parameters supported for all parameters are search parameters that apply to all resources - tags, profiles, text search etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.searchParam"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <contentReference
                        value="#CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam"/>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.operation">
      <path value="CapabilityStatement.rest.operation"/>
      <short value="Definition of an operation or a custom query"/>
      <definition
                  value="Definition of an operation or a named query and with its parameters and their meaning and type."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.operation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.operation.id">
      <path value="CapabilityStatement.rest.operation.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.operation.extension">
      <path value="CapabilityStatement.rest.operation.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.operation.modifierExtension">
      <path value="CapabilityStatement.rest.operation.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.operation.name">
      <path value="CapabilityStatement.rest.operation.name"/>
      <short value="Name by which the operation/query is invoked"/>
      <definition
                  value="The name of the operation or query. For an operation, this is the name  prefixed with $ and used in the url. For a query, this is the name used in the _query parameter when the query is called."/>
      <comments
                value="The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used. The name does not include the &quot;$&quot; portion that is always included in the URL."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.operation.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.operation.definition">
      <path value="CapabilityStatement.rest.operation.definition"/>
      <short value="The defined operation/query"/>
      <definition value="Where the formal definition can be found."/>
      <comments
                value="This can be used to build an HTML form to invoke the operation, for instance."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.rest.operation.definition"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/OperationDefinition"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.compartment">
      <path value="CapabilityStatement.rest.compartment"/>
      <short value="Compartments served/used by system"/>
      <definition
                  value="An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by it&#39;s canonical URL."/>
      <comments
                value="At present, the only defined compartments are at [CompartmentDefinition](compartmentdefinition.html)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.rest.compartment"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging">
      <path value="CapabilityStatement.messaging"/>
      <short value="If messaging is supported"/>
      <definition
                  value="A description of the messaging capabilities of the solution."/>
      <comments
                value="Multiple repetitions allow the documentation of multiple endpoints per solution."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.messaging"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="cpb-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging.id">
      <path value="CapabilityStatement.messaging.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging.extension">
      <path value="CapabilityStatement.messaging.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.modifierExtension">
      <path value="CapabilityStatement.messaging.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint">
      <path value="CapabilityStatement.messaging.endpoint"/>
      <short value="Where messages should be sent"/>
      <definition
                  value="An endpoint (network accessible address) to which messages and/or replies are to be sent."/>
      <alias value="3"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.messaging.endpoint"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint.id">
      <path value="CapabilityStatement.messaging.endpoint.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint.extension">
      <path value="CapabilityStatement.messaging.endpoint.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint.modifierExtension">
      <path value="CapabilityStatement.messaging.endpoint.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint.protocol">
      <path value="CapabilityStatement.messaging.endpoint.protocol"/>
      <short value="http | ftp | mllp +"/>
      <definition
                  value="A list of the messaging transport protocol(s) identifiers, supported by this endpoint."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.endpoint.protocol"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <description value="The protocol used for message transport."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/message-transport"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.endpoint.address">
      <path value="CapabilityStatement.messaging.endpoint.address"/>
      <short value="Address of end-point"/>
      <definition
                  value="The network address of the end-point. For solutions that do not use network addresses for routing, it can be just an identifier."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.endpoint.address"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.reliableCache">
      <path value="CapabilityStatement.messaging.reliableCache"/>
      <short value="Reliable Message Cache Length (min)"/>
      <definition
                  value="Length if the receiver&#39;s reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender)."/>
      <comments
                value="If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.reliableCache"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.documentation">
      <path value="CapabilityStatement.messaging.documentation"/>
      <short value="Messaging interface behavior details"/>
      <definition
                  value="Documentation about the system&#39;s messaging capabilities for this endpoint not otherwise documented by the capability statement.  For example, process for becoming an authorized messaging exchange partner."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging.event">
      <path value="CapabilityStatement.messaging.event"/>
      <short value="Declare support for this event"/>
      <definition
                  value="A description of the solution&#39;s support for an event at this end-point."/>
      <comments
                value="The same event may be listed up to two times - once as sender and once as receiver."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.messaging.event"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.messaging.event.id">
      <path value="CapabilityStatement.messaging.event.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.extension">
      <path value="CapabilityStatement.messaging.event.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.modifierExtension">
      <path value="CapabilityStatement.messaging.event.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.code">
      <path value="CapabilityStatement.messaging.event.code"/>
      <short value="Event type"/>
      <definition value="A coded identifier of a supported messaging event."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Coding"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <strength value="preferred"/>
        <description value="One of the message events defined as part of FHIR."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/message-events"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.category">
      <path value="CapabilityStatement.messaging.event.category"/>
      <short value="Consequence | Currency | Notification"/>
      <definition value="The impact of the content of the message."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="The impact of the content of a message."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/message-significance-category"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.mode">
      <path value="CapabilityStatement.messaging.event.mode"/>
      <short value="sender | receiver"/>
      <definition
                  value="The mode of this event declaration - whether application is sender or receiver."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.mode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="The mode of a message capability statement."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/event-capability-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.focus">
      <path value="CapabilityStatement.messaging.event.focus"/>
      <short value="Resource that&#39;s focus of message"/>
      <definition
                  value="A resource associated with the event.  This is the resource that defines the event."/>
      <comments
                value="This SHALL be provided if the event type supports multiple different resource types."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.focus"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="One of the resource types defined as part of FHIR."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/resource-types"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.request">
      <path value="CapabilityStatement.messaging.event.request"/>
      <short value="Profile that describes the request"/>
      <definition value="Information about the request for this event."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.request"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.response">
      <path value="CapabilityStatement.messaging.event.response"/>
      <short value="Profile that describes the response"/>
      <definition value="Information about the response for this event."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.response"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.messaging.event.documentation">
      <path value="CapabilityStatement.messaging.event.documentation"/>
      <short value="Endpoint-specific event documentation"/>
      <definition
                  value="Guidance on how this event is handled, such as internal system trigger points, business rules, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.messaging.event.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.document">
      <path value="CapabilityStatement.document"/>
      <short value="Document definition"/>
      <definition value="A document definition."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CapabilityStatement.document"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="cpb-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="children().count() &gt; id.count()"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.document.id">
      <path value="CapabilityStatement.document.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.document.extension">
      <path value="CapabilityStatement.document.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.document.modifierExtension">
      <path value="CapabilityStatement.document.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.document.mode">
      <path value="CapabilityStatement.document.mode"/>
      <short value="producer | consumer"/>
      <definition
                  value="Mode of this document declaration - whether application is producer or consumer."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.document.mode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="Whether the application produces or consumes documents."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/document-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.document.documentation">
      <path value="CapabilityStatement.document.documentation"/>
      <short value="Description of document support"/>
      <definition
                  value="A description of how the application supports or uses the specified document profile.  For example, when are documents created, what action is taken with consumed documents, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.document.documentation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.document.profile">
      <path value="CapabilityStatement.document.profile"/>
      <short value="Constraint on a resource used in the document"/>
      <definition value="A constraint on a resource used in the document."/>
      <comments value="The first resource is the document resource."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CapabilityStatement.document.profile"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
      </type>
      <isSummary value="true"/>
    </element>
  </snapshot>
  <differential>
    <element id="CapabilityStatement:dafcapabilitystatement">
      <path value="CapabilityStatement"/>
      <sliceName value="DAFCapabilityStatement"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.url">
      <path value="CapabilityStatement.url"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.version">
      <path value="CapabilityStatement.version"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.name">
      <path value="CapabilityStatement.name"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.status">
      <path value="CapabilityStatement.status"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.date">
      <path value="CapabilityStatement.date"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.publisher">
      <path value="CapabilityStatement.publisher"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.description">
      <path value="CapabilityStatement.description"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.kind">
      <path value="CapabilityStatement.kind"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementation">
      <path value="CapabilityStatement.implementation"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.implementation.description">
      <path value="CapabilityStatement.implementation.description"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.implementation.url">
      <path value="CapabilityStatement.implementation.url"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.fhirVersion">
      <path value="CapabilityStatement.fhirVersion"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.format">
      <path value="CapabilityStatement.format"/>
      <min value="1"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.profile">
      <path value="CapabilityStatement.profile"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest">
      <path value="CapabilityStatement.rest"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.mode">
      <path value="CapabilityStatement.rest.mode"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.security">
      <path value="CapabilityStatement.rest.security"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.security.cors">
      <path value="CapabilityStatement.rest.security.cors"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.security.service">
      <path value="CapabilityStatement.rest.security.service"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.resource">
      <path value="CapabilityStatement.rest.resource"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.resource.type">
      <path value="CapabilityStatement.rest.resource.type"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.profile">
      <path value="CapabilityStatement.rest.resource.profile"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.documentation">
      <path value="CapabilityStatement.rest.resource.documentation"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction">
      <path value="CapabilityStatement.rest.resource.interaction"/>
      <min value="1"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.code">
      <path value="CapabilityStatement.rest.resource.interaction.code"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.interaction.documentation">
      <path value="CapabilityStatement.rest.resource.interaction.documentation"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.versioning">
      <path value="CapabilityStatement.rest.resource.versioning"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.readHistory">
      <path value="CapabilityStatement.rest.resource.readHistory"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam">
      <path value="CapabilityStatement.rest.resource.searchParam"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.name">
      <path value="CapabilityStatement.rest.resource.searchParam.name"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.definition">
      <path value="CapabilityStatement.rest.resource.searchParam.definition"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.type">
      <path value="CapabilityStatement.rest.resource.searchParam.type"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.resource.searchParam.target">
      <path value="CapabilityStatement.rest.resource.searchParam.target"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.interaction">
      <path value="CapabilityStatement.rest.interaction"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.code">
      <path value="CapabilityStatement.rest.interaction.code"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.interaction.documentation">
      <path value="CapabilityStatement.rest.interaction.documentation"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.searchParam">
      <path value="CapabilityStatement.rest.searchParam"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.operation">
      <path value="CapabilityStatement.rest.operation"/>
      <min value="0"/>
      <max value="*"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="CapabilityStatement:dafcapabilitystatement.rest.operation.name">
      <path value="CapabilityStatement.rest.operation.name"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="CapabilityStatement:dafcapabilitystatement.rest.operation.definition">
      <path value="CapabilityStatement.rest.operation.definition"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
  </differential>
</StructureDefinition>