Digital Referral Prescription
1.0.0 - STU Belgium flag

This page is part of the HL7 BE Digital referral prescription IG (v1.0.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions

Data Type Profile: BeContainedOrLogicalReference

Official URL: https://www.ehealth.fgov.be/standards/fhir/drp/StructureDefinition/be-contained-or-logical-reference Version: 1.0.0
Active as of 2025-09-29 Computable Name: BeContainedOrLogicalReference

A reference limited to contained resources or resources with a logical identifier.

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
.. Reference C 0..* Reference A reference from one resource to another
Constraints: ref-1, be-inv-contained-or-logical-reference
... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ref-1errorReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Reference C 0..* Reference A reference from one resource to another
Constraints: be-inv-contained-or-logical-reference
... reference S 0..1 string Literal reference, Relative, internal or absolute URL
... identifier S 0..1 Identifier Logical reference, when literal reference is not known

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Reference C 0..* Reference A reference from one resource to another
Constraints: ref-1, be-inv-contained-or-logical-reference
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
... display Σ 0..1 string Text alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Reference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()
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()
ref-1errorReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Reference

Summary

Must-Support: 2 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Reference C 0..* Reference A reference from one resource to another
Constraints: ref-1, be-inv-contained-or-logical-reference
... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ref-1errorReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Reference C 0..* Reference A reference from one resource to another
Constraints: be-inv-contained-or-logical-reference
... reference S 0..1 string Literal reference, Relative, internal or absolute URL
... identifier S 0..1 Identifier Logical reference, when literal reference is not known

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Reference C 0..* Reference A reference from one resource to another
Constraints: ref-1, be-inv-contained-or-logical-reference
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC 0..1 string Literal reference, Relative, internal or absolute URL
... identifier SΣ 0..1 Identifier Logical reference, when literal reference is not known
... display Σ 0..1 string Text alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Reference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
be-inv-contained-or-logical-referenceerrorReferenceA reference must refer to a contained resource or have a logical identifier
: reference.empty().not() or identifier.empty().not()
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()
ref-1errorReferenceSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from Reference

Summary

Must-Support: 2 elements

 

Other representations of profile: CSV, Excel, Schematron