Merge pull request #897 from ahdis/oe_patientrender_np
Fix NP for PatientRenderer #896
This commit is contained in:
commit
25f92bef1e
|
@ -149,6 +149,9 @@ public class PatientRenderer extends ResourceRenderer {
|
|||
if (newUse == null) {
|
||||
return true;
|
||||
}
|
||||
if (oldUse == null) {
|
||||
return existsInList(newUse, NameUse.OFFICIAL, NameUse.USUAL);
|
||||
}
|
||||
switch (oldUse) {
|
||||
case ANONYMOUS: return existsInList(newUse, NameUse.OFFICIAL, NameUse.USUAL);
|
||||
case MAIDEN: return existsInList(newUse, NameUse.OFFICIAL, NameUse.USUAL);
|
||||
|
|
Loading…
Reference in New Issue