description: A profile of the Group resource for publish-subscribe mechanisms within Ontario Health. It requires at least one member and constrains members to be references to CA Core Patient or CA Core Practitioner profiles. package_name: ca.on.pubsub.r4 derivation: constraint name: OntarioPubSubGroup type: Group elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: managingEntity: match: {url: null} schema: {short: Entity managing the subscription, type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/pubsub/StructureDefinition/ext-subscriptionManagingEntity', index: 1} min: 1 max: 1 identifier: {short: 'Mandatory, globally unique business identifier for the group (Must Support)', mustSupport: true, index: 2} type: short: 'Type of group: person or practitioner (Must Support)' binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pubsub/ValueSet/group-type'} mustSupport: true index: 3 name: {short: Mandatory human-readable name for this group (Must Support), mustSupport: true, index: 4} managingEntity: {short: Do not use for Device reference, index: 5} member: short: Identifies the resource instances that are members of the group. index: 6 elements: entity: type: Reference short: A reference to the CA Core Patient or CA Core Practitioner that is a member of this group refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core', 'http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core'] index: 7 package_version: 1.0.0-ballot1 extensions: managingEntity: {url: 'http://ontariohealth.ca/fhir/pubsub/StructureDefinition/ext-subscriptionManagingEntity', min: 1, max: 1, short: Entity managing the subscription, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://ontariohealth.ca/fhir/pubsub/StructureDefinition/profile-PubSubGroup base: http://hl7.org/fhir/StructureDefinition/Group version: 1.0.3 required: [member, name, identifier]