{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-PublicAPI/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Insurance Claims V1 — Developer Guide"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"insurance-claims-v1--developer-guide","__idx":0},"children":["Insurance Claims V1 — Developer Guide"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reference:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://papidocs.hs1api.com/publicapi/api-insurance-management/insuranceclaims-(v1)"},"children":["InsuranceClaims (V1) Endpoint Documentation"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This guide covers ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["read"]}," operations for Insurance Claims V1, with emphasis on retrieving insurance and patient estimate data at scale through the bulk GET endpoint."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get--bulk-insurance-claims","__idx":1},"children":["GET — Bulk Insurance Claims"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns insurance claim records for your organization based on filter criteria. Use this endpoint — not repeated GET-by-ID calls — when synchronizing large claim volumes."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Rate limiting:"]}," This endpoint is rate limited. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://papidocs.hs1api.com/publicapi/api-consumer-guide#rate-limiting"},"children":["Rate limiting"]}," in the API Consumer Guide."]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["✅ Recommended:"]}," Use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastId"]}]}," cursor pagination with a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastModified"]}]}," (or other date) filter for incremental sync. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/publicapi/bulk-get-total-count"},"children":["Bulk GET — Total Count Behavior"]}," for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pagination.total"]}," behavior."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameters","__idx":2},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"In"},"children":["In"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Organization-ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["header"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Organization context for the request"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filter"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Filter criteria (see filter keys below)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["responseFields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Comma-delimited field list, or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ALL"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pageSize"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Records per page"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Largest claim ID from the previous page (cursor pagination)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Deprecated where ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastId"]}," is supported"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["When ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", includes per-procedure estimate fields on each claim in the response"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"bulk-estimate-retrieval--showestimates-","__idx":3},"children":["Bulk estimate retrieval (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]},")"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Insurance and patient estimate data lives on each claim's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["procedures"]}]}," array. Without ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]},", bulk GET returns procedure references only (id, type, url). With ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}]},", each procedure includes the same estimate fields returned by GET by claim ID."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"estimate-fields-on-procedures","__idx":4},"children":["Estimate fields on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["procedures"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["writeOff"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Estimated write-off amount"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["patientPortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Current estimated patient portion"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["primaryInsurancePortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Current estimated primary insurance portion"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secondaryInsurancePortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Current estimated secondary insurance portion (when applicable)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["originalPatientPortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Original estimated patient portion at time of charge"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["originalPrimaryInsurancePortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Original estimated primary insurance portion"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["originalSecondaryInsurancePortion"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Original estimated secondary insurance portion (when applicable)"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For authoritative types and formats, see the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["linkedEstimationModel"]}]}," / procedure schema in the official API reference."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"get-by-id-vs-bulk-get","__idx":5},"children":["GET by ID vs bulk GET"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Operation"},"children":["Operation"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Estimate data"},"children":["Estimate data"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v1/insuranceclaims/{claimId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Always included on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["procedures"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v1/insuranceclaims"]}," (bulk)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Included only when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pass ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}]}," on bulk GET to avoid one API call per claim when syncing estimates across a large organization."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example--single-claim-with-estimates","__idx":6},"children":["Example — single claim with estimates"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims?filter=id==123456789&showEstimates=true\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example--batch-of-claim-ids","__idx":7},"children":["Example — batch of claim IDs"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims?filter=id->[123456789,123456790,123456791]&showEstimates=true\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example--incremental-sync-by-last-modified","__idx":8},"children":["Example — incremental sync by last modified"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims?pageSize=500&filter=lastModified>=2025-01-01T00:00:00.000Z,location.id==ALL&showEstimates=true\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Subsequent pages (use the largest ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," from the prior response as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastId"]},"):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims?lastId=1000000020703&pageSize=500&filter=lastModified>=2025-01-01T00:00:00.000Z,location.id==ALL&showEstimates=true\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-response-fragment","__idx":9},"children":["Example response fragment"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]},", each claim's procedures include estimate amounts:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"data\": [\n    {\n      \"id\": \"123456789\",\n      \"procedures\": [\n        {\n          \"id\": 1000000000086,\n          \"type\": \"PatientProcedureV1\",\n          \"url\": \"https://example.com/api/v1/patientprocedures/1000000000086\",\n          \"patientPortion\": \"25.00\",\n          \"primaryInsurancePortion\": \"75.00\",\n          \"writeOff\": \"0.00\",\n          \"originalPatientPortion\": \"25.00\",\n          \"originalPrimaryInsurancePortion\": \"75.00\"\n        }\n      ]\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"usage-guidance","__idx":10},"children":["Usage guidance"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Omit ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]}]}," (or use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=false"]},") when you only need claim metadata — responses are faster and lighter."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}]}," when synchronizing estimate data; one bulk request can return many claims with estimates."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scope filters"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastModified"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["location.id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["patient.id"]},", or explicit ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id->[...]"]}," to avoid timeouts on large tenants."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastId"]}," pagination"]}," rather than offset ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," for large data sets."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Bulk responses with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}," may be cached separately from requests without it (cache keys differ by parameter value)."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"recommended-filters","__idx":11},"children":["Recommended filters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Supported operators"},"children":["Supported operators"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["location.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}," — use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ALL"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["*"]}," for all locations"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["patient.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["subscriber.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["renderingProvider.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["insuranceCarrier.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrierInsurancePlan.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["->"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastModified"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When filtering by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sentDate"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastModified"]},", results are returned in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["descending"]}," order (newest first)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Examples:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filter=patient.id==12345"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filter=id->[123456789,123456790]&showEstimates=true"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filter=lastModified>=2025-01-01T00:00:00.000Z,location.id==ALL&showEstimates=true"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get--insurance-claim-by-id","__idx":12},"children":["GET — Insurance Claim by ID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims/{claimId}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns a single claim. Per-procedure estimate fields are ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["always"]}," present on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["procedures"]}," — no ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]}," parameter is required or supported on this operation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use GET by ID for ad hoc lookups; use bulk GET with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}," for high-volume estimate synchronization."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get--total-count","__idx":13},"children":["GET — Total Count"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /api/v1/insuranceclaims/totalcount\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Uses the same filter syntax as bulk GET. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]}," parameter does not apply to total count. See ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/publicapi/bulk-get-total-count"},"children":["Bulk GET — Total Count Behavior"]}]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"streamapi-webhooks","__idx":14},"children":["StreamAPI Webhooks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For real-time claim creates and updates, use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["StreamAPI webhooks (SNS)"]}," instead of polling bulk GET. Setup is covered in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/publicapi/streamapi-webhooks-setup"},"children":["Creating and Setting Up Webhooks for the StreamAPI"]}]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"errors--warnings-reference","__idx":15},"children":["Errors & Warnings Reference"]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTTP status code errors"]}," — click to expand"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These apply to Insurance Claims V1 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["read"]}," endpoints (bulk GET, GET by id, total count)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"400--bad-request","__idx":16},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400"]}," — Bad Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Invalid query parameters — for example malformed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filter"]}," syntax, invalid ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates"]}," value (must be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"), or unsupported ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["responseFields"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"401--unauthorized","__idx":17},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}," — Unauthorized"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authentication failed or was not provided. Send a valid Bearer token in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}," header."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"403--forbidden","__idx":18},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}," — Forbidden"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The caller is not allowed to perform this operation for the organization or resource."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"404--not-found","__idx":19},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]}," — Not Found"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["On GET by id: no claim exists for the given ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claimId"]}," in your organization."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"408--request-timeout","__idx":20},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["408"]}," — Request Timeout"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The query was too broad or the tenant is too large. Retry with a narrower filter, smaller ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pageSize"]},", or a shorter date window."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"429--too-many-requests","__idx":21},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}," — Too Many Requests"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rate limit exceeded. Back off and reduce request frequency; prefer bulk GET with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["showEstimates=true"]}," over per-claim GET when syncing estimates."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"500--internal-server-error","__idx":22},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["500"]}," — Internal Server Error"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Unexpected server error. Retry; contact support if it persists."]}]}]},"headings":[{"value":"Insurance Claims V1 — Developer Guide","id":"insurance-claims-v1--developer-guide","depth":1},{"value":"GET — Bulk Insurance Claims","id":"get--bulk-insurance-claims","depth":2},{"value":"Parameters","id":"parameters","depth":3},{"value":"Bulk estimate retrieval ( showEstimates )","id":"bulk-estimate-retrieval--showestimates-","depth":2},{"value":"Estimate fields on procedures","id":"estimate-fields-on-procedures","depth":3},{"value":"GET by ID vs bulk GET","id":"get-by-id-vs-bulk-get","depth":3},{"value":"Example — single claim with estimates","id":"example--single-claim-with-estimates","depth":3},{"value":"Example — batch of claim IDs","id":"example--batch-of-claim-ids","depth":3},{"value":"Example — incremental sync by last modified","id":"example--incremental-sync-by-last-modified","depth":3},{"value":"Example response fragment","id":"example-response-fragment","depth":3},{"value":"Usage guidance","id":"usage-guidance","depth":3},{"value":"Recommended filters","id":"recommended-filters","depth":2},{"value":"GET — Insurance Claim by ID","id":"get--insurance-claim-by-id","depth":2},{"value":"GET — Total Count","id":"get--total-count","depth":2},{"value":"StreamAPI Webhooks","id":"streamapi-webhooks","depth":2},{"value":"Errors & Warnings Reference","id":"errors--warnings-reference","depth":2},{"value":"400 — Bad Request","id":"400--bad-request","depth":4},{"value":"401 — Unauthorized","id":"401--unauthorized","depth":4},{"value":"403 — Forbidden","id":"403--forbidden","depth":4},{"value":"404 — Not Found","id":"404--not-found","depth":4},{"value":"408 — Request Timeout","id":"408--request-timeout","depth":4},{"value":"429 — Too Many Requests","id":"429--too-many-requests","depth":4},{"value":"500 — Internal Server Error","id":"500--internal-server-error","depth":4}],"frontmatter":{"title":"InsuranceClaimsV1","toc":true,"description":"Guide to Insurance Claims V1 bulk GET — including bulk retrieval of insurance and patient estimates with showEstimates","seo":{"title":"Insurance Claims V1 — Developer Guide"}},"lastModified":"2026-09-14T23:40:20.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/publicapi/endpoints/insuranceclaims-v1","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}