2nd DSTU Draft For Comment

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

Conformance-uslabreport-sender.xml

Raw XML (canonical form)

USLabReport Sender (id = "uslabreport-sender")

Raw XML

<Conformance xmlns="http://hl7.org/fhir">
  <id value="uslabreport-sender"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text><!--    EH:   this is the SDC  template for conformance examples which I will run to generate
   the text   -->
  <name value="USLabReport Sender"/>
  <publisher value="Published by: HL7 Orders and Observation Workgroup. Primary Author: Eric Haas  Health
   eData Inc"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/"/>
    </telecom>
  </contact>
  <description value="This profile defines the expected capabilities of the USLabReport Sender actor when conforming
   to the [[uslabreport.html|The US Sender Report Implementation (USLabReport)]].  This actor
   is the source of a laboratory test order report and declares conformance to RESTful FHIR
   and FHIR profiles defined in this guide.  The order reference one or more FHIR resources
   conforming to profiles outlined in the USLabReport guide."/>
  <status value="draft"/>
  <date value="2014-12-02"/>
  <fhirVersion value="0.8"/>
  <acceptUnknown value="false"/>
  <format value="xml"/>
  <format value="json"/><!--    EH:  need to distinguish when laboratory in server mode  = Pull: The source is a server,
   and the destination is a client. When the client wants to use the data, it uses a combination
   of search and read so the users can find the data they need
Push/Pull: The source is a server, and the destination is a client. On a regular basis,
   the destination queries the server for it's history, and replicates the changes in its
   own copy of the database
