0.1.0 - ci-build

Rigoletto - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Diagnostic_Report_Rigoletto

Official URL: https://rigoletto.na.icar.cnr.it/StructureDefinition/diagnosticreport-rigoletto | Version: 0.1.0
Active as of 2025-07-10 | Computable Name: Diagnostic_Report_Rigoletto

Rappresentazione della registrazione dei referti diagnostici relativi al paziente tramite il profilo DiagnosticReport

Usage:

- Examples for this Resource Profile: DiagnosticReport/DiagnosticReport-Rigoletto-001

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio 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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 1..1 | Identifier | Business identifier for report ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | Nome/codice della diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. ele-1: All FHIR elements must have a @value or children
coding | Σ | 0..* | Coding | Codice definito da un sistema terminologico ele-1: All FHIR elements must have a @value or children
subject | Σ | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto ele-1: All FHIR elements must have a @value or children
performer | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico ele-1: All FHIR elements must have a @value or children
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame ele-1: All FHIR elements must have a @value or children
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico ele-1: All FHIR elements must have a @value or children
media | Σ | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport 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 ext-1: Must have either extensions or value[x], not both
comment |  | 0..1 | string | Commento sull'immagine ele-1: All FHIR elements must have a @value or children
link | Σ | 1..1 | Reference(Media) | Riferimento al contenuto multimediale ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
DiagnosticReport.status | required | DiagnosticReportStatus `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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().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 | 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio
identifier | S | 1..1 | Identifier | Business identifier for report
status | S | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
code | S | 1..1 | CodeableConcept | Nome/codice della diagnostic report
coding |  | 0..* | Coding | Codice definito da un sistema terminologico
subject |  | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto
performer | S | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico
resultsInterpreter |  | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico
media |  | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport
comment |  | 0..1 | string | Commento sull'immagine
link |  | 1..1 | Reference(Media) | Riferimento al contenuto multimediale
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio
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: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!S Σ | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: 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): Codes for diagnostic service sections.
code | S Σ | 1..1 | CodeableConcept | Nome/codice della diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Codice definito da un sistema terminologico
text | Σ | 0..1 | string | Plain text representation of the concept
subject | Σ | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
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 | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame
specimen |  | 0..* | Reference(Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico
imagingStudy |  | 0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report
media | Σ | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport
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 | Commento sull'immagine
link | Σ | 1..1 | Reference(Media) | Riferimento al contenuto multimediale
conclusion |  | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
DiagnosticReport.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding
DiagnosticReport.status | required | DiagnosticReportStatus `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindings `http://hl7.org/fhir/ValueSet/clinical-findings` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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().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 | 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

Summary

Mandatory: 1 element
Must-Support: 4 elements

Structures

This structure refers to these other structures:

- Pazient_Rigoletto (https://rigoletto.na.icar.cnr.it/StructureDefinition/patient-rigoletto)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio 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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 1..1 | Identifier | Business identifier for report ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | Nome/codice della diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. ele-1: All FHIR elements must have a @value or children
coding | Σ | 0..* | Coding | Codice definito da un sistema terminologico ele-1: All FHIR elements must have a @value or children
subject | Σ | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto ele-1: All FHIR elements must have a @value or children
performer | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico ele-1: All FHIR elements must have a @value or children
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame ele-1: All FHIR elements must have a @value or children
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico ele-1: All FHIR elements must have a @value or children
media | Σ | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport 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 ext-1: Must have either extensions or value[x], not both
comment |  | 0..1 | string | Commento sull'immagine ele-1: All FHIR elements must have a @value or children
link | Σ | 1..1 | Reference(Media) | Riferimento al contenuto multimediale ele-1: All FHIR elements must have a @value or children
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
DiagnosticReport.status | required | DiagnosticReportStatus `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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().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 | 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio
identifier | S | 1..1 | Identifier | Business identifier for report
status | S | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
code | S | 1..1 | CodeableConcept | Nome/codice della diagnostic report
coding |  | 0..* | Coding | Codice definito da un sistema terminologico
subject |  | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto
performer | S | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico
resultsInterpreter |  | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico
media |  | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport
comment |  | 0..1 | string | Commento sull'immagine
link |  | 1..1 | Reference(Media) | Riferimento al contenuto multimediale
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | Identificatore univoco del referto di laboratorio
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: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!S Σ | 1..1 | code | Descrizione attributo: Stato del report clinico. Possibili valori: 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): Codes for diagnostic service sections.
code | S Σ | 1..1 | CodeableConcept | Nome/codice della diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Codice definito da un sistema terminologico
text | Σ | 0..1 | string | Plain text representation of the concept
subject | Σ | 0..1 | Reference(Pazient_Rigoletto) | Paziente a cui è collegato il referto
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
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 | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista o organizzazione che ha eseguito l'esame diagnostico
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Professionista che ha interpretato i risultati dell'esame
specimen |  | 0..* | Reference(Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation) | Osservazioni cliniche e risultati dell'esame diagnostico
imagingStudy |  | 0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report
media | Σ | 0..* | BackboneElement | Contenuto multimediale associate al DiagnosticReport
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 | Commento sull'immagine
link | Σ | 1..1 | Reference(Media) | Riferimento al contenuto multimediale
conclusion |  | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
DiagnosticReport.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding
DiagnosticReport.status | required | DiagnosticReportStatus `http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1` from the FHIR Standard
DiagnosticReport.category | example | DiagnosticServiceSectionCodes `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` from the FHIR Standard
DiagnosticReport.code | preferred | LOINCDiagnosticReportCodes (a valid code from LOINC) `http://hl7.org/fhir/ValueSet/report-codes` from the FHIR Standard
DiagnosticReport.conclusionCode | example | SNOMEDCTClinicalFindings `http://hl7.org/fhir/ValueSet/clinical-findings` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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().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 | 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

Summary

Mandatory: 1 element
Must-Support: 4 elements

Structures

This structure refers to these other structures:

- Pazient_Rigoletto (https://rigoletto.na.icar.cnr.it/StructureDefinition/patient-rigoletto)

Other representations of profile: CSV, Excel, Schematron