{
"description": null,
"_filename": "StructureDefinition-Grant.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Grant",
"abstract": false,
"type": "Grant",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "27d91efa-54f0-4da8-9b22-0bde0ee6b9af",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/Grant",
"version": "0.2601.0",
"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"
}