Hi @LasLabs,
We are struggling to understand how to use the insurance.plan and insurance.plan.template. Perhaps in Spain our use case is different. We are in the point to decide whether to adopt this model or not.
We expect that the clinic could define a number of insurance.plan.template that are not specific to a patient. For example, Insurance 'Acme Inc.' has a a plan that covers dental care.
Then, patients do have individual insurance.plan, that refer to a plan template.
With the introduction of the inherits https://github.com/LasLabs/vertical-medical/blob/release/10.0/medical_insurance/models/medical_insurance_plan.py#L11 this approach is dangerous. A specific medical.insurance.plan would be able to change any of the fields of the template it inherits from (unless you totally hide the template fields, and only expose in the views the insurance_template_id).
What is your use case in the US?
cc @etobella @Eficent/eficent
Hi @LasLabs,
We are struggling to understand how to use the insurance.plan and insurance.plan.template. Perhaps in Spain our use case is different. We are in the point to decide whether to adopt this model or not.
We expect that the clinic could define a number of insurance.plan.template that are not specific to a patient. For example, Insurance 'Acme Inc.' has a a plan that covers dental care.
Then, patients do have individual insurance.plan, that refer to a plan template.
With the introduction of the inherits https://github.com/LasLabs/vertical-medical/blob/release/10.0/medical_insurance/models/medical_insurance_plan.py#L11 this approach is dangerous. A specific medical.insurance.plan would be able to change any of the fields of the template it inherits from (unless you totally hide the template fields, and only expose in the views the insurance_template_id).
What is your use case in the US?
cc @etobella @Eficent/eficent