Application Name: Bahmni, OPENMRS Version Number: 1.0.0-lite Question: Hi ,Sorry for this silly question , i am new here and trying to get familiar with openmrs .comming to the question , I am trying to submit patient vitals through rest api POST /obs with the json request { “person”: “47763724-74b5-4108-8f41-2b4e1fba2b8c”, “obsDatetime”: “2016-10-08T09:39:28.000+0530”, “concept”: “163462AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “location”: “833d0c66-e29a-4d31-ac13-ca9050d1bfa9”, “encounter”: “c8aeb8db-6791-4648-b9bc-fc4706a4b438”, “groupMembers”: [ { “concept”: “5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 70 }, { “concept”: “5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 170 }, { “concept”: “5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 37.2 }, { “concept”: “5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 80 }, { “concept”: “5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 98 }, { “concept”: “5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 75 }, { “concept”: “5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 120 }, { “concept”: “5314AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 50 }, { “concept”: “5283AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”, “value”: 70 } ] } the main concept here with the uuid 163462AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA is Vital signs on admission with the field members Respiratory rate (15475) Weight (kg) Head circumference (15241) Karnofsky performance score (16238) Height (cm) Temperature (c) Diastolic blood pressure (16503) Arterial blood oxygen saturation (pulse oximeter) (16255) Pulse (16472) ,Systolic blood pressure (14644
the response i am getting is { “error”: { “message”: “Invalid Submission”, “code”: “webservices.rest.error.invalid.submission”, “globalErrors”: , “fieldErrors”: { “person”: [ { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” } ], “obsDatetime”: [ { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” }, { “code”: “error.null”, “message”: “Cannot be empty or null” } ] } } }
here is the server log 06) ~[webservices.rest-omod-common-2.39.0.jar:?]openmrs-1 | at sun.reflect - Pastebin.com **