diff options
author | vlad <vlad@driver.xyz> | 2017-10-02 01:05:42 -0700 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2017-10-02 01:05:42 -0700 |
commit | d0482b45b6f9149f050c5e5a6dbab6f059229282 (patch) | |
tree | c82ce57536dc2ec51b34f1b6f8159835d95c2cc6 /src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala | |
parent | c5b7f009479930b82f0fb839971eeb2c457dcef0 (diff) | |
download | rest-query-d0482b45b6f9149f050c5e5a6dbab6f059229282.tar.gz rest-query-d0482b45b6f9149f050c5e5a6dbab6f059229282.tar.bz2 rest-query-d0482b45b6f9149f050c5e5a6dbab6f059229282.zip |
DocumentType and ProviderType as enumsv0.5.3
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala b/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala index e3ef6bc..3fcc4cb 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/rep/ExportPatientGen.scala @@ -7,24 +7,12 @@ import xyz.driver.pdsuidomain.fakes.entities.common._ import xyz.driver.pdsuidomain.entities._ import xyz.driver.pdsuidomain.entities.export.patient._ import xyz.driver.pdsuidomain.fakes.entities.common.{nextLocalDate, nextLongId} +import xyz.driver.pdsuidomain.fakes.entities.rep.DocumentGen._ +import xyz.driver.pdsuidomain.fakes.entities.rep.MedicalRecordGen._ object ExportPatientGen { private val maxItemsInCollectionNumber = 3 - def nextDocumentType(documentTypeId: LongId[DocumentType] = nextLongId): DocumentType = { - DocumentType( - documentTypeId, - nextString() - ) - } - - def nextProviderType(providerTypeId: LongId[ProviderType] = nextLongId): ProviderType = { - ProviderType( - providerTypeId, - nextString() - ) - } - def nextExportPatientLabelEvidenceDocument(documentId: LongId[Document]): ExportPatientLabelEvidenceDocument = { ExportPatientLabelEvidenceDocument( documentId = documentId, |