Details
Assignee
UnassignedUnassignedReporter
Samuel MaleSamuel MaleLabels
Priority
Should
Details
Details
Assignee
Unassigned
UnassignedReporter
Samuel Male
Samuel MaleLabels
Priority
Created March 21, 2024 at 12:22 PM
Updated March 27, 2024 at 9:27 PM
Note: While this is not a complex task, it is very large. Requires being broken down into further sub-tasks.
The RESTful API is necessary for interacting with the Client Registry in a more standard way. It should adhere to FHIR standards and support PIXm and PDQm profiles.
Dev notes
The RESTful API should be FHIR based meaning we may have to extend the FHIR2 module.
Endpoints
Read Patient:
Description: Fetch Patient by a business Identifier
Endpoint:
GET cr/Patient/{identifier}
Read Patient (PIXm):
Description: Fetch Patient by an OpenMRS local identifier
Endpoint:
GET cr/Patient/$ihe-pix?sourceIdentifier=<identifier>&targetSystem=<systemUris>
Create Patient:
Description: Create Patient record
Endpoint:
POST cr/Patient
Update Patient:
Description: Update Patient record
Endpoint:
PUT cr/Patient/{identifier}
Purge Patient:
Description: Purge Patient record
Endpoint:
DELETE cr/Patient/{identifier}
Patient Search:
Description: Retrieves patients based on search criteria
Endpoint:
GET cr/Patient?param1=value1¶m2=value2
Post Search:
Description: Searches for potential patient matches or conflicts based on the provided patient data and returns patient bundles in different categories such as matches, conflicts, etc.
Endpoint:
POST /cr/patient/match
Deduplication:
Description: Performs deduplication of patient records
Endpoint:
POST /cr/patient/deduplicate