Difference between revisions of "Operations"

From Hiasobi - FHIR
Jump to: navigation, search
(Patient)
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
   
 
   
 
     <pre>GET [base]/Patient/[id]/$everything</pre>
 
     <pre>GET [base]/Patient/[id]/$everything</pre>
 +
  <ul>
 +
    <li>_since : standard everything since date-time</li>
 +
    <li>_until : (custom) everything until a date-time</li>
 +
    <li>_resources : (custom) comma separated resource type list to include in summary</li>
 +
    <li>_history: (custom) history style summary with POST, PUT and DELETE information</li>
 +
  </ul>
 
   </td></tr>
 
   </td></tr>
 
+
   
  <tr><td> <b> $nps_current_patient</b><br>Custom NPS active patient that 'belongs-to' the practitioner - custom query; candidate for a general population query
+
* 2+ of last 3 visits with the provider
+
* patient has any of the conditions provided
+
* last visit occurs before or after (as specified) date
+
  <pre>GET [base]/Patient/[id]/$nps_current_patient?current_practitioner=&lt;id&gt;[&amp;current_condition=&lt;code&gt; [,&lt;code&gt; [,..]]][&last_visit=[<][<=][>][>=]&lt;yyyy-MM-dd&gt;]</pre>
+
 
+
</td></tr>
+
 
+
 
</table>
 
</table>
  

Latest revision as of 14:55, 13 September 2017

Operations are query/procedures that can be performed on the servers

Patient

$everything
Retrieve a complete patient summary as a bundle for a specific patient.
As per http://hl7.org/implement/standards/FHIR-Develop/patient-operations.html
GET [base]/Patient/[id]/$everything
  • _since : standard everything since date-time
  • _until : (custom) everything until a date-time
  • _resources : (custom) comma separated resource type list to include in summary
  • _history: (custom) history style summary with POST, PUT and DELETE information

Questionnaire

$populate generates a QuestionnaireResponse based on the Questionnaire content and content in the clinical system.
POST [base]/Questionnaire/$populate
Implements fluent-path expressions
Supports context variables in expressions:
  • [$subject]- id of the passed in subject (or queried for desktop use)
  • [$user] - queries user context (desktop use)