- Timestamp:
- 07/16/08 12:29:31 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/1.3.x/src/api/org/openmrs/api/EncounterService.java
r4501 r4947 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 /** … … 126 126 */ 127 127 @Authorized( { OpenmrsConstants.PRIV_EDIT_ENCOUNTERS }) 128 public voidvoidEncounter(Encounter encounter, String reason);128 public Encounter voidEncounter(Encounter encounter, String reason); 129 129 130 130 /** … … 134 134 */ 135 135 @Authorized( { OpenmrsConstants.PRIV_EDIT_ENCOUNTERS }) 136 public voidunvoidEncounter(Encounter encounter) throws APIException;136 public Encounter unvoidEncounter(Encounter encounter) throws APIException; 137 137 138 138 /** … … 166 166 */ 167 167 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 168 public voidsaveEncounterType(EncounterType encounterType);168 public EncounterType saveEncounterType(EncounterType encounterType); 169 169 170 170 /** … … 237 237 */ 238 238 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 239 public voidretireEncounterType(EncounterType encounterType, String reason)239 public EncounterType retireEncounterType(EncounterType encounterType, String reason) 240 240 throws APIException; 241 241 … … 248 248 */ 249 249 @Authorized( { OpenmrsConstants.PRIV_MANAGE_ENCOUNTER_TYPES }) 250 public voidunretireEncounterType(EncounterType encounterType)250 public EncounterType unretireEncounterType(EncounterType encounterType) 251 251 throws APIException; 252 252