QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions
This example demonstrates using the bodysite resource to identify a specific tumor or lesion that will have multiple observations and/or procedures performed on it over time |
The official URL for this profile is:
http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure
Profile of BodyStructure for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
This profile builds on BodyStructure.
This profile was published on Wed Aug 22 00:00:00 UTC 2018 as a draft by Health Level Seven, Inc. - CQI WG.
Description of Profiles, Differentials, and Snapshots.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
BodyStructure | I | 0..* | BodyStructure | Specific and identified anatomical structure |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 0..* | Identifier | Bodystructure identifier |
active | ?!SΣI | 1..1 | boolean | Whether this record is in active use |
morphology | ΣI | 0..1 | CodeableConcept | Kind of Structure Binding: SNOMEDCTMorphologicAbnormalities (example) |
location | SΣI | 1..1 | CodeableConcept | Body site Binding: Precoordinated Body Structures (preferred) |
locationQualifier | SI | 0..* | CodeableConcept | Body site modifier Binding: BodystructureLocationQualifier (example) |
description | ΣI | 0..1 | string | Text description |
image | I | 0..* | Attachment | Attached images |
patient | SΣI | 1..1 | Reference(QICorePatient) | Who this is about |
Documentation for this format |
Differential View
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
BodyStructure | I | 0..* | BodyStructure | Specific and identified anatomical structure |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 0..* | Identifier | Bodystructure identifier |
active | ?!SΣI | 1..1 | boolean | Whether this record is in active use |
morphology | ΣI | 0..1 | CodeableConcept | Kind of Structure Binding: SNOMEDCTMorphologicAbnormalities (example) |
location | SΣI | 1..1 | CodeableConcept | Body site Binding: Precoordinated Body Structures (preferred) |
locationQualifier | SI | 0..* | CodeableConcept | Body site modifier Binding: BodystructureLocationQualifier (example) |
description | ΣI | 0..1 | string | Text description |
image | I | 0..* | Attachment | Attached images |
patient | SΣI | 1..1 | Reference(QICorePatient) | Who this is about |
Documentation for this format |
Path | Conformance | ValueSet |
BodyStructure.language | preferred | CommonLanguages Max Binding: AllLanguages |
BodyStructure.morphology | example | SNOMEDCTMorphologicAbnormalities |
BodyStructure.location | preferred | QICoreBodyStructurePreCoordinated |
BodyStructure.locationQualifier | example | BodystructureLocationQualifier |
Id | Path | Details | Requirements |
dom-2 | BodyStructure | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | BodyStructure | If 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-4 | BodyStructure | If 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-5 | BodyStructure | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | BodyStructure | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | BodyStructure.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | BodyStructure.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | BodyStructure.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | BodyStructure.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | BodyStructure.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.active | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.morphology | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.locationQualifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.image | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | BodyStructure.patient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |