Versions Compared

Key

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

Overview

TODOThe transaction queries for previous encounter for a specific patient. The following sequence diagram shows the steps involved in this transaction.

 

Technical details

...

RefInteractionEndpointDataTransaction Specification
1Query encountersGET /ws/rest/v1/patient/$<pat-ID>/encounters?$<queryParams>HTTP requestQuery for previous patient encounters
2Resolve client identifierPOST openempi-admin/openempi-ws-rest/person-query-resource/findPersonByIdOpenEMPI XMLGet Enterprise Client ID - Internal 
3Return person record "HTTP 200 OK"
4Extract ECID and enrich message with ECIDnone  
5Query encounters by ECID GET /ws/rest/RHEA/patient/encounters?patientId=1234&idType=ECIDHTTP requestQuery for previous patient encounters - Internal
6Return list of encounters"HTTP 200 OK - HL7 ORU_R01Query for previous patient encounters - Internal
7Replace ECID with original ID used by this facilitynone  
8Resolve provider identifier GET webservices/lookupbyid/nid/?id_type=ECID&id_number=xxxHTTP requestGet Enterprise Professional ID - Internal
9Return provider NID "HTTP 200 OK - (plain text identifier)"
10

Replace EPID with NID
end

   
11Return list of encounters  HTTP 200 OK - HL7v2.5 ORU_R01Query for previous patient encounters