{
"description": "Role resource for assigning access roles to users.",
"_filename": "StructureDefinition-Role.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Role",
"abstract": false,
"type": "Role",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "b8be0487-df4b-42a1-ba8f-0be40e9584d4",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/Role",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "Role",
"max": "*",
"min": 0,
"path": "Role"
}, {
"id": "Role.name",
"max": "1",
"min": 1,
"path": "Role.name",
"type": [ {
"code": "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]"
}, {
"id": "Role._source",
"max": "1",
"min": 0,
"path": "Role._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "Role.description",
"max": "1",
"min": 0,
"path": "Role.description",
"type": [ {
"code": "string"
} ],
"short": "Text description of the role."
}, {
"id": "Role.user",
"max": "1",
"min": 1,
"path": "Role.user",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/User" ]
} ],
"short": "Reference to a User resource for which the role will be applied. [Search param: user => type reference]"
}, {
"id": "Role.links",
"max": "1",
"min": 0,
"path": "Role.links",
"type": [ {
"code": "BackboneElement"
} ],
"short": "You may list resources here, which can later be granted access for the user with this role via an AccessPolicy resource."
}, {
"id": "Role.links.patient",
"max": "1",
"min": 0,
"path": "Role.links.patient",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
} ],
"short": "Reference to Patient resource"
}, {
"id": "Role.links.practitionerRole",
"max": "1",
"min": 0,
"path": "Role.links.practitionerRole",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ]
} ],
"short": "Reference to PractitionerRole resource."
}, {
"id": "Role.links.practitioner",
"max": "1",
"min": 0,
"path": "Role.links.practitioner",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner" ]
} ],
"short": "Reference to Practitioner resource."
}, {
"id": "Role.links.organization",
"max": "1",
"min": 0,
"path": "Role.links.organization",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"short": "Reference to Organization resource."
}, {
"id": "Role.links.person",
"max": "1",
"min": 0,
"path": "Role.links.person",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Person" ]
} ],
"short": "Reference to Person resource."
}, {
"id": "Role.links.relatedPerson",
"max": "1",
"min": 0,
"path": "Role.links.relatedPerson",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
} ],
"short": "Reference to RelatedPerson resource."
}, {
"id": "Role.context",
"max": "1",
"min": 0,
"path": "Role.context",
"short": "Additional context data.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}