I’m working on MF-217-(Adding support for recording of patient identifiers to openmrs-esm-patient-registration). We however require two or more endpoints ie:-
An endpoint to fetch the primary patient identifier type(I think this is normally one, correct me if I’m wrong)
An end point to fetch the extra patient identifier types(Secondary identifier types)
In the Reference Application, this configuration has been managed by the EMR API module and we suggest it would be the safest place to have those endpoint. But our question is, is there any one that knows of similar endpoints living somewhere?
@dkayiwa this helps in fetching the Primary Identifier Type.
Does anyone know of a similar endpoint for fetching the secondary identifier types? If not, what’s the positive way forward, adding a handler for code=emr.secondaryIdentifierType(s) to the metadata mapping resource?
@samuel34 your question is equivalent to this. We have an end point for fetching a patient with id 1. Can we add an end point for fetching a patient with id 2?
To make my question or suggestion clear: I think we want to add some metadata mapping with code = emr.secondaryIdentifierTypes. So I can assert that the endpoint exists but the data doesn’t. We need to agree on the naming and standardisation of such a configuration.