Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Resource

Description

FHIR Reference

ServiceRequest

This represents the Request from a partner system. The performer of this ServiceRequest should be your organization.

https://build.fhir.org/servicerequest.html

Patient

Represents information on the person that has be referred by the partner organization.

https://build.fhir.org/patient-definitions.html

Procedure

If the referring partner had made any other referrals during the process of creating the Service Request they will be found in the Procedure resources. For example if the client was referred to a food pantry during this ServiceRequest that will represented by a Procedure resource.

https://build.fhir.org/procedure.html

Performer Attribute

The performer attribute holds the information of the organization that is performing the service. The data can be stored in two different approaches. One approach is using and integrating the social services directory id’s. The other approach is to use a ID that is CIE Hub ID.

The following is a example of a performer attribute that is filled in

Code Block
  "performer": [
    {
  //The following example shows using the Social Services Directory
   //ID 
   "displayperformer": "United Way", [
    {
      "referencedisplay": "Organization/39MISSION FOR AREA PEOPLE",
// This will be the ID that"extension" is given during Setup: [
          {
              "typeurl" : "Organization"https://directory.mi-cie.org/or_org_id",
    }
  ],

Example of search

The following search will get a list of the current active ServiceRequests that are assigned to the partner organization and also return the list of Patients that correspond to those ServiceRequests and any resources that the service request was based on.

Code Block
          "valueString": "24828"
          }
      ]  
    }
  ],
  
  //The following example shows using CIE Hub ID.  
  "performer": [
    {
      "display": "United Way",
      "reference": "Organization/39", // This will be the ID that is given during Setup
      "type": "Organization"
    }
  ],

Example of search

The following search will get a list of the current active ServiceRequests that are assigned to the partner organization and also return the list of Patients that correspond to those ServiceRequests and any resources that the service request was based on.

Code Block
// Example of a search using the CIE Organization ID
GET https://fhir.mi-cie.org/ServiceRequest
?performer=Organization/{PARTNERID}
&status=active
&_include=ServiceRequest:based-on
&_include=ServiceRequest:subject 
&_revinclude=Procedure:based-on

// Example of a search using Social Services Directory ID
GET https://fhir.mi-cie.org/ServiceRequest
?performer=Organization/{PARTNERID_or_org_id={ORGID}
&status=active
&_include=ServiceRequest:based-on
&_include=ServiceRequest:subject 
&_revinclude=Procedure:based-on

The result of this query would be a bundle of resources. Here is a link for a example on the FHIR site of a bundle search response.

...