Patient Identifiers with REST API


(Gottfried Wilhelm Leibniz) #1

Application Name: OpenMRS **Version Number: 2.0.5 Build 9f9213

We’re trying to create a patient through the REST API but we don’t know the identifiers, we don’t know where to get them and how to include them in our request. Could you help us? Could you provide us with a JSON example that includes necessary identifiers to create a patient?


(Daniel Kayiwa) #2

Do you find this class useful? https://github.com/openmrs/openmrs-module-webservices.rest/blob/b77134b295d006c78a39c7440fc9b8f06796470b/omod-1.9/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs1_9/PatientController1_9Test.java