|
27 | 27 | import org.openmrs.module.idgen.PooledIdentifier; |
28 | 28 | import org.openmrs.module.idgen.SequentialIdentifierGenerator; |
29 | 29 | import org.openmrs.module.idgen.processor.IdentifierSourceProcessor; |
30 | | -import org.openmrs.util.OpenmrsConstants; |
| 30 | +import org.openmrs.util.PrivilegeConstants; |
31 | 31 |
|
32 | 32 | import java.util.Date; |
33 | 33 | import java.util.List; |
@@ -107,21 +107,21 @@ public interface IdentifierSourceService extends OpenmrsService { |
107 | 107 | * Given a PatientIdentifierType, generates an identifier using the proper IdentifierSource for this server |
108 | 108 | * Returns null if this PatientIdentifierType is not set to be auto-generated |
109 | 109 | */ |
110 | | - @Authorized(OpenmrsConstants.PRIV_EDIT_PATIENT_IDENTIFIERS) |
| 110 | + @Authorized(PrivilegeConstants.EDIT_PATIENT_IDENTIFIERS) |
111 | 111 | String generateIdentifier(PatientIdentifierType type, String comment); |
112 | 112 |
|
113 | 113 | /** |
114 | 114 | * Given a PatientIdentifierType and Location, generates an identifier using the proper IdentifierSource |
115 | 115 | * Returns null if this PatientIdentifierType is not set to be auto-generated |
116 | 116 | */ |
117 | | - @Authorized(OpenmrsConstants.PRIV_EDIT_PATIENT_IDENTIFIERS) |
| 117 | + @Authorized(PrivilegeConstants.EDIT_PATIENT_IDENTIFIERS) |
118 | 118 | String generateIdentifier(PatientIdentifierType type, Location location, String comment); |
119 | 119 |
|
120 | 120 | /** |
121 | 121 | * Generates a Single Identifiers from the given source |
122 | 122 | * @throws APIException |
123 | 123 | */ |
124 | | - @Authorized(OpenmrsConstants.PRIV_EDIT_PATIENT_IDENTIFIERS) |
| 124 | + @Authorized(PrivilegeConstants.EDIT_PATIENT_IDENTIFIERS) |
125 | 125 | String generateIdentifier(IdentifierSource source, String comment) throws APIException; |
126 | 126 |
|
127 | 127 | /** |
|
0 commit comments