Nictiz FHIR NL STU3 Zib2017
1.3.15 - CI Build

Nictiz FHIR NL STU3 Zib2017 - Local Development build (v1.3.15) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: HCIM TextResult

Official URL: http://nictiz.nl/fhir/StructureDefinition/zib-TextResult Version: 1.3.15
Active as of 2024-04-09 Computable Name: Zib TextResult

Copyright/Legal: CC0

A TextResult as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 4.1. Textual results describe the findings and interpretation of diagnostic or therapeutic procedures carried out on patients or on specimens from the patient.

Note that the HCIM TextResult-v4.1 has NL-CM:13.2.5 Procedure as property of the report. FHIR has this relationship reversed, so the procedure points to the report.

Recording the results of diagnostic procedures for the purpose of communicating these with the person requesting the procedure and documenting the findings resulting from therapeutic procedures.

Usage:

Formal Views of Profile Content

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

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... identifier 0..* Identifier Identifier
... status 1..1 code TextResultStatus
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
Binding: TekstStatusCodelijst (extensible)
... code 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... context 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-Encounter) Health care event when test ordered
... effective[x] 0..1 dateTime, Period Clinically relevant time/time-period for report
... performer 0..* BackboneElement Participants in producing the report
.... role
..... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:healthProfessionalRole 0..* Coding HealthProfessionalRole
Binding: ZorgverlenerRolCodelijst (extensible)
.... actor 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
... conclusion 0..1 string Clinical Interpretation of test results

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
DiagnosticReport.status.extension:TextResultStatus
[CanonicalType[http://nictiz.nl/fhir/StructureDefinition/code-specification]]
extensibleTekstStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.2--20171231000000
from this IG
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG
DiagnosticReport.performer.role.coding:healthProfessionalRoleextensibleZorgverlenerRolCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
... code Σ 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... subject Σ 0..1 Reference(nl-core-patient) The subject of the report - usually, but not always, the patient
... context Σ 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-Encounter) Health care event when test ordered
... effective[x] Σ 0..1 Clinically relevant time/time-period for report
.... effectiveDateTime dateTime
.... effectivePeriod Period
... performer Σ 0..* BackboneElement Participants in producing the report
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... actor Σ 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
... conclusion 0..1 string Clinical Interpretation of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status
from the FHIR Standard
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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()
dom-4errorDiagnosticReportIf 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()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... 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
... 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 Σ 0..* Identifier Identifier
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest) What was requested
... status ?!Σ 1..1 code TextResultStatus
Binding: DiagnosticReportStatus (required): The status of the diagnostic report as a whole.

.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
.... value 0..1 code Primitive value for code
... category Σ 0..1 CodeableConcept Service category
Binding: Diagnostic Service Section Codes (example): Codes for diagnostic service sections.

... code Σ 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... subject Σ 0..1 Reference(nl-core-patient) The subject of the report - usually, but not always, the patient
... context Σ 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-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 released
... performer Σ 0..* BackboneElement Participants in producing the report
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... role Σ 0..1 CodeableConcept Type of performer
Binding: Procedure Performer Role Codes (example): Indicate a role of diagnostic report performer

..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:healthProfessionalRole Σ 0..* Coding HealthProfessionalRole
Binding: ZorgverlenerRolCodelijst (extensible)
..... text Σ 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result 0..* Reference(Observation) Observations - simple, or complex nested groups
... imagingStudy 0..* Reference(ImagingStudy | ImagingManifest) Reference to full details of imaging associated with the diagnostic report
... image Σ 0..* BackboneElement Key images associated with this report
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link Σ 1..1 Reference(Media) Reference to the image source
... conclusion 0..1 string Clinical Interpretation of test results
... codedDiagnosis 0..* CodeableConcept Codes for the conclusion
Binding: SNOMED CT Clinical Findings (example): Diagnosis codes provided as adjuncts to the report.


