referral.singhealth-patient-create-reminder-sent value to the timeline event type field (timelineEvents[].type) returned by GET /api/v1/referrals/:referralId.submittedAt field to referral responses (GET /api/v1/institutions/:institutionIdType/:institutionId/referrals, GET /api/v1/referrals/:referralId, DELETE /api/v1/referrals/:referralId, POST /api/v1/referrals/:referralId/cancel, POST /api/v1/referrals/:referralId/back-to-draft).submittedAt field instead of createdAt when displaying or sorting by the submission time of a referral, since createdAt reflects when the draft was first created rather than when it was submitted.patient.isHsgEnrolled field from referral responses (GET /api/v1/institutions/:institutionIdType/:institutionId/referrals, GET /api/v1/referrals/:referralId, DELETE /api/v1/referrals/:referralId, POST /api/v1/referrals/:referralId/cancel, POST /api/v1/referrals/:referralId/back-to-draft).offering.description field in referral responses (GET /api/v1/institutions/:institutionIdType/:institutionId/referrals, GET /api/v1/referrals/:referralId, DELETE /api/v1/referrals/:referralId, POST /api/v1/referrals/:referralId/cancel, POST /api/v1/referrals/:referralId/back-to-draft).Manual enum value to the senderSystem field in referral responses (GET /api/v1/institutions/:institutionIdType/:institutionId/referrals, GET /api/v1/referrals/:referralId, DELETE /api/v1/referrals/:referralId, POST /api/v1/referrals/:referralId/cancel, POST /api/v1/referrals/:referralId/back-to-draft).Manual enum value to the timelineEvents[].system field in GET /api/v1/referrals/:referralId response.gpfirst and ae enum values to the offering.category field in referral responses (GET /api/v1/institutions/:institutionIdType/:institutionId/referrals, GET /api/v1/referrals/:referralId, DELETE /api/v1/referrals/:referralId, POST /api/v1/referrals/:referralId/cancel, POST /api/v1/referrals/:referralId/back-to-draft).nehrForm enum value to the additionalField query parameter on GET /api/v1/referrals/:referralId. When requested, the response includes:
nehrForm — the referral form rendered as a self-contained HTML document, suitable for forwarding to NEHR.nehrFormType — a human-readable description of the NEHR form type(s), with multiple templates joined by |.NEHR Integration page in the Concepts section, explaining how to map RefX fields (offering.nehrCode, offering.specialty, nehrForm, nehrFormType) into a NEHR putComposition request.GET /api/v1/referrals/:referralId?additionalField=nehrForm immediately before submitting to NEHR, and forward the returned nehrForm HTML as-is — do not modify, reflow, or strip styles, or it may not render correctly in NEHR.NEHR Integration concept page for the full mapping between RefX fields and NEHR putComposition payload locations.The changes documented here consolidate the main changes made from v0.0.58 to v0.0.66.
GET /api/v1/referrals/:referralId now requires requesterIdentifier, institutionIdType, and institutionId as query parameters.DELETE /api/v1/referrals/:referralId now requires institutionIdType and institutionId as query parameters.POST /api/v1/referrals/:referralId/back-to-draft now requires institutionIdType and institutionId in the request body.POST /api/v1/referrals/:referralId/cancel now requires institutionIdType, institutionId, and cancelNote in the request body.POST /api/v1/referrals/:referralId/notes now requires institutionIdType and institutionId in the request body.POST /api/v1/links/upsert now requires requesterIdentifier and institutionIdType in the request body.status field in appointments array in GET /api/v1/referrals/:referralId response has some values renamed:
booked -> schedulednoShow -> no-showtype values to timelineEvents array in GET /api/v1/referrals/:referralId response:
referral.pending-acceptanceappt.actualizedappt.no-showappt.cancellednationality field to POST /api/v1/links/upsert request body.location field to appointments array in GET /api/v1/referrals/:referralId response.isCancellable and coreStatus fields to GET /api/v1/referrals/:referralId response.sender-action-required enum value to the GET /api/v1/institutions/:institutionIdType/:institutionId/referrals status query parameter.offering.specialty and offering.nehrCode fields to GET /api/v1/referrals/:referralId response.label field to links array in GET /api/v1/referrals/:referralId response.status field in the GET /api/v1/referrals/:referralId response is now deprecated in favor of the new coreStatus field and may be removed in the future.dob field in POST /api/v1/links/upsert request body to indicate ISO 8601 format.Referral Lifecycle & Statuses page in the Concepts section:
coreStatus field.Referral Link page in the Concepts section:
Implementation Reference page in the Getting Started section.POST /api/v1/links/upsert using the provided enum values to prefill the referral form and reduce manual entry for the user.isCancellable field in the GET /api/v1/referrals/:referralId response to determine whether to show a cancel option in the UI.coreStatus field in the GET /api/v1/referrals/:referralId response instead of the status field to determine the status to display to the user. The status field contains more granular information that may not be relevant for display purposes.type field in the timelineEvents array in the GET /api/v1/referrals/:referralId response as there may be new event types added in the future. Instead, use the description field to display meaningful information to users without needing to update your system for new event types.sender-action-required enum value for the status query parameter in the GET /api/v1/institutions/:institutionIdType/:institutionId/referrals endpoint to highlight referrals that require action from the user.label field in the links array in the GET /api/v1/referrals/:referralId response as the text on buttons in the UI that redirect users to RefX.