Coverage questions do not necessarily end when an inpatient stay does. A discharge team may still need to check whether the record contains required documentation for services already performed and whether follow-up planning is complete. Da Vinci Coverage Requirements Discovery (CRD) includes an encounter-discharge hook for this point in the workflow. Its value is a timely review cue, not a promise that a payer has approved the stay or will pay a claim. The implementation details matter because encounter-discharge is a secondary hook, with different response expectations from the primary ordering and scheduling hooks.

Use the hook at the actual discharge decision point

The published CRD v2.2.1 guide describes encounter-discharge as generally specific to an inpatient encounter and fired when a provider performs the discharge process in the CRD client. It identifies possible advice about documentation for performed services, follow-up planning, and transfer of care. A useful implementation puts the check near the existing discharge review, while the care team can still address a concrete gap. A retrospective batch report may help operations, but it does not give the user the same in-workflow opportunity to act.

First identify whether the client actually supports this hook and whether the payer offers useful guidance for the patient’s coverage. CRD says clients must support at least one covered hook, rather than every hook. A payer with only drug coverage, for example, may have no relevant encounter-discharge response. Route the invocation to the correct payer CRD service using the current coverage context; do not assume that a response from one payer or plan applies to another.

  • Trigger from the inpatient discharge workflow rather than a generic end-of-day job.
  • Resolve current coverage and the intended payer service before invocation.
  • Record the encounter and payer context so the response can be reviewed in place.

Send the profiled encounter context

CRD identifies the Encounter and Patient profiles, along with US Core Practitioner and HRex PractitionerRole, as relevant to the encounter-discharge request. The hook context follows the CDS Hooks encounter-discharge logical model referenced by the guide. Keep the Encounter identity, patient, and user role aligned with the real discharge being completed. If the discharge was edited after the request, a cached response may no longer describe the same clinical and administrative context.

CRD clients must ensure included data conforms to the listed profiles. The guide also says a CRD server must not depend on data outside the identified profiles to produce valid coverage-information responses. This is a useful boundary for testing: send a minimal valid fixture, then vary coverage and encounter details deliberately. If the server cannot identify one appropriate coverage or payer endpoint, treat that as a request or routing problem rather than converting it into a coverage conclusion.

  • Validate the Encounter and Patient resources against the applicable CRD profiles.
  • Keep practitioner identity and role associated with the actual workflow user.
  • Test no coverage, ambiguous coverage, and stale encounter cases as explicit exceptions.

Triage an optional secondary-hook response

Encounter-discharge is a secondary CRD hook. The guide allows its server response to contain cards or system actions, but does not require one; clients can ignore returned cards or actions. A missing card is therefore not evidence that documentation is complete or that coverage is confirmed. If the client intends to ignore secondary-hook responses, the guide recommends using configuration options to tell the server not to try to return them.

If coverage information is returned on a secondary hook, CRD restricts messages asking for clinical or administrative information because the guide expects that information to be available later in the process. Present useful guidance as a specific work item with the affected encounter, source payer, and required reviewer. Separate an informational reminder from a real documentation gap. For example, a discharge planner might review transfer-of-care advice while a revenue-cycle specialist checks a missing document. Do not rewrite a payer response into an automatic authorization or reimbursement determination.

  • Treat an empty response as no new guidance, not as an approval.
  • Show actionable advice to the team that can resolve it.
  • Preserve the original response and the action taken for later review.

Test the operational handoff

A practical test set includes a valid inpatient discharge with a guidance card, a valid empty response, an unavailable CRD service, ambiguous coverage, and a discharge updated after the first call. CRD specifies error HTTP responses for server failures and an OperationOutcome for FHIR-aware issues. Make each failure visible as a repair or retry task; it should not silently mark discharge documentation complete.

Finally, verify where a guidance item lands. The person signing discharge orders, the documentation specialist, and the payer follow-up team may own different parts of the work. The release criterion is that the response appears at the right moment with enough encounter context for the right person to act. The hook supports coverage requirements discovery; the organization still needs its own process for clinical decisions, authorization submissions, claims, and payment follow-up.

Primary references