diff options
author | vlad <vlad@driver.xyz> | 2018-01-25 14:12:31 -0800 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2018-01-25 14:12:31 -0800 |
commit | a0877d81ca2844d75dc361b5ce7c99afacd6e25f (patch) | |
tree | 8fe49f45cbcddbbb9a3d167099abe7aa2625e56b /src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala | |
parent | 46a22e9ab324a0068a85952cdc809800f360f445 (diff) | |
download | rest-query-a0877d81ca2844d75dc361b5ce7c99afacd6e25f.tar.gz rest-query-a0877d81ca2844d75dc361b5ce7c99afacd6e25f.tar.bz2 rest-query-a0877d81ca2844d75dc361b5ce7c99afacd6e25f.zip |
Extracting query library
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala deleted file mode 100644 index be9dae9..0000000 --- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/recordhistory.scala +++ /dev/null @@ -1,43 +0,0 @@ -package xyz.driver.pdsuidomain.formats.json - -import spray.json._ -import xyz.driver.core.json._ -import xyz.driver.pdsuidomain.entities._ - -object recordhistory { - import DefaultJsonProtocol._ - import MedicalRecordHistory._ - import common._ - - implicit val recordStateFormat = new EnumJsonFormat[State]( - "New" -> State.New, - "Clean" -> State.Clean, - "Organize" -> State.Organize, - "Review" -> State.Review, - "Done" -> State.Done, - "Flag" -> State.Flag, - "Archive" -> State.Archive - ) - - implicit val recordActionFormat = new EnumJsonFormat[Action]( - "Start" -> Action.Start, - "Submit" -> Action.Submit, - "Unassign" -> Action.Unassign, - "Resolve" -> Action.Resolve, - "Flag" -> Action.Flag, - "Archive" -> Action.Archive, - "SaveDuplicate" -> Action.SaveDuplicate, - "SaveReorder" -> Action.SaveReorder, - "SaveRotation" -> Action.SaveRotation, - "DeleteDuplicate" -> Action.DeleteDuplicate, - "DeleteReorder" -> Action.DeleteReorder, - "DeleteRotation" -> Action.DeleteRotation, - "CreateDocument" -> Action.CreateDocument, - "DeleteDocument" -> Action.DeleteDocument, - "CreateRecord" -> Action.CreateRecord, - "ReadRecord" -> Action.ReadRecord - ) - - implicit val recordHistoryFormat: RootJsonFormat[MedicalRecordHistory] = jsonFormat6(MedicalRecordHistory.apply) - -} |