Files
2025-07-01 12:42:28 +07:00

31 lines
1.9 KiB
Go

package coverage
import (
_struct "api-poliklinik/pkg/models/struct"
)
type Coverage struct {
ResourceType string `json:"resourceType" bson:"resourceType"`
ID string `json:"id" bson:"id"`
Identifier []_struct.Identifier `json:"identifier" bson:"identifier"`
Status string `json:"status" bson:"status"`
Kind string `json:"kind" bson:"kind"`
PaymentBy []_struct.CoveragePayment `json:"paymentBy" bson:"paymentBy"`
Type _struct.CodeableConcept `json:"type" bson:"type"`
PolicyHolder _struct.Reference `json:"policyHolder" bson:"policyHolder"`
Subscriber _struct.Reference `json:"subscriber" bson:"subscriber"`
SubscriberId []_struct.CodeableConcept `json:"subscriberId" bson:"subscriberId"`
Beneficiary _struct.Reference `json:"beneficiary" bson:"beneficiary"`
Dependent string `json:"dependent" bson:"dependent"`
Relationship _struct.CodeableConcept `json:"relationship" bson:"relationship"`
Period _struct.Period `json:"period" bson:"period"`
Insurer _struct.Reference `json:"insurer" bson:"insurer"`
Class []_struct.CoverageClass `json:"class" bson:"class"`
Order int `json:"order" bson:"order"`
Network string `json:"network" bson:"network"`
CostToBeneficiary []_struct.CostToBeneficiary `json:"costToBeneficiary" bson:"costToBeneficiary"`
Subrogation int `json:"subrogation" bson:"subrogation"`
Contact _struct.Reference `json:"contact" bson:"contact"`
InsurancePlan _struct.Reference `json:"insurancePlan" bson:"insurancePlan"`
}