RelatedArtifact class

RelatedArtifact Related artifacts such as additional documentation,

Annotations
  • @freezed

Constructors

RelatedArtifact({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, @JsonKey(unknownEnumValue: RelatedArtifactType.unknown) RelatedArtifactType? type, @JsonKey(name: '_type') Element? typeElement, String? label, @JsonKey(name: '_label') Element? labelElement, String? display, @JsonKey(name: '_display') Element? displayElement, FhirMarkdown? citation, @JsonKey(name: '_citation') Element? citationElement, FhirUrl? url, @JsonKey(name: '_url') Element? urlElement, Attachment? document, FhirCanonical? resource})
RelatedArtifact Related artifacts such as additional documentation, justification, or bibliographic references.
const
factory
RelatedArtifact.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
RelatedArtifact.fromJsonString(String source)
Acts like a constructor, returns a RelatedArtifact, accepts a String as an argument, mostly because I got tired of typing it out
factory
RelatedArtifact.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

citation FhirMarkdown?
citation A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.
no setterinherited
citationElement Element?
citationElement Extensions for citation
no setterinherited
copyWith → $RelatedArtifactCopyWith<RelatedArtifact>
no setterinherited
display String?
display A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.
no setterinherited
displayElement Element?
displayElement Extensions for display
no setterinherited
document Attachment?
document The document being referenced, represented as an attachment. This is exclusive with the resource element.
no setterinherited
extension_ List<FhirExtension>?
extension_ May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
no setterinherited
fhirId String?
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
label String?
label A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.
no setterinherited
labelElement Element?
labelElement Extensions for label
no setterinherited
resource FhirCanonical?
resource The related resource, such as a library, value set, profile, or other knowledge resource.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RelatedArtifactType?
no setterinherited
typeElement Element?
typeElement Extensions for type
no setterinherited
url FhirUrl?
url A url for the artifact that can be followed to access the actual content.
no setterinherited
urlElement Element?
urlElement Extensions for url
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

operator ==(Object other) bool
The equality operator.
inherited