# Design Forum: Patient Program "voidLastState" object

**URL:** <https://talk.openmrs.org/t/design-forum-patient-program-voidlaststate-object/14058>\
**Category:** Development\
**Tags:** meetings, design-forum\
**Created:** [November 8, 2017, 1:58pm UTC](https://talk.openmrs.org/t/design-forum-patient-program-voidlaststate-object/14058 "2017-11-08T13:58:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jthomas](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jthomas/32/21_2.png) [@jthomas](https://talk.openmrs.org/u/jthomas)\
**Post date:** [November 8, 2017, 1:58pm UTC](https://talk.openmrs.org/t/design-forum-patient-program-voidlaststate-object/14058/1 "2017-11-08T13:58:51Z")

</div>

Today’s [design forum](https://wiki.openmrs.org/display/RES/Design+Forum) is on Patient Program “voidLastState” object. If you have a topic you would like to discuss during the call please post it at [Propose a Design Forum Topic - Development - OpenMRS Talk](http://om.rs/designtime) or join us from 7-8 pm UTC.

> [@PatientProgam "voidLastState" object](https://talk.openmrs.org/t/patientprogam-voidlaststate-object/13978):
>
> In core, the PatientState domain object has a “voidLastState(ProgramWorkflow)” utility method that voided the last (most recent) patient state for that patient within the specified workflow. This is what the REST module delegates to when deleting a state RESTfully. There’s some business logic built int the method, namely that it sets the end date of the “next-to-last” patient state to null, which is generally the “right” behavior. That is if you have: Pre-ART: Oct 1, 2017 to Oct 5, 2017 On A…

The next design forum is on Monday, November 13 @ 4-5 pm UTC - Open Concept Lab (OCL): current status and direction

> [@Introducing Open Concept Lab for distributions](https://talk.openmrs.org/t/introducing-open-concept-lab-for-distributions/4842/19):
>
> @raff / @darius / @paynejd / @akanter - pinging on this. Can you point me in the direction of where to find more information on the status of this work? Thanks, MIke

To join the call using Audio, Chat, & Screen Sharing please use the latest Firefox, Chrome, or other WebRTC-compatible browser and go to:

> **[Dialpad Ai Meetings](https://meetings.dialpad.com/openmrs)**
>
> With HD video, crystal-clear audio, and built in voice intelligence, Dialpad Ai Meetings helps you connect with colleagues and clients around the world hassle-free.
