Changeset 5183 for openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/EncounterService.java
- Timestamp:
- 08/06/08 17:17:55 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/EncounterService.java
r4969 r5183 54 54 @Authorized( { OpenmrsConstants.PRIV_ADD_ENCOUNTERS, 55 55 OpenmrsConstants.PRIV_EDIT_ENCOUNTERS }) 56 public voidsaveEncounter(Encounter encounter) throws APIException;56 public Encounter saveEncounter(Encounter encounter) throws APIException; 57 57 58 58 /** … … 129 129 */ 130 130 @Authorized( { OpenmrsConstants.PRIV_EDIT_ENCOUNTERS }) 131 public voidvoidEncounter(Encounter encounter, String reason);131 public Encounter voidEncounter(Encounter encounter, String reason); 132 132 133 133 /** … … 137 137 */ 138 138 @Authorized( { OpenmrsConstants.PRIV_EDIT_ENCOUNTERS }) 139 public voidunvoidEncounter(Encounter encounter) throws APIException;139 public Encounter unvoidEncounter(Encounter encounter) throws APIException; 140 140 141 141 /** … … 169 169 */ 170 170 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 171 public voidsaveEncounterType(EncounterType encounterType);171 public EncounterType saveEncounterType(EncounterType encounterType); 172 172 173 173 /** … … 246 246 */ 247 247 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 248 public voidretireEncounterType(EncounterType encounterType, String reason)248 public EncounterType retireEncounterType(EncounterType encounterType, String reason) 249 249 throws APIException; 250 250 … … 257 257 */ 258 258 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 259 public voidunretireEncounterType(EncounterType encounterType)259 public EncounterType unretireEncounterType(EncounterType encounterType) 260 260 throws APIException; 261 261