Skip to content

Commit

Permalink
chore: add process step update
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed May 8, 2023
1 parent e89122a commit a33e951
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/kotlin/application/handler/ProcessEventHandlers.kt
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ object ProcessEventHandlers {
ProcessData.ProcessState.POST_SURGERY,
surgicalProcessRepository
).execute()
SurgicalProcessServices.UpdateSurgicalProcessStep(
surgicalProcess.id,
Instant.parse(event.dateTime),
ProcessData.ProcessStep.PATIENT_UNDER_OBSERVATION,
surgicalProcessRepository
).execute()
SurgicalProcessServices.UpdateSurgicalProcessRoom(
surgicalProcess.id,
surgicalProcess.operatingRoom?.id?.id,
Expand Down

0 comments on commit a33e951

Please sign in to comment.