Introduction
This page documents the implementation of the FHIR Practitioner resource (DSTU2) for the OpenMRS FHIR Module.
- The FHIR Practitioner Resource represents a person who is directly or indirectly involved in the provisioning of healthcare.
- For more information on the FHIR Practitioner resource, please refer http://hl7-fhir.github.io/practitioner.html
Populating the FHIR Practitioner Resource
Shown below is how attributes of the FHIR Practitioner Resource map to the attributes of the OpenMRS Practitioner object. The left side of the relationship indicates the OpenMRS attribute; the right indicates the FHIR Practitioner resource mapping.
Practitioner
None to date
Example FHIR Practitioner Resource
Shown below is a fleshed out FHIR Practitioner Resource.
FHIR Practitioner Resource
{ "resourceType": "Practitioner", identifier: [1] 0: { "system": "http://www.acme.org/practitioners", value: "clerk" }, "name": { "family": [ "Careful" ], "given": [ "Adam" ] }, address: [1] 0: { use: "home" city: "E. Kanateng" }, gender: { coding: [1] 0: { system: "http://hl7.org/fhir/v3/AdministrativeGender" code: "M" } }, birthDate: "2009-08-11T00:00:00" }
Available RESTful web services for the Practitioner Resource supported by the API
GET Requests
Read | |
---|---|
URL | Description |
/ws/fhir/Practitioner/{id} | Returns a FHIR Practitioner resource identified by a Practitioner UUID Outcomes:
|
Search | |
/ws/fhir/Practitioner?_id={id} | Above request will fetch all the Practitioners using the given id value. This will give a List of Practitioners as the response. Here _id parameter represents, the logical resource id associated with the resource. |
/ws/fhir/Practitioner?family={familyName} | Above request will fetch all the Practitioners using the given family name. This will give a List of Practitioners as the response. Here family parameter represents, the family name of the Practitioner. |
/ws/fhir/Practitioner?name={name} | Above request will fetch all the Practitioners using the name. This will give a List of Practitioners as the response. Here name parameter represents, the name of the Practitioner. |
/ws/fhir/Practitioner?identifier={identifier} | Above request will fetch all the Practitioners using the given identifier. This will give a List of Practitioners as the response. Here identifier parameter represents, the identifier of the Practitioner. Here we use name as the identifier. |
/ws/fhir/Practitioner?given={givenName} | Above request will fetch all the Practitioners using the given name. This will give a List of Practitioners as the response. Here given parameter represents, the given name of the Practitioner. |
Operations | |
None to date |
POST Requests
None to date