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.phsd.r4-alpha derivation: constraint name: OntarioPubSubGroup type: Group elements: identifier: {short: 'Mandatory, globally unique business identifier for the group (Must Support)', mustSupport: true, index: 0} type: short: 'Type of group: person or practitioner (Must Support)' binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/group-type'} constraint: pubsub-group-type-person-practitioner: {human: Group.type must be 'person' or 'practitioner'., source: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-pubsub-group', severity: error, expression: type = 'person' or type = 'practitioner'} mustSupport: true index: 1 member: short: Identifies the resource instances that are members of the group. index: 2 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: 3 package_version: 1.0.0-BallotDraft class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-PubSubGroup base: http://hl7.org/fhir/StructureDefinition/Group version: 1.0.3 required: [member, identifier]