Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Data Type Profile: Reference

Official URL: https://ancode.app/fhir/StructureDefinition/Reference Version: 0.2.0
Draft as of 2022-04-20 Computable Name: Reference

Usage:

  • This DataType Constraint is not used by any profiles in this Implementation Guide

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 1..1stringLiteral reference, Relative, internal or absolute URL

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

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children unless an empty Parameters resource
: hasValue() or (children().count() > id.count()) or $this is Parameters
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')) or (reference='#' and %rootResource!=%resource)
NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
... id 0..1idUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
... display Σ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()

This structure is derived from Reference

Summary

Mandatory: 1 element

Differential View

This structure is derived from Reference

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference 0..*ReferenceA reference from one resource to another
... reference 1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children unless an empty Parameters resource
: hasValue() or (children().count() > id.count()) or $this is Parameters
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')) or (reference='#' and %rootResource!=%resource)

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Reference C0..*ReferenceA reference from one resource to another
... id 0..1idUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... reference ΣC1..1stringLiteral reference, Relative, internal or absolute URL
... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
... display Σ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()

This structure is derived from Reference

Summary

Mandatory: 1 element

 

Other representations of profile: CSV, Excel, Schematron