gitlab_slade360emr_com_sha-edi_hie-middleware_internal_dto.ConsentRequestInput
cr_idClient Registry (CR) identifier of the patient whose records the consent covers.
facility_idFacility Registry (FR) code of the facility requesting consent.
requested_byName or role of the person requesting consent. Recorded on the consent audit trail.
visit_typeType of visit the consent is being requested for. OP for outpatient, IP for inpatient.
internal_domain_shr.ConsentRequestResponse
consent_idIdentifier of the consent request. Supply it on the verify, status and resend-otp calls.
consent_statusCurrent state of the consent request as reported by DHA, for example Pending while the patient has not yet entered the OTP.
messageHuman readable outcome message from DHA.
otp_recordOTP record reference. Send it back with the OTP when verifying the consent.
statusOutcome status reported by DHA.
visit_typeType of visit the consent was requested for.
gitlab_slade360emr_com_sha-edi_hie-middleware_internal_dto.ErrorResponse
errorHTTP status text from the standard HTTP status codes.
messageDetailed error message explaining what went wrong.
gitlab_slade360emr_com_sha-edi_hie-middleware_internal_dto.ConsentVerifyInput
otpOne-time password the patient received from DHA.
otp_recordOTP record reference returned by the consent request. It ties the OTP back to the consent it was issued for.
internal_domain_shr.VerifyConsentResponse
consent_tokenPer-visit consent token. Send it in the X-Consent-Token header when fetching patient records.
messageHuman readable outcome message from DHA.
statusOutcome status reported by DHA.
visit_idIdentifier of the visit opened by the verified consent. Use it to refresh consent or to close the visit.
internal_domain_shr.ConsentStatusResponse
consent_idIdentifier of the consent request being polled.
consent_statusCurrent state of the consent request as reported by DHA, for example Pending or Approved.
messageHuman readable outcome message from DHA.
statusOutcome status reported by DHA.
visit_idIdentifier of the visit opened against the approved consent. Use it to refresh consent or to close the visit.
internal_domain_shr.ResendOTPResponse
consent_idIdentifier of the consent request the OTP was resent for.
consent_statusCurrent state of the consent request as reported by DHA.
messageHuman readable outcome message from DHA.
otp_recordOTP record reference for the newly issued OTP. Use this value, not the earlier one, when verifying the consent.
statusOutcome status reported by DHA.
visit_typeType of visit the consent was requested for.
internal_domain_shr.RefreshConsentResponse
consent_tokenRefreshed per-visit consent token. Replace the token you were using and send this one in the X-Consent-Token header.
messageHuman readable outcome message from DHA.
statusOutcome status reported by DHA.
internal_domain_shr.CloseVisitResponse
consent_idIdentifier of the consent request the closed visit belonged to.
end_dateTimestamp at which the visit was closed.
messageHuman readable outcome message from DHA.
statusOutcome status reported by DHA.
visit_idIdentifier of the visit that was closed.
internal_domain_shr.SubmitBundleResponse
mediator_idIdentifier DHA assigned to the submitted bundle. Quote it when following up on a submission.
messageHuman readable outcome message from DHA.
statusOutcome status reported by DHA.

