Code Monkey home page Code Monkey logo

eka-utils's Introduction

EKA Utils

Intention

  • provide useful utilities like data generator
  • provide example code snippets

Random Data Generator For Patients.

takes the following parameters

  • out - the location directory where the file would be placed. Default is /tmp
  • type - PR (Prescription), DR (Diagnostic Report), OP (OP Consultation), DS (Discharge Summary). Must be provided.
  • name - should be given and if given, will throw error if not found in patients.properties file. Will default to 'navjot' if no name is given. You may add more entries in the patients.properties file. Right now can generate for - hina, navjot, janki, nitesh, singhal
  • fromDate - provide in format yyyy-MM-dd (e.g 2020-03-21). If not given will default to current date.
  • number - how many documents to generate. If not given, only 1 is generated. Documents are generated in interval (2 days for Prescription, 10 days for Discharge Summary etc).
  • hip - for which HIP to generate data. If not given, max is the default. Possible values are - max, tmh, wbc. You may change by adding another json in the resources/orgs/ directory.
  • id - you may provide an id for the patient to override id associated with name by default.

Build from source

./gradlew clean build

Build from source

# assuming running from eka-utils directory

java -Dtype=PR -Dnumber=3 -DfromDate=2019-08-01 -Dname=hina -Dout=/tmp/test -jar build/libs/eka-utils-1.0-SNAPSHOT.jar 

eka-utils's People

Contributors

angshu avatar imaditiagg avatar gayatrijagtap avatar sukreet avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.