Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

if location → ProductS (Product also related to Region if the location is a district)

if claim → claim product (MAX Product id from item and services)if product → paymentPlans

if paymentPlan → check if UUID = this.UUID

...

elseif context == “individualValuation“

not implemented

...

convert(from, to, **argv)

...

if context == “batchPayment“

argv

  • product_id

  • batch_id

  • sub_type,

...

calculate(cls, <paymentplan>, *args[date_from, date_to, productid, location]

[to be updated]

  1. [out of scope]two way of creating the accountPayableare possible for the capitation, in both case there will be one “accountPayable” per HF

    1. one asset (line) per weighted indicator I for product P : Allocated contribution/ Sum(indicator for P) as unit price , indicator I as quantity, (1-weight) as discount;

      1. Population living in catchments area of the health facility

      2. Number of families living in catchments area of the health facility

      3. Insured population living in catchments area of the health facility

      4. Insured number of families living in catchments area of the health facility

      5. Number of claims (contacts) with the health facility by insured in the catchment area

      6. Adjusted amount

    2. [out of payment layer scope]asset (line) per product with the detail of the calculation as asset description

...

field

type

comment

HistoryBusinessModel fields

 

validFrom: first day of batch

validTo:last day of bacth

line_id

 b

capitationPaymentbatchPayment_id (renaming )

line_type

 

capitationPaymentbatchPayment

code

 str 

Paymentplan-Code

description

 str 

Capitation payment

details

 json 

capitation payment details

ledger_account

 int 

N/A

quantity

 float 

1

unit_price

 type 

total to be paid

deduction

float

n/a

discount

float

n/a

 tax_rate

 Calculation uuid 

N/A

tax_analysis

json

Code Block

amount_total

float

net

amount_net

 float

total