Fred,

> But what if UB billing requires me to loop by father-in-law? What if
> some German form requires me to loop by next-door-neighbor? What if the
> French form wants me to loop over phone codes?
Well, then the German and French bill generation specs better
tell FreeB how to loop over what, no ?  Eg:

FreeB: Gimme the bill handles.
GnuMed: a,b,c,d
LOOP OVER billhandles:
 FreeB: What is the type of bill for $billhandle ?
 GnuMed: X12
 FreeB: call_bill_handler('x12', $billhandle)
END LOOP

LOOP OVER generated_bills:
 billing_group = call_insanely_complex_billing_grouper($bill_handle)
 put $bill_handle into $billing_group bin
END LOOP

Now, bill_handler('x12') better know how to loop over what.
Same for bill_handler('german next-door neighbor'). That way
it shouldn't be necessary for FreeB proper to know how to loop
over french-phone-code.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

Reply via email to