DetectedRoute
DetectedRoute = {
eligibility:Eligibility;route:undefined; } | {result:RouteEligibility<CignaView,CignaFindingCode>;route:"cigna"; } | {result:RouteEligibility<HcscView,HcscFindingCode>;route:"hcsc"; } | {result:RouteEligibility<MedicareView,HetsFindingCode>;route:"hets"; } | {result:RouteEligibility<HumanaView,HumanaFindingCode>;route:"humana"; } | {result:RouteEligibility<UhcView,UhcFindingCode>;route:"uhc"; }
Defined in: packages/parser/src/profiles/271/routes/types.ts:17
The result of interpretRoute(entry). route names the profile whose payerIds include the response's 2100A NM109, and result is that profile's result. When no profile lists the payer ID, route is undefined and eligibility is the interpret271 result.
Union Members
Type Literal
{ eligibility: Eligibility; route: undefined; }
eligibility
eligibility:
Eligibility
interpret271(entry.response).
route
route:
undefined
No profile lists the payer ID.
Type Literal
{ result: RouteEligibility<CignaView, CignaFindingCode>; route: "cigna"; }
result
result:
RouteEligibility<CignaView,CignaFindingCode>
interpretRoute(entry, cignaProfile).
route
route:
"cigna"
The route whose profile lists the payer ID.
Type Literal
{ result: RouteEligibility<HcscView, HcscFindingCode>; route: "hcsc"; }
result
result:
RouteEligibility<HcscView,HcscFindingCode>
interpretRoute(entry, hcscProfile).
route
route:
"hcsc"
The route whose profile lists the payer ID.
Type Literal
{ result: RouteEligibility<MedicareView, HetsFindingCode>; route: "hets"; }
result
result:
RouteEligibility<MedicareView,HetsFindingCode>
interpretRoute(entry, hetsProfile).
route
route:
"hets"
The route whose profile lists the payer ID.
Type Literal
{ result: RouteEligibility<HumanaView, HumanaFindingCode>; route: "humana"; }
result
result:
RouteEligibility<HumanaView,HumanaFindingCode>
interpretRoute(entry, humanaProfile).
route
route:
"humana"
The route whose profile lists the payer ID.
Type Literal
{ result: RouteEligibility<UhcView, UhcFindingCode>; route: "uhc"; }
result
result:
RouteEligibility<UhcView,UhcFindingCode>
interpretRoute(entry, uhcProfile).
route
route:
"uhc"
The route whose profile lists the payer ID.