Evidence Based Medicine on FHIR Implementation Guide
1.0.0-ballot2 - STU 1 ballot International flag

Evidence Based Medicine on FHIR Implementation Guide, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/ebm/ and changes regularly. See the Directory of published versions

Resource Profile: BaselineMeasureReport

Official URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/baseline-measure-report Version: 1.0.0-ballot2
Standards status: Draft Maturity Level: 1 Computable Name: BaselineMeasureReport
Other Identifiers: OID:2.16.840.1.113883.4.642.40.44.42.6

Profile of Composition for Evidence Based Medicine IG. The BaselineMeasureReport Profile is used for an evidence report including the findings for any number of baseline measures in a research study.

See Understanding the Composition Resource for additional information.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..* EvidenceTableReportPackage A set of resources composed into a single coherent clinical statement with clinical attestation
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... Slices for extension Content/Rules for all slices
.... extension:versionAlgorithm 0..1 Coding How to compare versions
URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm
Binding: VersionAlgorithm (extensible)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:experimental 0..1 boolean For testing purposes, not real usage
URL: http://hl7.org/fhir/StructureDefinition/artifact-experimental
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:description 0..1 markdown Natural language description of the artifact
URL: http://hl7.org/fhir/StructureDefinition/artifact-description
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:purpose 0..1 markdown Why this artifact is defined
URL: http://hl7.org/fhir/StructureDefinition/artifact-purpose
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:copyright 0..1 markdown Use and/or publishing restrictions
URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:copyrightLabel 0..1 string Copyright holder and year(s)
URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:approvalDate 0..1 date When the artifact was approved by publisher
URL: http://hl7.org/fhir/StructureDefinition/artifact-approvalDate
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:lastReviewDate 0..1 date When the artifact was approved by publisher
URL: http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:effectivePeriod 0..1 Period When the artifact is expected to be used
URL: http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:additionalLanguage 0..* code The additional language
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/additional-language
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.


ele-1: All FHIR elements must have a @value or children
... type Σ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


ele-1: All FHIR elements must have a @value or children
.... coding 1..1 Coding Code defined by a terminology system
ele-1: All FHIR elements must have a @value or children

Required Pattern: At least the following
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://fevir.net/resources/CodeSystem/179423
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: BaselineMeasureReport
..... display 1..1 string Representation defined by the system
Fixed Value: BaselineMeasureReport
.... text 0..1 string Plain text representation of the concept
ele-1: All FHIR elements must have a @value or children
Required Pattern: Baseline Measure Report
... date Σ 1..1 dateTime Composition editing time
ele-1: All FHIR elements must have a @value or children
... author Σ 1..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the composition
ele-1: All FHIR elements must have a @value or children
... title Σ 1..1 string Human Readable name/title
ele-1: All FHIR elements must have a @value or children
... Slices for relatesTo 0..* RelatedArtifact Relationships to other compositions/documents
Slice: Unordered, Open by value:type
ele-1: All FHIR elements must have a @value or children
.... relatesTo:All Slices Content/Rules for all slices
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
.... relatesTo:citeAs 0..1 RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: cite-as
.... relatesTo:partOf 0..* RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: part-of
.... relatesTo:derivedFrom 0..* RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: derived-from
.... relatesTo:specificationOf 0..* RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: specification-of
.... relatesTo:dependsOn 0..* RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: depends-on
.... relatesTo:supportedWith 0..* RelatedArtifact Relationships to other compositions/documents
ele-1: All FHIR elements must have a @value or children
..... Slices for extension Content/Rules for all slices
...... extension:targetUri 0..1 uri The URI for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-uri
ele-1: All FHIR elements must have a @value or children
...... extension:targetCanonical 0..1 canonical() The canonical URL for the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-canonical
ele-1: All FHIR elements must have a @value or children
...... extension:targetReference 0..1 Reference() The reference to the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-reference
ele-1: All FHIR elements must have a @value or children
...... extension:targetAttachment 0..1 Attachment The target artifact as an attachment
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-attachment
ele-1: All FHIR elements must have a @value or children
...... extension:targetMarkdown 0..1 markdown The description of the target artifact
URL: http://hl7.org/fhir/uv/ebm/StructureDefinition/target-markdown
ele-1: All FHIR elements must have a @value or children
..... type 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.


ele-1: All FHIR elements must have a @value or children
Required Pattern: supported-with
... Slices for section C 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.coding
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
..... entry C 0..* Reference(Resource) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
.... section:results SC 1..* BackboneElement Composition is broken into sections
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
..... focus 1..1 Reference(VariableDefinition) Who/what the section is about, when it is not about the subject of composition
ele-1: All FHIR elements must have a @value or children
..... entry C 0..* Reference(Resource) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
..... Slices for section 0..* See section (Composition) Nested Section
Slice: Unordered, Open by value:code.coding
ele-1: All FHIR elements must have a @value or children
...... section:screenedEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(NonComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:enrolledEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(NonComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:analyzedEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(NonComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:interventionEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(NonComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:comparatorEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(NonComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:comparativeEvidence S 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(ComparativeEvidence) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:populationGroup 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(Group) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:interventionGroup 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(Group) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
...... section:comparatorGroup 0..* BackboneElement Nested Section
ele-1: All FHIR elements must have a @value or children
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
....... entry C 0..* Reference(Group) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.statusrequiredCompositionStatus
http://hl7.org/fhir/ValueSet/composition-status|6.0.0-ballot2
from the FHIR Standard
Composition.typepreferredFHIRDocumentTypeCodes
http://hl7.org/fhir/ValueSet/doc-typecodes
from the FHIR Standard
Composition.relatesTo.typerequiredRelatedArtifactType
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:citeAs.typerequiredPattern: cite-as
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:partOf.typerequiredPattern: part-of
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:derivedFrom.typerequiredPattern: derived-from
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:specificationOf.typerequiredPattern: specification-of
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:dependsOn.typerequiredPattern: depends-on
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard
Composition.relatesTo:supportedWith.typerequiredPattern: supported-with
http://hl7.org/fhir/ValueSet/related-artifact-type|6.0.0-ballot2
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
cmp-1errorComposition.section, Composition.section:resultsA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:resultsA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron