Three pieces of identity must be configured before any patient record can reach DHA. They are set once, by the owner or admin, using values DHA issues you at onboarding. If any one is missing, the system safely refuses to transmit — so the clinic looks "quiet" at DHA while believing it is compliant. This is the single most important page in the module. Do this first.
The three prerequisites#
| What | Where it lives | Who sets it | If missing |
|---|---|---|---|
1. Assigning authority code (your clinic's DHA namespace, e.g. ELEGANTHOO) |
Business / tenant settings → the tenant's nabidh_assigning_authority field |
Owner / Admin (DHA license setup) | Every message refuses to build. Nothing transmits, clinic-wide. |
| 2. DHA facility ID per branch (the onboarding facility ID DHA issues each licensed location) | Settings → Branches → each branch's facility ID field (onboarding_facility_id; the related sheryan_facility_id marks the branch as DHA-enrolled) |
Owner / Admin (per DHA enrolment) | That branch refuses to build any message. A branch with no facility ID is also treated as "not enrolled" and is silently skipped. |
| 3. Doctor / provider DHA ID (Sheryan ID) per clinician | HR → Employee profile → the provider's sheryan_id |
HR Admin / Owner (per DHA enrolment) | The message still sends, but the practitioner shows as UNKNOWN — DHA may flag the record as incomplete. This is a quieter gap; fix it before inspection. |
Why there is deliberately no "default" value#
A previous version used a hardcoded fallback facility ID. In the June 2026 DHA audit that misattributed hundreds of records to the wrong facility — a far harder problem to unwind than a missing record. So today there is no fallback: a missing facility ID stops the message rather than sending it to the wrong place. Configure the real values; never invent one.
Go-live checklist (Owner / Admin)#
- ☐ Tenant assigning-authority code entered (matches the code on your DHA license).
- ☐ Every DHA-licensed branch has its DHA facility ID entered.
- ☐ Every clinician who sees patients has their Sheryan ID on their employee profile.
- ☐ Transmission environment confirmed with DevOps: the live switch (
NABIDH_SEND_MESSAGE) is on in production. Without it, rows are recorded but never leave the building — see scenarios. - ☐ A test patient registered and checked in; confirm a registration row appears in the transmission log with an ACK.
What is NOT your setup job#
Code mappings (local diagnosis / procedure / drug codes → ICD-10 / CPT / RxNorm) are maintained by the clinical team in the catalog. IP whitelisting and API keys are DevOps/DHA. Those are covered in inspection readiness.
