Giter Club home page Giter Club logo

mdbilling's Introduction

mdbilling

Java 8 dojo TDD task

Medical centre provide following services:

  1. Diagnosis

  2. X-Ray

  3. Blood Test

  4. ECG

  5. Vaccine

Each of the services has an associated default cost

  1. Diagnosis £60

  2. X-Ray £150

  3. Blood Test £78

  4. ECG £200.40

  5. Vaccine £27.50 (service) + £15 (for each vaccine)

Discounts are applied for services based on the following criteria:

  1. Senior citizens (between 65 and 70) receive a 60% discount

  2. Senior citizens (over 70) receive a 90% discount

  3. Children under 5 receive 40% discount

  4. Patients with "MediHealth Health insurance" get additional 15% discount on Blood test when they are diagnosed by a MediHealth practitioner

Exercise:

The medical centre requires you to implement the basis of a new billing engine using the rules detailed above. Solution to be written in a TDD.

mdbilling's People

Contributors

wasylni avatar

Stargazers

Roman avatar

Watchers

 avatar 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.