Situation
I am working on integrating insurance data from OpenEMR using the FHIR API.
When I retrieve the Coverage
resource (using Coverage.read
), I am able to get basic insurance information like status
, beneficiary
, and payor
.
However, two important fields are missing from the API response:
- subscriberId → The unique identifier for the insurance policy.
- Group Number → The identifier for the insurance group.
These fields are essential for billing and insurance verification processes.
Here is a sample API response I’m receiving (sensitive data removed):
{
“resourceType”: “Coverage”,
“id”: “12345”,
“status”: “active”,
“beneficiary”: {
“reference”: “Patient/67890”
},
“payor”: [
{
“reference”: “Organization/98765”
}
]
// Missing subscriberId and group number
}
Question
- Is there any configuration or mapping in OpenEMR to include these fields in the FHIR
Coverage
resource? - If not, do I need to modify the
CoverageService
implementation to expose these fields? - Are there known limitations or planned enhancements for including these fields in a future version?
OpenEMR Version
I’m using OpenEMR version: 7.0.2
Browser
I’m using: Chrome
Operating System
I’m using: Windows 11
Logs
I have checked the logs, but I didn’t see any related errors.
I can share the specific API request/response if needed.