Difference between revisions of "Operations"

From Hiasobi - FHIR
Jump to: navigation, search
(Questionnaire)
Line 25: Line 25:
 
     <pre>POST [base]/Questionnaire/$populate</pre>
 
     <pre>POST [base]/Questionnaire/$populate</pre>
 
   </td></tr>
 
   </td></tr>
   <tr><td></td></tr>
+
   <tr><td>Supports context variables:<br/>
 +
    <ul><li>[$subject]- id of the passed in subject (or queried for desktop use)</li><li>[$user] - queries user context (desktop use)</li></ul>
 +
</td></tr>
 
</table>
 
</table>

Revision as of 16:17, 31 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
Supports context variables:
  • [$subject]- id of the passed in subject (or queried for desktop use)
  • [$user] - queries user context (desktop use)