...
or when laboratory in client  mode  =Push: The source is a client, and when new data is
   available, it uses create, update, and transaction to push data to the destination, which
   is a server    -->
  <rest>
    <mode value="server"/>
    <documentation value="This conformance resource assumes the USLabReport Sender is the server, in other words,
     operating in 'Pull'  or 'Push/Pull' RESTful interface.  The USLabReport Sender MUST support
     querying one or more resources outlined by the [[uslabreport|USLabReport Guide]]. The
     USLabReport Sender MUST use all the vocabularies and value set constraints defined by
     the individual resource profiles used by USLabReport. The USLabReport Sender MUST implement
     REST behavior according to the [[http|FHIR specification]] and MUST be able to handle
     errors gracefully from Query Responders who may not support the submitted query."/>
    <security>
      <description value="Implementations must meet the security requirements documented in the [[uslabreport|USLabReport
       Guide assumptions]]."/>
    </security>
    <resource>
      <type value="DiagnosticReport"/>
      <profile>
        <reference value="dr-uslab"/>
      </profile>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="search-type"/>
        <documentation value="Allows a user to search for existing DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="read"/>
        <documentation value="Allows retrieval of a specific known DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="vread"/>
        <documentation value="Allows retrieval of a specific version of a DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a DiagnosticReport over time"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="create"/>
        <documentation value="Allows defining a new DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="update"/>
        <documentation value="Allows editing of an existing DiagnosticReport.  Servers may choose to prohibit certain
         types of edits, instead requiring the creation of a new DiagnosticReport (and potentially
         the retiring of the existing DiagnosticReport).  Servers may also limit who can change
         particular DiagnosticReport."/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHOULD&quot;/&gt;
        &lt;/extension   -->
        <code value="validate"/>
        <documentation value="Allows a client to verify whether a particular new DiagnosticReport or revision of an
         existing DiagnosticReport would be accepted based on validation and other business rules.
          Useful for some workflows"/>
      </interaction><!--    interaction&gt;
        EH: comment out for now since deleting is probably not allowed  &lt;extension
       url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation&quot;&gt;
          &lt;valueCode value=&quot;MAY&quot;/&gt;
        &lt;/extension&gt;
        &lt;code value=&quot;delete&quot;/&gt;
        &lt;documentation value=&quot;Allows removal of an existing DiagnosticReport.
        Servers may choose to not support deletions or may limit deletions to DiagnosticReport
       meeting certain requirements.  E.g. only elements with a status of draft or only elements
       that have been retired for at least two years, etc.&quot;/&gt;
      &lt;/interaction    --><!--    EH  flags for support for versioning, read history, update create
    &lt;versioning value=&quot;versioned|no-version&quot;   -->
      <searchInclude value="DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.requestDetail,
       DiagnosticReport.specimen, DiagnosticReport.report"/>
    </resource>
  </rest><!--    EH: comment out for now
    &lt;searchParam   --><!--    EH: comment out for now extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-c
  ommon-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   --><!--   name value=&quot;category&quot;/&gt;
        &lt;definition value=&quot;http://hl7.org/fhir/Profile/dataelement#category&quot;/&gt;
        &lt;type value=&quot;token&quot;/&gt;
      &lt;/searchParam&gt;
      &lt;searchParam   --><!--    interaction. operation   -->
  <rest>
    <mode value="client"/>
    <documentation value="The following conformance rules assumes the USLabReport Sender is the client, in other
     words, operating in 'Push'  RESTful interface.  The USLabReport Sender MUST support querying
     one or more resources outlined by the [[uslabreport|USLabReport Guide]]. The USLabReport
     Sender MUST use all the vocabularies and value set constraints defined by the individual
     resource profiles used by USLabReport. The USLabReport Sender MUST implement REST behavior
     according to the [[http|FHIR specification]] and MUST be able to handle errors gracefully
     from Query Responders who may not support the submitted query."/>
    <security>
      <description value="Implementations must meet the security requirements documented in the [[uslabreport|USLabReport
       Guide assumptions]]."/>
    </security>
    <resource>
      <type value="DiagnosticReport"/>
      <profile>
        <reference value="do-uslab"/>
      </profile>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="search-type"/>
        <documentation value="Allows a user to search for existing DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="read"/>
        <documentation value="Allows retrieval of a specific known DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="vread"/>
        <documentation value="Allows retrieval of a specific version of a DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="history-instance"/>
        <documentation value="Allows review of changes to a DiagnosticReport over time"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="create"/>
        <documentation value="Allows defining a new DiagnosticReport"/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHALL&quot;/&gt;
        &lt;/extension   -->
        <code value="update"/>
        <documentation value="Allows editing of an existing DiagnosticReport.  Servers may choose to prohibit certain
         types of edits, instead requiring the creation of a new DiagnosticReport (and potentially
         the retiring of the existing DiagnosticReport).  Servers may also limit who can change
         particular DiagnosticReport."/>
      </interaction>
      <interaction><!--    EH: comment out for now  extension url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-
        common-expectation&quot;&gt;
          &lt;valueCode value=&quot;SHOULD&quot;/&gt;
        &lt;/extension   -->
        <code value="validate"/>
        <documentation value="Allows a client to verify whether a particular new DiagnosticReport or revision of an
         existing DiagnosticReport would be accepted based on validation and other business rules.
          Useful for some workflows"/>
      </interaction><!--    interaction&gt;
        EH: comment out for now since deleting is probably not allowed  &lt;extension
       url=&quot;http://hl7.org/fhir/ExtensionDefinition/conformance-common-expectation&quot;&gt;
          &lt;valueCode value=&quot;MAY&quot;/&gt;
        &lt;/extension&gt;
        &lt;code value=&quot;delete&quot;/&gt;
        &lt;documentation value=&quot;Allows removal of an existing DiagnosticReport.
        Servers may choose to not support deletions or may limit deletions to DiagnosticReport
       meeting certain requirements.  E.g. only elements with a status of draft or only elements
       that have been retired for at least two years, etc.&quot;/&gt;
      &lt;/interaction    --><!--    EH  flags for support for versioning, read history, update create
    &lt;versioning value=&quot;versioned|no-version&quot;   -->
      <searchInclude value="DiagnosticReport.subject, DiagnosticReport.performer, DiagnosticReport.requestDetail,
       DiagnosticReport.specimen, DiagnosticReport.report"/>
    </resource>
  </rest>
</Conformance>

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