NEHR Integration
RefX exposes the following fields on referrals that are designed to be forwarded to the National Electronic Health Record (NEHR) putComposition API.
The fields
How to use them when calling NEHR putComposition
When constructing the putComposition request to NEHR, plug the RefX fields into the payload as follows.
The remaining fields are not provided by RefX and should be populated by your integration from your own system context, per the NEHR specification.
Implementation notes
- Fetch just-in-time.
nehrFormreflects the referral’s current state. Re-fetch it immediately before submitting to NEHR rather than caching it. - HTML safety. The
nehrFormHTML is already escaped and uses inline styles only. Forward it as-is; do not modify, reflow, or strip styles, otherwise it may not render correctly in NEHR.

