description: Role resource for assigning access roles to users. package_name: io.health-samurai.core.r4b derivation: specialization name: Role type: Role elements: name: {type: string, short: 'Role name is a string that defines role. To assign the same role to multiple users, create multiple Role resources with the same "name". [Search param: name => type string]', index: 0} _source: {type: string, short: System Property. DO NOT USE IT., index: 1} description: {type: string, short: Text description of the role., index: 2} user: type: Reference short: 'Reference to a User resource for which the role will be applied. [Search param: user => type reference]' refers: ['http://health-samurai.io/fhir/core/StructureDefinition/User'] index: 3 links: type: BackboneElement short: You may list resources here, which can later be granted access for the user with this role via an AccessPolicy resource. index: 4 elements: patient: type: Reference short: Reference to Patient resource refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 5 practitionerRole: type: Reference short: Reference to PractitionerRole resource. refers: ['http://hl7.org/fhir/StructureDefinition/PractitionerRole'] index: 6 practitioner: type: Reference short: Reference to Practitioner resource. refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 7 organization: type: Reference short: Reference to Organization resource. refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 8 person: type: Reference short: Reference to Person resource. refers: ['http://hl7.org/fhir/StructureDefinition/Person'] index: 9 relatedPerson: type: Reference short: Reference to RelatedPerson resource. refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 10 context: {short: Additional context data., index: 11} package_version: 0.2601.0 class: resource kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/Role base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 0.2601.0 required: [user, name]