$sdh.s2s.consent-status operation is used to obtain a list of health plans/payers, represented as Consent resources, that a Member (Patient) has opted in or out of.Bundle containing the list of Consent resources and any reference Organization resources (where applicable).GET http request.Consent resources need to be configured with scope=patient-privacy. Only active or inactive statuses are considered as well.GET [base]/$sdh.s2s.consent-status?patient=Patient%2F2473
{
"resourceType": "Bundle",
"type": "searchset",
"entry": [
{
"fullUrl": "Consent/2475/_history/1",
"resource": {
"resourceType": "Consent",
"id": "2475",
"meta": {
"versionId": "1",
"lastUpdated": "2026-03-30T17:47:00.080+00:00",
"source": "#gNrszVXukKcY1zEs"
},
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy"
}
]
},
"patient": {
"reference": "Patient/2473"
},
"performer": [
{
"reference": "Organization/2474"
}
]
}
},
{
"fullUrl": "Consent/2476/_history/1",
"resource": {
"resourceType": "Consent",
"id": "2476",
"meta": {
"versionId": "1",
"lastUpdated": "2026-03-30T17:47:00.096+00:00",
"source": "#jOwLFzp7U2A6ng5y"
},
"status": "inactive",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy"
}
]
},
"patient": {
"reference": "Patient/2473"
},
"performer": [
{
"reference": "Organization/2474"
}
]
}
},
{
"fullUrl": "Organization/2474/_history/1",
"resource": {
"resourceType": "Organization",
"id": "2474",
"meta": {
"versionId": "1",
"lastUpdated": "2026-03-30T17:47:00.025+00:00",
"source": "#krp7AyshWyixeWuN"
},
"name": "Test Organization"
}
}
]
}
You are about to leave the Smile Digital Health documentation and navigate to the Open Source HAPI-FHIR Documentation.