package bcbsimodel import ( "encoding/xml" ) type EnvelopeResponse struct { XMLName xml.Name `xml:"Envelope"` Body EnvelopeBodyResponse `xml:"Body"` } type EnvelopeBodyResponse struct { MemberEligibilityResponse MemberEligibilityResponse `xml:"MemberEligibilityResponse"` } type MemberEligibilityResponse struct { Version Version `xml:"version" json:"-"` QueryResult QueryResult `xml:"eligibility-benefits-query-results" json:"results"` } type QueryResult struct { HIPPA271 HIPAA271 `xml:"vcml-271" json:"raw"` QueryResultSummary QueryResultSummary `xml:"query-result-summary" json:"summary"` } type HIPAA271 struct { T271 string `xml:"t271" json:"t271"` } type QueryResultSummary struct { BenefitsFound bool `xml:"benefits-found" json:"benefits_found"` ProcessingInfo ProcessingInfo `xml:"processing-info" json:"-"` } type ProcessingInfo struct { Message string `xml:"message" json:"-"` } type EntityResponse struct { EntityID int64 `json:"entity_id"` ID string `json:"id"` Name string `json:"name"` Status bool `json:"status"` }