Standard Health Record FHIR Implementation Guide

SHR Group Profile

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group

A set of entities (personnel, material, or places) to be considered together. May be a pool of like-type resources, a team, or combination of personnel, material and places.

This profile builds on Group.

This profile was published on Wed Dec 20 00:00:00 EST 2017 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

Summary

Prohibited: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.entity.Group maps to Group:
  ActiveFlag maps to active
  Type maps to type
  Definitional maps to actual
  constrain code to 0..0
  Title maps to name
  MembershipCriterion maps to characteristic.value[x]
  MembershipCriterion.ObservationCode maps to characteristic.code
  MembershipCriterion.ExcludeFlag maps to characteristic.exclude
  MembershipCriterion.TimePeriod maps to characteristic.period
  Member.Patient maps to member.entity
  Member.Practitioner maps to member.entity
  Member.Device maps to member.entity
  Member.Medication maps to member.entity
  Member.Substance maps to member.entity
  Member.ParticipationPeriod maps to member.period
  Member.ActiveFlag maps to member.inactive // TODO this is an inverse TF mapping
  Count maps to quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Group I0..*SHR Group Profile
grp-1: Can only have members if group is "actual"
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique id
... active Σ0..1booleanWhether this group's record is in active use
... type Σ1..1codeperson | animal | practitioner | device | medication | substance
Binding: GroupType (required)
... actual ΣI1..1booleanDescriptive or actual
... name Σ0..1stringLabel for Group
... quantity Σ0..1unsignedIntNumber of members
... characteristic I0..*BackboneElementTrait of group members
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code 1..1CodeableConceptKind of characteristic
Binding: (unbound) (example)
.... value[x] 1..1CodeableConcept, boolean, SHR Quantity Profile, SHR Range ProfileValue held by characteristic
Binding: (unbound) (example)
.... exclude ?!1..1booleanGroup includes or excludes
.... period 0..1PeriodPeriod over which characteristic is tested
... member I0..*BackboneElementWho or what is in group
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... entity 1..1Reference(SHR Patient Profile), Reference(SHR Practitioner Profile), Reference(SHR Device Profile), Reference(SHR Medication Profile), Reference(SHR Substance Profile)Reference to the group member
.... period 0..1PeriodPeriod member belonged to the group
.... inactive 0..1booleanIf member is no longer in group

doco Documentation for this format

Summary

Prohibited: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.entity.Group maps to Group:
  ActiveFlag maps to active
  Type maps to type
  Definitional maps to actual
  constrain code to 0..0
  Title maps to name
  MembershipCriterion maps to characteristic.value[x]
  MembershipCriterion.ObservationCode maps to characteristic.code
  MembershipCriterion.ExcludeFlag maps to characteristic.exclude
  MembershipCriterion.TimePeriod maps to characteristic.period
  Member.Patient maps to member.entity
  Member.Practitioner maps to member.entity
  Member.Device maps to member.entity
  Member.Medication maps to member.entity
  Member.Substance maps to member.entity
  Member.ParticipationPeriod maps to member.period
  Member.ActiveFlag maps to member.inactive // TODO this is an inverse TF mapping
  Count maps to quantity

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Group I0..*SHR Group Profile
grp-1: Can only have members if group is "actual"
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... shr-base-RelatedEncounter-extension 0..1Reference(SHR EncounterPerformed Profile)SHR RelatedEncounter Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension
... shr-base-Author-extension 0..1(Complex)SHR Author Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension
... shr-base-Informant-extension 0..1(Complex)SHR Informant Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique id
... active Σ0..1booleanWhether this group's record is in active use
... type Σ1..1codeperson | animal | practitioner | device | medication | substance
Binding: GroupType (required)
... actual ΣI1..1booleanDescriptive or actual
... name Σ0..1stringLabel for Group
... quantity Σ0..1unsignedIntNumber of members
... characteristic I0..*BackboneElementTrait of group members
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code 1..1CodeableConceptKind of characteristic
Binding: (unbound) (example)
.... value[x] 1..1CodeableConcept, boolean, SHR Quantity Profile, SHR Range ProfileValue held by characteristic
Binding: (unbound) (example)
.... exclude ?!1..1booleanGroup includes or excludes
.... period 0..1PeriodPeriod over which characteristic is tested
... member I0..*BackboneElementWho or what is in group
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... entity 1..1Reference(SHR Patient Profile), Reference(SHR Practitioner Profile), Reference(SHR Device Profile), Reference(SHR Medication Profile), Reference(SHR Substance Profile)Reference to the group member
.... period 0..1PeriodPeriod member belonged to the group
.... inactive 0..1booleanIf member is no longer in group

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

Terminology Bindings

PathNameConformanceValueSet
Group.languageCommon LanguagesextensibleCommon Languages
Group.typeGroupTyperequiredGroupType
Group.characteristic.code?extexample
Group.characteristic.value[x]?extexample

 

Constraints

IdPathDetailsRequirements
dom-2GroupIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1GroupIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4GroupIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3GroupIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
grp-1GroupCan only have members if group is "actual"
: member.empty() or (actual = true)
ele-1Group.characteristicAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Group.memberAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())