This page is part of the Quality Improvement Core Framework (v2.0.0: STU 2) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

D.4.1 StructureDefinition: qicore-flag

Examples:

Large Dog Warning Example

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-flag

This profile builds on Flag.

This profile was published on Mon Aug 21 00:00:00 AEST 2017 as a draft by Health Level Seven International (Clinical Quality Information - QICore).

Description of Profiles, Differentials, and Snapshots.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Flag I0..*Key information to flag to healthcare providers
... 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
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | inactive | entered-in-error
Binding: FlagStatus (required)
... category SΣ0..1CodeableConceptClinical, administrative, etc.
Binding: Flag Category (example)
... code SΣ1..1CodeableConceptCoded or textual message to display to user
Binding: Flag Code (example)
... subject SΣ1..1Reference(QICore-Patient), Reference(QICore-Location), Reference(Group), Reference(QICore-Organization), Reference(QICore-Practitioner)Who/What is flag about?
... period SΣ0..1PeriodTime period when flag is active
... encounter Σ0..1Reference(Encounter)Alert relevant during encounter
... author Σ0..1Reference(Device), Reference(Organization), Reference(Patient), Reference(Practitioner)Flag creator

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Flag I0..*Key information to flag to healthcare providers
... 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
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | inactive | entered-in-error
Binding: FlagStatus (required)
... category SΣ0..1CodeableConceptClinical, administrative, etc.
Binding: Flag Category (example)
... code SΣ1..1CodeableConceptCoded or textual message to display to user
Binding: Flag Code (example)
... subject SΣ1..1Reference(QICore-Patient), Reference(QICore-Location), Reference(Group), Reference(QICore-Organization), Reference(QICore-Practitioner)Who/What is flag about?
... period SΣ0..1PeriodTime period when flag is active
... encounter Σ0..1Reference(Encounter)Alert relevant during encounter
... author Σ0..1Reference(Device), Reference(Organization), Reference(Patient), Reference(Practitioner)Flag creator

doco Documentation for this format

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
Flag.languageCommon LanguagesextensibleCommon Languages
Flag.statusFlagStatusrequiredFlagStatus
Flag.categoryFlag CategoryexampleFlag Category
Flag.codeFlag CodeexampleFlag Code

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2FlagIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1FlagIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4FlagIf 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-3FlagIf 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()