This page is part of the FHIR Specification (v5.0.0-snapshot3: R5 Snapshot #3, to support Connectathon 32). 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
FHIR Infrastructure Work Group | Maturity Level: 0 | Trial Use | Use Context: Any |
The canonical URL for this profile is:
http://hl7.org/fhir/StructureDefinition/groupdefinition
Enforces a descriptive group that can be used in definitional resources
This profile was published on Thu, Jan 1, 1970 00:00+1000 as a draft by HL7.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This indicates the differences between this profile and the base Group structure.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Group | 1..1 | Group | Group of multiple entities | |
membership | 1..1 | code | definitional | enumerated Fixed Value: definitional | |
characteristic | 1..* | BackboneElement | Include / Exclude group members by Trait | |
Documentation for this format |
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base Group structure.
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Group | 1..1 | Group | Group of multiple entities | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: Common Languages (preferred): IETF language tag
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Unique id | ||||
active | ?!Σ | 0..1 | boolean | Whether this group's record is in active use | ||||
type | Σ | 1..1 | code | person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen Binding: GroupType (required): Types of resources that are part of group. | ||||
membership | Σ | 1..1 | code | definitional | enumerated Binding: GroupMembershipBasis (required): The basis for membership in a group Fixed Value: definitional | ||||
code | Σ | 0..1 | CodeableConcept | Kind of Group members Binding: (unbound) (example): Kind of particular resource; e.g. cow, syringe, lake, etc. | ||||
name | Σ | 0..1 | string | Label for Group | ||||
description | 0..1 | markdown | Natural language description of the group | |||||
quantity | Σ | 0..1 | unsignedInt | Number of members | ||||
managingEntity | Σ | 0..1 | Reference(Organization | RelatedPerson | Practitioner | PractitionerRole) | Entity that is the custodian of the Group's definition | ||||
characteristic | Σ | 1..* | BackboneElement | Include / Exclude group members by Trait | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | Σ | 1..1 | CodeableConcept | Kind of characteristic Binding: (unbound) (example): List of characteristics used to describe group members; e.g. gender, age, owner, location, etc. | ||||
value[x] | Σ | 1..1 | Value held by characteristic Binding: (unbound) (example): Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueBoolean | boolean | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(Any) | |||||||
exclude | Σ | 1..1 | boolean | Group includes or excludes | ||||
period | 0..1 | Period | Period over which characteristic is tested | |||||
member | 0..* | BackboneElement | Who or what is in group | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
entity | 1..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Specimen) | Reference to the group member | |||||
period | 0..1 | Period | Period member belonged to the group | |||||
inactive | 0..1 | boolean | If member is no longer in group | |||||
Documentation for this format |
<!-- Group Definition --> <Group xmlns="http://hl7.org/fhir" > <!-- from Element: extension --> <id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text> <contained><!-- 0..* Resource Contained, inline Resources --></contained> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <identifier><!-- I 0..* Identifier Unique id --></identifier> <active value="[boolean]"/><!-- I 0..1 Whether this group's record is in active use --> <type value="[code]"/><!-- I 1..1 person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen --> <membership value="[code]"/><!-- I 1..1 definitional | enumerated --> <code><!-- I 0..1 CodeableConcept Kind of Group members --></code> <name value="[string]"/><!-- I 0..1 Label for Group --> <description value="[markdown]"/><!-- I 0..1 Natural language description of the group --> <quantity value="[unsignedInt]"/><!-- I 0..1 Number of members --> <managingEntity><!-- I 0..1 Reference(Organization) Entity that is the custodian of the Group's definition --></managingEntity> <characteristic> I 1..* BackboneElement <!-- I 1..* Include / Exclude group members by Trait --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <code><!-- I 1..1 CodeableConcept Kind of characteristic --></code> <value[x]><!-- I 1..1 CodeableConcept|boolean|Quantity| Range|Reference Value held by characteristic --></value[x]> <exclude value="[boolean]"/><!-- I 1..1 Group includes or excludes --> <period><!-- I 0..1 Period Period over which characteristic is tested --></period> </characteristic> <member> I 0..* BackboneElement <!-- I 0..* Who or what is in group --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <entity><!-- I 1..1 Reference(CareTeam) Reference to the group member --></entity> <period><!-- I 0..1 Period Period member belonged to the group --></period> <inactive value="[boolean]"/><!-- I 0..1 If member is no longer in group --> </member> </Group>
{ // Group Definition // from Element: extension "meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "identifier" : [{ Identifier }], // IUnique id "active" : <boolean>, // IWhether this group's record is in active use "type" : "<code>", // I R! person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen "membership" : "definitional", // I R! "code" : { CodeableConcept }, // IKind of Group members "name" : "<string>", // ILabel for Group "description" : "<markdown>", // INatural language description of the group "quantity" : "<unsignedInt>", // INumber of members "managingEntity" : { Reference(Organization) }, // IEntity that is the custodian of the Group's definition "characteristic" : [{ BackboneElement }], // I R! Include / Exclude group members by Trait "member" : [{ BackboneElement }] // IWho or what is in group }
This structure is derived from Group.
Differential View
This indicates the differences between this profile and the base Group structure.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Group | 1..1 | Group | Group of multiple entities | |
membership | 1..1 | code | definitional | enumerated Fixed Value: definitional | |
characteristic | 1..* | BackboneElement | Include / Exclude group members by Trait | |
Documentation for this format |
Snapshot View
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base Group structure.
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Group | 1..1 | Group | Group of multiple entities | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: Common Languages (preferred): IETF language tag
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | Unique id | ||||
active | ?!Σ | 0..1 | boolean | Whether this group's record is in active use | ||||
type | Σ | 1..1 | code | person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen Binding: GroupType (required): Types of resources that are part of group. | ||||
membership | Σ | 1..1 | code | definitional | enumerated Binding: GroupMembershipBasis (required): The basis for membership in a group Fixed Value: definitional | ||||
code | Σ | 0..1 | CodeableConcept | Kind of Group members Binding: (unbound) (example): Kind of particular resource; e.g. cow, syringe, lake, etc. | ||||
name | Σ | 0..1 | string | Label for Group | ||||
description | 0..1 | markdown | Natural language description of the group | |||||
quantity | Σ | 0..1 | unsignedInt | Number of members | ||||
managingEntity | Σ | 0..1 | Reference(Organization | RelatedPerson | Practitioner | PractitionerRole) | Entity that is the custodian of the Group's definition | ||||
characteristic | Σ | 1..* | BackboneElement | Include / Exclude group members by Trait | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | Σ | 1..1 | CodeableConcept | Kind of characteristic Binding: (unbound) (example): List of characteristics used to describe group members; e.g. gender, age, owner, location, etc. | ||||
value[x] | Σ | 1..1 | Value held by characteristic Binding: (unbound) (example): Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc. | |||||
valueCodeableConcept | CodeableConcept | |||||||
valueBoolean | boolean | |||||||
valueQuantity | Quantity | |||||||
valueRange | Range | |||||||
valueReference | Reference(Any) | |||||||
exclude | Σ | 1..1 | boolean | Group includes or excludes | ||||
period | 0..1 | Period | Period over which characteristic is tested | |||||
member | 0..* | BackboneElement | Who or what is in group | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
entity | 1..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson | Specimen) | Reference to the group member | |||||
period | 0..1 | Period | Period member belonged to the group | |||||
inactive | 0..1 | boolean | If member is no longer in group | |||||
Documentation for this format |
XML Template
<!-- Group Definition --> <Group xmlns="http://hl7.org/fhir" > <!-- from Element: extension --> <id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text> <contained><!-- 0..* Resource Contained, inline Resources --></contained> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <identifier><!-- I 0..* Identifier Unique id --></identifier> <active value="[boolean]"/><!-- I 0..1 Whether this group's record is in active use --> <type value="[code]"/><!-- I 1..1 person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen --> <membership value="[code]"/><!-- I 1..1 definitional | enumerated --> <code><!-- I 0..1 CodeableConcept Kind of Group members --></code> <name value="[string]"/><!-- I 0..1 Label for Group --> <description value="[markdown]"/><!-- I 0..1 Natural language description of the group --> <quantity value="[unsignedInt]"/><!-- I 0..1 Number of members --> <managingEntity><!-- I 0..1 Reference(Organization) Entity that is the custodian of the Group's definition --></managingEntity> <characteristic> I 1..* BackboneElement <!-- I 1..* Include / Exclude group members by Trait --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <code><!-- I 1..1 CodeableConcept Kind of characteristic --></code> <value[x]><!-- I 1..1 CodeableConcept|boolean|Quantity| Range|Reference Value held by characteristic --></value[x]> <exclude value="[boolean]"/><!-- I 1..1 Group includes or excludes --> <period><!-- I 0..1 Period Period over which characteristic is tested --></period> </characteristic> <member> I 0..* BackboneElement <!-- I 0..* Who or what is in group --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <entity><!-- I 1..1 Reference(CareTeam) Reference to the group member --></entity> <period><!-- I 0..1 Period Period member belonged to the group --></period> <inactive value="[boolean]"/><!-- I 0..1 If member is no longer in group --> </member> </Group>
JSON Template
{ // Group Definition // from Element: extension "meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "identifier" : [{ Identifier }], // IUnique id "active" : <boolean>, // IWhether this group's record is in active use "type" : "<code>", // I R! person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen "membership" : "definitional", // I R! "code" : { CodeableConcept }, // IKind of Group members "name" : "<string>", // ILabel for Group "description" : "<markdown>", // INatural language description of the group "quantity" : "<unsignedInt>", // INumber of members "managingEntity" : { Reference(Organization) }, // IEntity that is the custodian of the Group's definition "characteristic" : [{ BackboneElement }], // I R! Include / Exclude group members by Trait "member" : [{ BackboneElement }] // IWho or what is in group }
Alternate definitions: Master Definition (XML, JSON), Schematron
Path | Name | Conformance | ValueSet |
Group.language | Common Languages | preferred | Common Languages |
Group.type | GroupType | required | GroupType |
Group.membership | GroupMembershipBasis | required | GroupMembershipBasis |
Group.code | ?ext | example | |
Group.characteristic.code | ?ext | example | |
Group.characteristic.value[x] | ?ext | example |