Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Debug area output of the Xcode, when trying to save a patient, https://wiki.openmrs.org/display/projects/OpenMRS+iOS+Client+Extensions
//This is the output of debug area when the app is on simulator
2015-03-09 10:57:50.611 OpenMRS-iOS[1156:25224] Parameters: {
age = 35;
gender = M;
names = (
{
familyName = Siemon;
givenName = Don;
}
);
}
2015-03-09 10:57:51.911 OpenMRS-iOS[1156:25224] failure: {"error":{"message":"Invalid Submission","code":"webservices.rest.error.invalid.submission","globalErrors":[{"code":"Identifier Location cannot be null for 123","message":"Identifier Location cannot be null for 123"}],"fieldErrors":{}}}
//This is the output of debug area when the app runs on a device
2015-03-09 10:55:49.918 OpenMRS-iOS[1384:334531] Parameters: {
age = 35;
gender = M;
names = (
{
familyName = Siemon;
givenName = Don;
}
);
}
2015-03-09 10:56:50.824 OpenMRS-iOS[1384:334531] Failure adding patient:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment