Postman - Create New Patient

Purpose: To show how to create a new patient record.

 

Precondition:

  • Generate an Access token

 

1.) Route

https://api.qa.eu.noah-es.com/:tenantid/api/Patients

:tenantid is a variable I set.

 

2.) Params

the only Param is the :tenantid variable.

 

3.) Headers

a.) X-API-Version - set to 1.0, the Noah ES API Version. The X-Api-Version needs to be set. At this time 1.0 is the only version, so this is what I have set.

b.) X-Idempotent-ID must be unique.

 

4.) Body

 

{ "patientId": null, "userAccountId": "f0d680cb-d880-4e99-9568-6f78936a38e2", //"patientGroupIds": [ //"c96a3bac-1f00-45b4-9f7b-a102ec230d46" //"patientDate": null, //"patientNoFormatSpecifier": null, //"patientNo": "DK-23243223", "firstName": "Test3", "lastName": "Test3" }

 

4.) Results

You should get a Status: 200 OK message.

Below is the data the is returned for a successful post to create a new patient route

*Note: To create and view actions routes, you will need the patientId.

{ "patientId": "e5a941f1-8e26-40b7-9d66-731ceb008182", "legacyPatientId": 10061, "created": null, "updated": null, "patientDate": null, "creatorUserAccountId": "f0d680cb-d880-4e99-9568-6f78936a38e2", "creatorUserInfo": { "userId": "f0d680cb-d880-4e99-9568-6f78936a38e2", "legacyUserId": 3, "idPId": "a9cdc8d9-4c37-418f-9afd-d490d7874ac8" }, "firstName": "Test3", "lastName": "Test3", "middleName": null, "gender": null, "birthDate": null, "salutation": null, "title": null, "address1": null, "address2": null, "address3": null, "province": null, "zip": null, "city": null, "country": null, "homePhone": null, "workPhone": null, "ssnumber": null, "emailAddress": null, "insurance1": null, "insurance2": null, "referral": null, "physician": null, "mobilePhone": null, "other1": null, "other2": null, "active": null, "comment": null, "photo": null }