Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Fix business logic around pricing #18

@cschlessinger

Description

@cschlessinger

Two parts:

  1. Easy: The weeks in the gestational helper file should round down (.floor rather than .ceil); if you're 9 weeks and 2 days, you should be considered at 9 weeks

  2. Harder: The pricing model is actually more complicated than a handful of predefined pricing schedule tiers. Each clinic measures cost differently, and can vary week to week. The case statements should be refactored to something else that handles whatever data the clinic generates (sorry, super vague, hopefully @colinxfleming can upload a chart and expand on this)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions