Details
-
Task
-
Status: Closed
-
Should
-
Resolution: Fixed
-
OpenMRS 1.9.0
-
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
-
-
TRUNK-6087 COPY: Go through the TODO items code and create tickets out of them
-
- Needs Assessment
-
-
TRUNK-6108 COPY: Go through the TODO items code and create tickets out of them
-
- Needs Assessment
-