Difference between revisions of "Operations"

From Hiasobi - FHIR
Jump to: navigation, search
(Questionnaire)
Line 23: Line 23:
 
<table border="1" cellpadding=10>
 
<table border="1" cellpadding=10>
 
   <tr><td><b>$populate</b> generates a QuestionnaireResponse based on the Questionnaire content and content in the clinical system.<br>
 
   <tr><td><b>$populate</b> generates a QuestionnaireResponse based on the Questionnaire content and content in the clinical system.<br>
     <pre>POST [base]/[id]/$populate</pre>
+
     <pre>POST [base]/Questionnaire/$populate</pre>
 
   </td></tr>
 
   </td></tr>
 
   <tr><td></td></tr>
 
   <tr><td></td></tr>
 
</table>
 
</table>

Revision as of 08:26, 11 March 2016

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 - now includes selected observations from history. Blood Pressure, Height, Weight, BMI, Waist Circumference and Lipids.
GET [base]/Patient/[id]/$everything
$nps_current_patient
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
GET [base]/Patient/[id]/$nps_current_patient?current_practitioner=<id>[&current_condition=<code> [,<code> [,..]]][&last_visit=[<][<=][>][>=]<yyyy-MM-dd>]

Questionnaire

$populate generates a QuestionnaireResponse based on the Questionnaire content and content in the clinical system.
POST [base]/Questionnaire/$populate