Details
-
Type:
Task
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: OpenMRS 1.9.0
-
Fix Version/s: Platform 1.11.0
-
Component/s: None
Description
TODO: Couldn't find a voidNote() method.
deleteNote() should not be called except for testing and administration purposes. Use the void method instead.
File: /api/src/main/java/org/openmrs/api/db/NoteDAO.java
Line: 61
Add this new method to the NoteDAO such that we can use it for voiding notes:
public Note voidNote(Note note, String reason) throws APIException;
This will require adding these fields to the Note class:
private Boolean voided = Boolean.FALSE; private Date dateVoided; private User voidedBy; private String voidReason;
In addition, these fields need to be added to the Note.hbm.xml file
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
TRUNK-324 Go through the TODO items code and create tickets out of them
-
- Ready for Work
-