{
"description": "Record of a user's consent that authorizes a Client to use the requested scopes.",
"_filename": "StructureDefinition-Grant.json",
"package_name": "io.health-samurai.core.r4b",
"date": null,
"derivation": "specialization",
"publisher": "Health Samurai",
"fhirVersion": "4.3.0",
"name": "Grant",
"abstract": false,
"type": "Grant",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Grant",
"package_version": "0.2606.3",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Security.OAuth"
} ],
"status": "active",
"id": "a34b44db-aab6-4bec-a84c-d8a792a0f5a2",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/Grant",
"version": "0.2606.3",
"differential": {
"element": [ {
"id": "Grant",
"max": "*",
"min": 0,
"path": "Grant"
}, {
"id": "Grant.user",
"max": "1",
"min": 0,
"path": "Grant.user",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/User" ]
} ],
"short": "Reference to the user who granted the access."
}, {
"id": "Grant._source",
"max": "1",
"min": 0,
"path": "Grant._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "Grant.client",
"max": "1",
"min": 0,
"path": "Grant.client",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/Client" ]
} ],
"short": "Reference to the client application being granted access."
}, {
"id": "Grant.requested-scope",
"max": "*",
"min": 0,
"path": "Grant.requested-scope",
"type": [ {
"code": "string"
} ],
"short": "List of scopes that were requested by the client."
}, {
"id": "Grant.provided-scope",
"max": "*",
"min": 0,
"path": "Grant.provided-scope",
"type": [ {
"code": "string"
} ],
"short": "List of scopes that were actually granted by the user."
}, {
"id": "Grant.patient",
"max": "1",
"min": 0,
"path": "Grant.patient",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
} ],
"short": "Reference to the patient this grant is for (in SMART on FHIR scenarios)."
}, {
"id": "Grant.scope",
"max": "1",
"min": 0,
"path": "Grant.scope",
"type": [ {
"code": "string"
} ],
"short": "Space-separated list of granted scopes."
}, {
"id": "Grant.start",
"max": "1",
"min": 0,
"path": "Grant.start",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when this grant was created."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}