Profiles & Operations > Profile: Group

DRAFT CONTENT

Profile: Group

This profile provides guidance for implementing FHIR Group resource.

It is used by a Subscriber to request a group of specific entities and resources (for example patients, practitioners, devices etc. by enumerating them, or by describing qualities that group members have.

In context of HL7 Subscription specification it will be uwsed to retreive a roster of patients or practitioners from specific health care organization.

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

Hybrid View

identifierΣ0..*Identifier
activeΣ0..1boolean
typeΣ1..1codeBinding
actualΣ I1..1boolean
codeΣ0..1CodeableConcept
nameΣ0..1string
quantityΣ0..1unsignedInt
managingEntityΣ0..1Reference(Organization | RelatedPerson | Practitioner | PractitionerRole)

Snapshot View

identifierΣ0..*Identifier
activeΣ0..1boolean
typeΣ1..1codeBinding
actualΣ I1..1boolean
codeΣ0..1CodeableConcept
nameΣ0..1string
quantityΣ0..1unsignedInt
managingEntityΣ0..1Reference(Organization | RelatedPerson | Practitioner | PractitionerRole)

Table View

Group..
Group.member1..
Group.member.entityReference(PatientCACore | PractitionerCACore)..

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "ca-on-pubsub-group",
    "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-pubsub-group",
    "version": "1.0.0",
    "name": "PubSubGroup",
    "title": "Pub-Sub Group",
    "status": "draft",
    "date": "05/15/2025 12:54:35",
    "publisher": "Ontario Health",
    "contact":  [
        {
            "name": "Ontario Health",
            "telecom":  [
                {
                    "system": "url",
                    "value": "https://www.ontariohealth.ca"
                }
            ]
        }
    ],
    "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 Patients or Practitioners.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Group",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Group",
    "derivation": "constraint",
    "text": {
        "status": "generated",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "differential": {
        "element":  [
            {
                "id": "Group.member",
                "path": "Group.member",
                "min": 1,
                "short": "Identifies the resource instances that are members of the group.",
                "definition": "Identifies the resource instances that are members of the group. This profile requires at least one member."
            },
            {
                "id": "Group.member.entity",
                "path": "Group.member.entity",
                "short": "A reference to the Patient or Practitioner that is a member of this group",
                "definition": "A reference to the Patient or Practitioner resource that is a member of this group.",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core",
                            "http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/practitioner-ca-core"
                        ]
                    }
                ]
            }
        ]
    }
}