0.9.0 - ci-build

RuCoreIG, published by HL7 FHIR Россия. This guide is not an authorized publication; it is the continuous build for version 0.9.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fhir-ru/RuCoreIG/ and changes regularly. See the Directory of published versions

Resource Profile: Core DiagnosticReport (Протокол исследования)

Official URL: https://fhir.ru/ig/core/StructureDefinition/core-diagnosticreport Version: 0.9.0
Active as of 2026-06-02 Computable Name: Core_DiagnosticReport

Профиль DiagnosticReport для RuCore

Core_DiagnosticReport — Профиль диагностического отчета

Принятые решения по профилированию

Бизнес-требование Атрибут Решение по профилированию
Описание субъекта отчета должно соответствовать требованиям РФ, если ссылка указывает на профилируемый ресурс RuCore subject Для Patient, Practitioner, Organization используются профили RuCore, при этом сохраняются остальные допустимые типы из базового R5
Описание случая обслуживания должно соответствовать требованиям РФ encounter Должен быть представлен профилем Core_Encounter
Направление на исследование должно соответствовать требованиям РФ, если ссылка указывает на ServiceRequest basedOn Для ServiceRequest должен использоваться профиль Core_ServiceRequest, при этом сохраняются остальные допустимые типы basedOn из R5
Описание исполнителя исследования должно соответствовать требованиям РФ, если ссылка указывает на профилируемый ресурс RuCore performer Для Practitioner, PractitionerRole, Organization, CareTeam используются профили RuCore
Описание интерпретатора исследования должно соответствовать требованиям РФ, если ссылка указывает на профилируемый ресурс RuCore resultsInterpreter Для Practitioner, PractitionerRole, Organization, CareTeam используются профили RuCore

Описание профиля

Профиль Core_DiagnosticReport расширяет стандартный ресурс DiagnosticReport для поддержки российских требований:

  • Если subject ссылается на профилируемый ресурс RuCore, должен использоваться соответствующий профиль RuCore, при этом остальные допустимые типы R5 сохранены
  • Случай обслуживания должен быть представлен профилем Core_Encounter
  • Если basedOn ссылается на ServiceRequest, должен использоваться профиль Core_ServiceRequest, при этом остальные допустимые типы R5 сохранены
  • Если performer и resultsInterpreter ссылаются на профилируемые ресурсы RuCore, должны использоваться соответствующие профили RuCore

FSH-код профиля

Profile: Core_DiagnosticReport
Parent: DiagnosticReport
Id: core-diagnosticreport
Title: "Core DiagnosticReport (Диагностический отчет)"
Description: "Базовый профиль диагностического отчета для российских FHIR-реализаций"

* subject only Reference(Core_Patient or Group or Device or Location or Core_Organization or Core_Practitioner or Medication or Substance or BiologicallyDerivedProduct)
* encounter only Reference(Core_Encounter)
* basedOn only Reference(CarePlan or ImmunizationRecommendation or MedicationRequest or NutritionOrder or Core_ServiceRequest)
* performer only Reference(Core_Practitioner or Core_PractitionerRole or Core_Organization or Core_CareTeam)
* resultsInterpreter only Reference(Core_Practitioner or Core_PractitionerRole or Core_Organization or Core_CareTeam)

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter Σ 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... performer Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Исполнитель
... resultsInterpreter Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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().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-4 error DiagnosticReport 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 error DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | Core ServiceRequest (Запрос на оказание услуги)) Основание для исследования
... subject 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... resultsInterpreter 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | Core ServiceRequest (Запрос на оказание услуги)) Основание для исследования
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter Σ 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... effective[x] Σ 0..1 Clinically relevant time/time-period for report
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued Σ 0..1 instant DateTime this version was made
... performer Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Исполнитель
... resultsInterpreter Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result C 0..* Reference(Observation) Observations
... note 0..* Annotation Comments about the diagnostic report
... study 0..* Reference(GenomicStudy | ImagingStudy) Reference to full details of an analysis associated with the diagnostic report
... supportingInfo 0..* BackboneElement Additional information supporting the diagnostic report
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 1..1 CodeableConcept Supporting information role code
Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
.... reference 1..1 Reference(Procedure | Observation | DiagnosticReport | Citation) Supporting information reference
... media Σ 0..* BackboneElement Key images or data associated with this report
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment 0..1 string Comment about the image or data (e.g. explanation)
.... link Σ 1..1 Reference(DocumentReference) Reference to the image or data source
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion 0..1 markdown Clinical conclusion (interpretation) of test results
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): SNOMED CT Clinical Findings
... presentedForm 0..* Attachment Entire report as issued

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base required All Languages 📍5.0.0 FHIR Std.
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.supportingInfo.​type Base example hl7VS-VS-observationType 📦3.0.0 THO v7.1
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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().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-4 error DiagnosticReport 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 error DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter Σ 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... performer Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Исполнитель
... resultsInterpreter Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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().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-4 error DiagnosticReport 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 error DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | Core ServiceRequest (Запрос на оказание услуги)) Основание для исследования
... subject 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... resultsInterpreter 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | Core ServiceRequest (Запрос на оказание услуги)) Основание для исследования
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group | Device | Location | Core Organization (Организация) | Core Practitioner (Медицинский работник) | Medication | Substance | BiologicallyDerivedProduct) Пациент
... encounter Σ 0..1 Reference(Core Encounter (Случай оказания медицинской помощи)) Случай оказания медицинской помощи
... effective[x] Σ 0..1 Clinically relevant time/time-period for report
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued Σ 0..1 instant DateTime this version was made
... performer Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Исполнитель
... resultsInterpreter Σ 0..* Reference(Core Practitioner (Медицинский работник) | Core PractitionerRole (Роль медицинского работника) | Core Organization (Организация) | Core CareTeam (Бригада)) Интерпретатор результатов
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result C 0..* Reference(Observation) Observations
... note 0..* Annotation Comments about the diagnostic report
... study 0..* Reference(GenomicStudy | ImagingStudy) Reference to full details of an analysis associated with the diagnostic report
... supportingInfo 0..* BackboneElement Additional information supporting the diagnostic report
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 1..1 CodeableConcept Supporting information role code
Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
.... reference 1..1 Reference(Procedure | Observation | DiagnosticReport | Citation) Supporting information reference
... media Σ 0..* BackboneElement Key images or data associated with this report
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment 0..1 string Comment about the image or data (e.g. explanation)
.... link Σ 1..1 Reference(DocumentReference) Reference to the image or data source
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion 0..1 markdown Clinical conclusion (interpretation) of test results
... conclusionCode 0..* CodeableConcept Codes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): SNOMED CT Clinical Findings
... presentedForm 0..* Attachment Entire report as issued

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base required All Languages 📍5.0.0 FHIR Std.
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.supportingInfo.​type Base example hl7VS-VS-observationType 📦3.0.0 THO v7.1
DiagnosticReport.conclusionCode Base example SNOMED CT Clinical Findings 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
dom-2 error DiagnosticReport If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error DiagnosticReport 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().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-4 error DiagnosticReport 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 error DiagnosticReport If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice DiagnosticReport A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron