Reference class
A reference from one resource to another
- Annotations
-
- @freezed
Constructors
- Reference({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'Reference') String? reference, @JsonKey(name: 'Type') String? type, @JsonKey(name: 'Identifier') Identifier? identifier, @JsonKey(name: 'Display') String? display})
-
factory
-
Reference.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ReferenceCopyWith<
Reference> -
no setterinherited
- display → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- identifier → Identifier?
-
An identifier for the target resource.
This is used when there is no way to reference the other resource directly,
either because the entity it represents is not available through a FHIR server,
or because there is no way for the author of the resource to convert a
known identifier to an actual location. There is no requirement that a
Reference.identifier point to something that is actually exposed as a FHIR
instance, but it SHALL point to a business concept that would be expected
to be exposed as a FHIR instance, and that instance would need to be of
a FHIR resource type allowed by the reference.
no setterinherited
- reference → String?
-
A reference to a location at which the other resource is found.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
The expected type of the target of the reference. If both Reference.type
and Reference.reference are populated and Reference.reference is a
FHIR URL, both SHALL be consistent.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited