HL7 FHIR Implementation Guide: Breast Cancer Data, Release 1 - US Realm (Draft for Comment 2)

GroupProfile

 

The official URL for this profile is:

http://hl7.org/fhir/us/breastcancer/StructureDefinition/cimi-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 Fri Aug 17 00:00:00 UTC 2018 as a draft by The HL7 Cancer Interoperability Group sponsored by Clinical Interoperability Council Work Group (CIC).

View the corresponding GroupModel logical model.

Summary

Structures

This structure refers to these other structures:

BC Mapping Source

This structure represents the following BC mapping definition:

cimi.entity.Group maps to Group:
  ActiveFlag maps to active
  Type maps to type
  Actual maps to actual
  Title maps to name
  GroupCharacteristic maps to characteristic.value[x]
  GroupCharacteristic.GroupCharacteristicCode maps to characteristic.code
  GroupCharacteristic.ExcludeFlag maps to characteristic.exclude
  GroupCharacteristic.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..*BC 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)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... 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
... code Σ0..1CodeableConceptKind of Group members
Binding: (unbound) (example)
... 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, Quantity, RangeValue 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(US Core Patient Profile | BC Practitioner Profile | US Core Device Profile | BC Medication Profile | BC 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

Structures

This structure refers to these other structures:

BC Mapping Source

This structure represents the following BC mapping definition:

cimi.entity.Group maps to Group:
  ActiveFlag maps to active
  Type maps to type
  Actual maps to actual
  Title maps to name
  GroupCharacteristic maps to characteristic.value[x]
  GroupCharacteristic.GroupCharacteristicCode maps to characteristic.code
  GroupCharacteristic.ExcludeFlag maps to characteristic.exclude
  GroupCharacteristic.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..*BC 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)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... 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
... code Σ0..1CodeableConceptKind of Group members
Binding: (unbound) (example)
... 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, Quantity, RangeValue 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(US Core Patient Profile | BC Practitioner Profile | US Core Device Profile | BC Medication Profile | BC 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

 

 

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())