Referral Prescription
1.0.0 - STU Belgium flag

Referral Prescription, published by . This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-be/referral/ and changes regularly. See the Directory of published versions

Data Type Profile: BeContainedOrLogicalReference

Official URL: https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-contained-or-logical-reference Version: 1.0.0
Draft as of 2024-03-15 Computable Name: BeContainedOrLogicalReference

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

Usage:

Formal Views of Profile Content

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

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... reference S0..1stringLiteral reference, Relative, internal or absolute URL
... identifier S0..1IdentifierLogical 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 & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
ref-1: SHALL have a contained resource if a local reference is provided
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... reference SΣC0..1stringLiteral reference, Relative, internal or absolute URL
... identifier SΣ0..1IdentifierLogical 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'))
NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
ref-1: SHALL have a contained resource if a local reference is provided
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC0..1stringLiteral reference, Relative, internal or absolute URL
... identifier SΣ0..1IdentifierLogical reference, when literal reference is not known
... display Σ0..1stringText alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Reference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
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

Differential View

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... reference S0..1stringLiteral reference, Relative, internal or absolute URL
... identifier S0..1IdentifierLogical 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()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
ref-1: SHALL have a contained resource if a local reference is provided
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... reference SΣC0..1stringLiteral reference, Relative, internal or absolute URL
... identifier SΣ0..1IdentifierLogical 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'))

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
ref-1: SHALL have a contained resource if a local reference is provided
be-inv-contained-or-logical-reference: A reference must refer to a contained resource or have a logical identifier
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC0..1stringLiteral reference, Relative, internal or absolute URL
... identifier SΣ0..1IdentifierLogical reference, when literal reference is not known
... display Σ0..1stringText alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Reference.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
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