RelatedArtifact constructor

const RelatedArtifact({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. RelatedArtifactType? type,
  4. @JsonKey(name: '_type') Element? typeElement,
  5. List<CodeableConcept>? classifier,
  6. String? label,
  7. @JsonKey(name: '_label') Element? labelElement,
  8. String? display,
  9. @JsonKey(name: '_display') Element? displayElement,
  10. FhirMarkdown? citation,
  11. @JsonKey(name: '_citation') Element? citationElement,
  12. Attachment? document,
  13. FhirCanonical? resource,
  14. Reference? resourceReference,
  15. FhirCode? publicationStatus,
  16. @JsonKey(name: '_publicationStatus') Element? publicationStatusElement,
  17. FhirDate? publicationDate,
  18. @JsonKey(name: '_publicationDate') Element? publicationDateElement,
})

RelatedArtifact Related artifacts such as additional documentation, justification, or bibliographic references.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

extension_ ("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 managable, 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.

type The type of relationship to the related artifact.

typeElement ("_type") Extensions for type

classifier Provides additional classifiers of the related artifact.

label A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.

labelElement ("_label") Extensions for label

display A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.

displayElement ("_display") Extensions for display

citation A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.

citationElement ("_citation") Extensions for citation

document The document being referenced, represented as an attachment. This is exclusive with the resource element.

resource The related artifact, such as a library, value set, profile, or other knowledge resource.

resourceReference The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.

publicationStatus The publication status of the artifact being referred to.

publicationStatusElement ("_publicationStatus") Extensions for publicationStatus

publicationDate The date of publication of the artifact being referred to.

publicationDateElement ("_publicationDate") Extensions for publicationDate

Implementation

const factory RelatedArtifact({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [extension_] ("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 managable, 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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [type] The type of relationship to the related artifact.
  RelatedArtifactType? type,

  /// [typeElement] ("_type") Extensions for type
  @JsonKey(name: '_type') Element? typeElement,

  /// [classifier] Provides additional classifiers of the related artifact.
  List<CodeableConcept>? classifier,

  /// [label] A short label that can be used to reference the citation from
  ///  elsewhere in the containing artifact, such as a footnote index.
  String? label,

  /// [labelElement] ("_label") Extensions for label
  @JsonKey(name: '_label') Element? labelElement,

  /// [display] A brief description of the document or knowledge resource
  ///  being referenced, suitable for display to a consumer.
  String? display,

  /// [displayElement] ("_display") Extensions for display
  @JsonKey(name: '_display') Element? displayElement,

  /// [citation] A bibliographic citation for the related artifact. This text
  ///  SHOULD be formatted according to an accepted citation format.
  FhirMarkdown? citation,

  /// [citationElement] ("_citation") Extensions for citation
  @JsonKey(name: '_citation') Element? citationElement,

  /// [document] The document being referenced, represented as an attachment.
  ///  This is exclusive with the resource element.
  Attachment? document,

  /// [resource] The related artifact, such as a library, value set, profile,
  ///  or other knowledge resource.
  FhirCanonical? resource,

  /// [resourceReference] The related artifact, if the artifact is not a
  ///  canonical resource, or a resource reference to a canonical resource.
  Reference? resourceReference,

  /// [publicationStatus] The publication status of the artifact being
  ///  referred to.
  FhirCode? publicationStatus,

  /// [publicationStatusElement] ("_publicationStatus") Extensions for
  ///  publicationStatus
  @JsonKey(name: '_publicationStatus') Element? publicationStatusElement,

  /// [publicationDate] The date of publication of the artifact being
  ///  referred to.
  FhirDate? publicationDate,

  /// [publicationDateElement] ("_publicationDate") Extensions for
  ///  publicationDate
  @JsonKey(name: '_publicationDate') Element? publicationDateElement,
}) = _RelatedArtifact;