Common Data Models Harmonization
1.0.0 - STU 1 Publication

This page is part of the Common Data Models Harmonization FHIR IG (v1.0.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: CdmhGroup

Defining URL:http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-group
Version:1.0.0
Name:CdmhGroup
Title:CDMH Group
Status:Draft as of 9/1/19
Definition:

This is the Group Resource profile for the IG.

Publisher:HL7 International - Biomedical Research and Regulation Work Group
Copyright:

Used by permission of HL7, all rights reserved Creative Commons License

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-group

Formal Views of Profile Content

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

This structure is derived from Group

Summary

Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 9 elements
Fixed Value: 3 elements

Structures

This structure refers to these other structures:

This structure is derived from Group

NameFlagsCard.TypeDescription & Constraintsdoco
.. Group 0..*GroupCDMH Group
... type S1..1codeperson | animal | practitioner | device | medication | substance
Fixed Value: person
... actual S1..1booleanDescriptive or actual
Fixed Value: true
... characteristic S0..*BackboneElementInclude / Exclude group members by Trait
.... code S1..1CodeableConceptKind of characteristic
Binding: PCORNet Enrollment Basis (extensible): Enrollment Basis for the Patient

.... exclude S1..1booleanGroup includes or excludes
Fixed Value: false
.... entity S1..1Reference(CDMH Patient)Reference to the group member
.... period S1..1PeriodPeriod member belonged to the group
.... inactive S0..1booleanIf member is no longer in group

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Group I0..*GroupCDMH Group
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..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 SΣ1..1codeperson | animal | practitioner | device | medication | substance
Binding: GroupType (required): Types of resources that are part of group.


Fixed Value: person
... actual SΣI1..1booleanDescriptive or actual
Fixed Value: true
... code Σ0..1CodeableConceptKind of Group members
Binding: (unbound) (example): Kind of particular resource; e.g. cow, syringe, lake, etc.

... name Σ0..1stringLabel for Group
... quantity Σ0..1unsignedIntNumber of members
... managingEntity Σ0..1Reference(Organization | RelatedPerson | Practitioner | PractitionerRole)Entity that is the custodian of the Group's definition
... characteristic S0..*BackboneElementInclude / Exclude group members by Trait
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code S1..1CodeableConceptKind of characteristic
Binding: PCORNet Enrollment Basis (extensible): Enrollment Basis for the Patient

.... value[x] 1..1Value held by characteristic
Binding: (unbound) (example): Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc.

..... valueCodeableConceptCodeableConcept
..... valueBooleanboolean
..... valueQuantityQuantity
..... valueRangeRange
..... valueReferenceReference(Any)
.... exclude S1..1booleanGroup includes or excludes
Fixed Value: false
.... period 0..1PeriodPeriod over which characteristic is tested
... member SI1..*BackboneElementWho or what is in group
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entity S1..1Reference(CDMH Patient)Reference to the group member
.... period S1..1PeriodPeriod member belonged to the group
.... inactive S0..1booleanIf member is no longer in group

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Group I0..*GroupCDMH Group
... type Σ1..1codeperson | animal | practitioner | device | medication | substance
Binding: GroupType (required): Types of resources that are part of group.


Fixed Value: person
... actual ΣI1..1booleanDescriptive or actual
Fixed Value: true
... characteristic 0..*BackboneElementInclude / Exclude group members by Trait
.... code 1..1CodeableConceptKind of characteristic
Binding: PCORNet Enrollment Basis (extensible): Enrollment Basis for the Patient

.... exclude 1..1booleanGroup includes or excludes
Fixed Value: false
.... entity 1..1Reference(CDMH Patient)Reference to the group member
.... period 1..1PeriodPeriod member belonged to the group
.... inactive 0..1booleanIf member is no longer in group

doco Documentation for this format

This structure is derived from Group

Summary

Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 9 elements
Fixed Value: 3 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Group

NameFlagsCard.TypeDescription & Constraintsdoco
.. Group 0..*GroupCDMH Group
... type S1..1codeperson | animal | practitioner | device | medication | substance
Fixed Value: person
... actual S1..1booleanDescriptive or actual
Fixed Value: true
... characteristic S0..*BackboneElementInclude / Exclude group members by Trait
.... code S1..1CodeableConceptKind of characteristic
Binding: PCORNet Enrollment Basis (extensible): Enrollment Basis for the Patient

.... exclude S1..1booleanGroup includes or excludes
Fixed Value: false
.... entity S1..1Reference(CDMH Patient)Reference to the group member
.... period S1..1PeriodPeriod member belonged to the group
.... inactive S0..1booleanIf member is no longer in group

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Group I0..*GroupCDMH Group
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..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 SΣ1..1codeperson | animal | practitioner | device | medication | substance
Binding: GroupType (required): Types of resources that are part of group.


Fixed Value: person
... actual SΣI1..1booleanDescriptive or actual
Fixed Value: true
... code Σ0..1CodeableConceptKind of Group members
Binding: (unbound) (example): Kind of particular resource; e.g. cow, syringe, lake, etc.

... name Σ0..1stringLabel for Group
... quantity Σ0..1unsignedIntNumber of members
... managingEntity Σ0..1Reference(Organization | RelatedPerson | Practitioner | PractitionerRole)Entity that is the custodian of the Group's definition
... characteristic S0..*BackboneElementInclude / Exclude group members by Trait
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code S1..1CodeableConceptKind of characteristic
Binding: PCORNet Enrollment Basis (extensible): Enrollment Basis for the Patient

.... value[x] 1..1Value held by characteristic
Binding: (unbound) (example): Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc.

..... valueCodeableConceptCodeableConcept
..... valueBooleanboolean
..... valueQuantityQuantity
..... valueRangeRange
..... valueReferenceReference(Any)
.... exclude S1..1booleanGroup includes or excludes
Fixed Value: false
.... period 0..1PeriodPeriod over which characteristic is tested
... member SI1..*BackboneElementWho or what is in group
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entity S1..1Reference(CDMH Patient)Reference to the group member
.... period S1..1PeriodPeriod member belonged to the group
.... inactive S0..1booleanIf member is no longer in group

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Group.languagepreferredCommonLanguages
Max Binding: AllLanguages
Group.typerequiredFixed Value: person
Group.codeexample
Group.characteristic.codeextensiblePCORNetEnrollmentBasis
Group.characteristic.value[x]example

Constraints

IdPathDetailsRequirements
dom-2GroupIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3GroupIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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-5GroupIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6GroupA resource should have narrative for robust management
: text.`div`.exists()
grp-1GroupCan only have members if group is "actual"
: member.empty() or (actual = true)
ele-1Group.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.actualAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.quantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.managingEntityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.characteristicAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.characteristic.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.characteristic.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.characteristic.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.characteristic.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.characteristic.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.characteristic.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.characteristic.excludeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.characteristic.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.memberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.member.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.member.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.member.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Group.member.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Group.member.entityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.member.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Group.member.inactiveAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())