Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Data Type Profile: Reference - RESTful

Official URL: http://hl7.org/fhir/us/physical-activity/StructureDefinition/reference-rest Version: 1.0.0
Standards status: Trial-use Maturity Level: 2 Computable Name: ReferenceRest

A Reference data type where the referenced resource is expected to be resolvable RESTfully.

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 0..*ReferenceA reference from one resource to another
... reference S1..1stringLiteral reference, Relative, internal or absolute URL
... display S0..1stringText alternative for the resource

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... display SΣ0..1stringText alternative for the resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
... display SΣ0..1stringText alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Reference.typeextensibleResourceType

Constraints

IdGradePath(s)DetailsRequirements
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

Mandatory: 1 element
Must-Support: 2 elements

Maturity: 2

Differential View

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference 0..*ReferenceA reference from one resource to another
... reference S1..1stringLiteral reference, Relative, internal or absolute URL
... display S0..1stringText alternative for the resource

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... display SΣ0..1stringText alternative for the resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
... display SΣ0..1stringText alternative for the resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Reference.typeextensibleResourceType

Constraints

IdGradePath(s)DetailsRequirements
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

Mandatory: 1 element
Must-Support: 2 elements

Maturity: 2

 

Other representations of profile: CSV, Excel, Schematron