Need help displaying extra patient identifiers in patient header in refApp 2.6

Ok so this MetadataSet ID’d 1 is actually created here.

@dkayiwa I think that’s problematic since it is not possible to refer to it in any non-internal way, there is no UUID to refer to.

Anyone has any objection to change this to something like:

MetadataSet extraPatientIdTypesSet = new MetadataSet();
extraPatientIdTypesSet.setUuid("e4aab2eb-5d19-496f-858b-c1269d92c549");
extraPatientIdTypesSet = metadataMappingService.saveMetadataSet(extraPatientIdTypesSet);

That’s so that we can use MetadataMappingService#getMetadataSetByUuid(String) in Iniz.

Cc @mddubey @samuel34

2 Likes