From 54b15dae509212f6661dc1f1bc4ca248cb487443 Mon Sep 17 00:00:00 2001 From: Kseniya Tomskikh Date: Fri, 20 Oct 2017 16:25:04 +0700 Subject: PDSUI-2336 Deleted api classes of play format, userhistory and message services --- .../formats/json/sprayformats/recordhistory.scala | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/recordhistory.scala (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/recordhistory.scala') diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/recordhistory.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/recordhistory.scala deleted file mode 100644 index bd14d43..0000000 --- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/recordhistory.scala +++ /dev/null @@ -1,30 +0,0 @@ -package xyz.driver.pdsuidomain.formats.json.sprayformats - -import spray.json._ -import xyz.driver.core.json.EnumJsonFormat -import xyz.driver.pdsuidomain.entities._ - -object recordhistory { - import DefaultJsonProtocol._ - import common._ - import MedicalRecordHistory._ - - implicit val recordStateFormat = new EnumJsonFormat[State]( - "Clean" -> State.Clean, - "Organize" -> State.Organize, - "Review" -> State.Review, - "Flag" -> State.Flag - ) - - implicit val recordActionFormat = new EnumJsonFormat[Action]( - "Start" -> Action.Start, - "Submit" -> Action.Submit, - "Unassign" -> Action.Unassign, - "Resolve" -> Action.Resolve, - "Flag" -> Action.Flag, - "Archive" -> Action.Archive - ) - - implicit val recordHistoryFormat: RootJsonFormat[MedicalRecordHistory] = jsonFormat6(MedicalRecordHistory.apply) - -} -- cgit v1.2.3