This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.8.6 Resource Group - Formal Definitions

Formal definitions for the elements in the Group resource.

Group
DefinitionRepresents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization.
Control1..1
InvariantsDefined on this element
Inv-1: Can only have members if group is "actual" (xpath: f:actual/@value='true' or not(exists(f:member)))
Inv-4: Can't have more members associated with the group than the value specified for "quantity" (xpath: not(f:quantity) or not(f:member) or not(f:quantity>count(f:member)))
To DoWe need determiner codes that indicate we're talking about a group even when we haven't specified a specific quantity.
Group.identifier
DefinitionA unique business identifier for this group.
Control0..1
TypeIdentifier
RequirementsAllows the group to be referenced.
Summarytrue
Group.type
DefinitionIdentifies the broad classification of the kind of resources the group includes.
Control1..1
BindingGroupType: Types of resources that are part of group (see http://hl7.org/fhir/group-type for values)
Typecode
RequirementsIdentifies what type of resources the group is made up of.
Summarytrue
Group.actual
DefinitionIf true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.
Control1..1
Typeboolean
RequirementsThere are use-cases for groups that define specific collections of individuals, and other groups that define "types" of intended individuals. The requirements for both kinds of groups are similar, so we use a single resource, distinguished by this flag.
Summarytrue
InvariantsAffect this element
Inv-1: Can only have members if group is "actual" (xpath: f:actual/@value='true' or not(exists(f:member)))
Group.code
DefinitionProvides a specific type of resource the group includes. E.g. "cow", "syringe", etc.
Control0..1
BindingGroupKind: Kind of particular resource. E.g. cow, syringe, lake, etc.
TypeCodeableConcept
Summarytrue
CommentsThis would generally be omitted for Person resources.
Group.name
DefinitionA label assigned to the group for human identification and communication.
Control0..1
Typestring
RequirementsUsed to identify the group in human communication.
Summarytrue
Group.quantity
DefinitionA count of the number of resource instances that are part of the group.
Control0..1
Typeinteger
RequirementsGroup size is a common defining characteristic.
Summarytrue
Group.characteristic
DefinitionIdentifies the traits shared by members of the group.
Control0..*
RequirementsNeeds to be a generic mechanism for identifying what individuals can be part of a group.
Group.characteristic.code
DefinitionA code that identifies the kind of trait being asserted.
Control1..1
BindingGroupCharacteristicKind: List of characteristics used to describe group members. E.g. gender, age, owner, location, etc.
TypeCodeableConcept
RequirementsNeed a formal way of identifying the characteristic being described.
Group.characteristic.value[x]
DefinitionThe value of the trait that holds (or does not hold - see 'exclude') for members of the group.
Control1..1
BindingGroupCharacteristicValue: Value of descriptive member characteristic. E.g. red, male, pneumonia, caucasian, etc.
TypeCodeableConcept|boolean|Quantity|Range
RequirementsThe value of the characteristic is what determines group membership.
CommentsFor Range, it means members of the group have a value that falls somewhere within the specified range.
Group.characteristic.exclude
DefinitionIf true, indicates the characteristic is one that is NOT held by members of the group.
Control1..1
Typeboolean
Is Modifiertrue
RequirementsSometimes group membership is determined by characteristics not possessed.
CommentsThis is labeled as "Is Modifier" because applications cannot wrongly include excluded members as included or vice versa.
Group.member
DefinitionIdentifies the resource instances that are members of the group.
Control0..*
TypeResource(Patient | Practitioner | Device | Medication | Substance)
RequirementsOften the only thing of interest about a group is "who's in it".
InvariantsDefined on this element
Inv-3: Member resource types SHALL agree with group type (xpath: lower-case(f:type/@value)=parent::f:Group/f:type/@value or (f:type/@value='Patient' and parent::f:Group/f:type/@value=('animal','person')))
Affect this element
Inv-1: Can only have members if group is "actual" (xpath: f:actual/@value='true' or not(exists(f:member)))

comments powered by Disqus