elkinleon
(elkin leon)
January 7, 2022, 3:46am
1
Reference Aplication 2.10 Attachments Module: 2.5
Hello again, a very happy new year to this great community.
I am finishing the implementation of an API that connects OpenMRS with other software, I have found the problem that to create a patient I have not been able to generate the ID of this patient with the default type of identifier, the OpenMRS ID with check digit.
Is there any way to generate it automatically?
dkayiwa
(Daniel Kayiwa)
January 7, 2022, 10:41am
2
Try something like this: https://qa-refapp.openmrs.org/openmrs/ws/rest/v1/idgen/nextIdentifier?source=1
1 Like
elkinleon
(elkin leon)
January 7, 2022, 4:23pm
3
Thanks as always for your great help, it is possible to make the identifierValue automatic?
dkayiwa
(Daniel Kayiwa)
January 8, 2022, 8:24pm
4
What is your exact use case?
musakizito
(Kizito Musa)
January 9, 2022, 1:19am
5
I would like to work on un assigned project
elkinleon
(elkin leon)
January 9, 2022, 5:02pm
6
I need to create a patient everytime they fill an online form.
I can create the patient over API, but the API needs the identifierValue with the default OpenMRS ID with check digit.
I thought that when creating a patient through the API, OpenMRS would assign an OpenMRS ID, but this is not the case :S
jwnasambu
(Juliet Wamalwa)
January 9, 2022, 6:49pm
7
Kindly the tickets to be worked on are on this link . Is there a problem you are facing in particular?
dkayiwa
(Daniel Kayiwa)
January 9, 2022, 7:13pm
8
The OpenMRS REST API does not automatically assign patient identifiers.
2 Likes