CoverageEligibilityRequest
The CoverageEligibilityRequest provides patient and insurance coverage information to an insurer for them to respond, in the form of an CoverageEligibilityResponse, with information regarding whether the stated coverage is valid and in-force.
https://hl7.org/fhir/R4/coverageeligibilityrequest.html
Endpoints
CoverageEligibilityRequest create
If Claim.MD is set up in your Canvas instance, a creation of a coverage CoverageEligibilityRequest will kick off a request to Claim.MD to fetch the eligibility information. Use the returned id
in the response.headers[‘location’] attribute to perform a CoverageEligibilityResponse Search to see what response Claim.MD returned.
Attributes
The FHIR Resource name.
Describes the state the request is in.
What information is being requested.
Supported values: only [“benefits”] is valid
Canvas patient resource whom the CoverageEligibilityRequest is for.
The reference string of the subject in the format of "Patient/a39cafb9d1b445be95a2e2548e12a787"
.
Type the reference refers to (e.g. “Patient”).
Creation date, required by the FHIR specification, but unused by Canvas as it will be defaulted to the Canvas ingestion timestamp.
Canvas recommends sending the current datetime in ISO 8601 format.
Coverage issuer, required by the FHIR schema but unused by Canvas because we inherit the issuer directly from the Coverage resource provided.
Canvas recommends setting insurer
to {}
.
Patient insurance information.
Canvas requires a single coverage resource identifying the insurance to check eligibility against.
Insurance information.
The reference string of the coverage in the format of "Coverage/f7663d7b-13bd-4236-843e-086306aea125"
.
Responses
Canvas returns the created resource's id as a UUID within the
location
header and a null
response body.Errors
curl --request POST \ --url 'https://fumage-example.canvasmedical.com/CoverageEligibilityRequest' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "resourceType": "CoverageEligibilityRequest", "status": "active", "purpose": [ "benefits" ], "patient": { "reference": "Patient/9713f5a3c8464a2587912e80bc2dd938" }, "created": "2023-09-19", "insurer": {}, "insurance": [ { "focal": true, "coverage": { "reference": "Coverage/743aa331-2f85-420b-ab10-8a6b7bb6a1cf" } } ] }'
import requests url = "https://fumage-example.canvasmedical.com/CoverageEligibilityRequest" payload = { "resourceType": "CoverageEligibilityRequest", "status": "active", "purpose": [ "benefits" ], "patient": { "reference": "Patient/9713f5a3c8464a2587912e80bc2dd938" }, "created": "2023-09-19", "insurer": {}, "insurance": [ { "focal": True, "coverage": { "reference": "Coverage/743aa331-2f85-420b-ab10-8a6b7bb6a1cf" } } ] } headers = { "accept": "application/json", "Authorization": "Bearer <token>", "content-type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
null
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "details": { "text": "Bad request" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-supported", "details": { "text": "Operation is not supported" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "business-rule", "details": { "text": "Unprocessable entity" } } ] }