Digital Referral Prescription
1.0.0 - STU
Digital Referral Prescription - Downloaded Version 1.0.0 See the Directory of published versions
| 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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: ref-1, be-inv-contained-or-logical-reference |
![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ref-1 | error | Reference | SHALL 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: be-inv-contained-or-logical-reference |
![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
S | 0..1 | Identifier | Logical reference, when literal reference is not known |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: ref-1, be-inv-contained-or-logical-reference |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Reference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() | |
| 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() | |
| ref-1 | error | Reference | SHALL 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
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: ref-1, be-inv-contained-or-logical-reference |
![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ref-1 | error | Reference | SHALL 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: be-inv-contained-or-logical-reference |
![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
S | 0..1 | Identifier | Logical reference, when literal reference is not known |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Reference | A reference from one resource to another Constraints: ref-1, be-inv-contained-or-logical-reference |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Reference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| be-inv-contained-or-logical-reference | error | Reference | A reference must refer to a contained resource or have a logical identifier : reference.empty().not() or identifier.empty().not() | |
| 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() | |
| ref-1 | error | Reference | SHALL 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
Other representations of profile: CSV, Excel, Schematron