... presentedForm 0..* Attachment Entire report as issued

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DiagnosticReport.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status
from the FHIR Standard
DiagnosticReport.categoryexampleDiagnostic Service Section Codes
http://hl7.org/fhir/ValueSet/diagnostic-service-sections
from the FHIR Standard
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG
DiagnosticReport.performer.roleexampleProcedure Performer Role Codes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
DiagnosticReport.performer.role.coding:healthProfessionalRoleextensibleZorgverlenerRolCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000
from this IG
DiagnosticReport.codedDiagnosisexampleSNOMED CT Clinical Findings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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()
dom-4errorDiagnosticReportIf 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()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... identifier 0..* Identifier Identifier
... status 1..1 code TextResultStatus
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
Binding: TekstStatusCodelijst (extensible)
... code 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... context 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-Encounter) Health care event when test ordered
... effective[x] 0..1 dateTime, Period Clinically relevant time/time-period for report
... performer 0..* BackboneElement Participants in producing the report
.... role
..... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:healthProfessionalRole 0..* Coding HealthProfessionalRole
Binding: ZorgverlenerRolCodelijst (extensible)
.... actor 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
... conclusion 0..1 string Clinical Interpretation of test results

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
DiagnosticReport.status.extension:TextResultStatus
[CanonicalType[http://nictiz.nl/fhir/StructureDefinition/code-specification]]
extensibleTekstStatusCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.2--20171231000000
from this IG
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG
DiagnosticReport.performer.role.coding:healthProfessionalRoleextensibleZorgverlenerRolCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
... code Σ 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... subject Σ 0..1 Reference(nl-core-patient) The subject of the report - usually, but not always, the patient
... context Σ 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-Encounter) Health care event when test ordered
... effective[x] Σ 0..1 Clinically relevant time/time-period for report
.... effectiveDateTime dateTime
.... effectivePeriod Period
... performer Σ 0..* BackboneElement Participants in producing the report
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... actor Σ 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
... conclusion 0..1 string Clinical Interpretation of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status
from the FHIR Standard
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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()
dom-4errorDiagnosticReportIf 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()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..* DiagnosticReport TextResult
... 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
... 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 Σ 0..* Identifier Identifier
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ProcedureRequest | ReferralRequest) What was requested
... status ?!Σ 1..1 code TextResultStatus
Binding: DiagnosticReportStatus (required): The status of the diagnostic report as a whole.

.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... TextResultStatus 0..1 CodeableConcept Provides the specific HCIM code for TextResultStatus
URL: http://nictiz.nl/fhir/StructureDefinition/code-specification
.... value 0..1 code Primitive value for code
... category Σ 0..1 CodeableConcept Service category
Binding: Diagnostic Service Section Codes (example): Codes for diagnostic service sections.

... code Σ 1..1 CodeableConcept Test
Binding: TekstUitslagTypeCodelijst (extensible)
... subject Σ 0..1 Reference(nl-core-patient) The subject of the report - usually, but not always, the patient
... context Σ 0..1 Reference(nl-core-episodeofcare | HCIM Encounter | gp-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 released
... performer Σ 0..* BackboneElement Participants in producing the report
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... role Σ 0..1 CodeableConcept Type of performer
Binding: Procedure Performer Role Codes (example): Indicate a role of diagnostic report performer

..... id 0..1 string xml:id (or equivalent in JSON)
..... extension 0..* Extension Additional Content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:healthProfessionalRole Σ 0..* Coding HealthProfessionalRole
Binding: ZorgverlenerRolCodelijst (extensible)
..... text Σ 0..1 string Plain text representation of the concept
.... actor Σ 1..1 Reference(nl-core-organization | nl-core-practitioner) Practitioner or Organization participant
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... practitionerRole 0..1 Reference(nl-core-practitionerrole) Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result 0..* Reference(Observation) Observations - simple, or complex nested groups
... imagingStudy 0..* Reference(ImagingStudy | ImagingManifest) Reference to full details of imaging associated with the diagnostic report
... image Σ 0..* BackboneElement Key images associated with this report
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... comment 0..1 string Comment about the image (e.g. explanation)
.... link Σ 1..1 Reference(Media) Reference to the image source
... conclusion 0..1 string Clinical Interpretation of test results
... codedDiagnosis 0..* CodeableConcept Codes for the conclusion
Binding: SNOMED CT Clinical Findings (example): Diagnosis codes provided as adjuncts to the report.


... presentedForm 0..* Attachment Entire report as issued

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DiagnosticReport.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status
from the FHIR Standard
DiagnosticReport.categoryexampleDiagnostic Service Section Codes
http://hl7.org/fhir/ValueSet/diagnostic-service-sections
from the FHIR Standard
DiagnosticReport.codeextensibleTekstUitslagTypeCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.2.1--20171231000000
from this IG
DiagnosticReport.performer.roleexampleProcedure Performer Role Codes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
DiagnosticReport.performer.role.coding:healthProfessionalRoleextensibleZorgverlenerRolCodelijst
http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000
from this IG
DiagnosticReport.codedDiagnosisexampleSNOMED CT Clinical Findings
http://hl7.org/fhir/ValueSet/clinical-findings
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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()
dom-4errorDiagnosticReportIf 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()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (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