Data Model Libraries
    Preparing search index...

    RelatedArtifact Class

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

    Knowledge resources must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content.

    FHIR Specification

    • Short: Related artifacts for a knowledge resource
    • Definition: Related artifacts such as additional documentation, justification, or bibliographic references.
    • Comment: Each related artifact is either an attachment, or a reference to another knowledge resource, but not both.
    • FHIR Version: 5.0.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    relatedArtifactTypeEnum: RelatedArtifactTypeEnum

    FHIR CodeSystem: RelatedArtifactType

    type_: null | EnumCodeType

    RelatedArtifact.type Element

    FHIR Specification

    • Short: documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
    • Definition: The type of relationship to the related artifact.
    • Comment: The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of "new points to old" and "many points to one", when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: RelatedArtifactTypeEnum

    classifier?: CodeableConcept[]

    RelatedArtifact.classifier Element

    FHIR Specification

    • Short: Additional classifiers
    • Definition: Provides additional classifiers of the related artifact.
    • FHIR Type: CodeableConcept
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    label?: StringType

    RelatedArtifact.label Element

    FHIR Specification

    • Short: Short label
    • Definition: A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    display?: StringType

    RelatedArtifact.display Element

    FHIR Specification

    • Short: Brief description of the related artifact
    • Definition: A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    citation?: MarkdownType

    RelatedArtifact.citation Element

    FHIR Specification

    • Short: Bibliographic citation for the artifact
    • Definition: A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.
    • Comment: Additional structured information about citations should be captured as extensions.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    document?: Attachment

    RelatedArtifact.document Element

    FHIR Specification

    • Short: What document is being referenced
    • Definition: The document being referenced, represented as an attachment. This is exclusive with the resource element.
    • FHIR Type: Attachment
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    resource?: CanonicalType

    RelatedArtifact.resource Element

    FHIR Specification

    • Short: What artifact is being referenced
    • Definition: The related artifact, such as a library, value set, profile, or other knowledge resource.
    • Comment: If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.
    • FHIR Type: canonical
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    resourceReference?: Reference

    RelatedArtifact.resourceReference Element

    FHIR Specification

    • Short: What artifact, if not a conformance resource
    • Definition: The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource.
    • Comment: If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    publicationStatusEnum: PublicationStatusEnum

    FHIR CodeSystem: PublicationStatus

    publicationStatus?: EnumCodeType

    RelatedArtifact.publicationStatus Element

    FHIR Specification

    • Short: draft | active | retired | unknown
    • Definition: The publication status of the artifact being referred to.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: PublicationStatusEnum

    publicationDate?: DateType

    RelatedArtifact.publicationDate Element

    FHIR Specification

    • Short: Date of publication of the artifact being referred to
    • Definition: The date of publication of the artifact being referred to.
    • FHIR Type: date
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Methods

    • Parse the provided RelatedArtifact JSON to instantiate the RelatedArtifact data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR RelatedArtifact

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to RelatedArtifact

      Returns undefined | RelatedArtifact

      RelatedArtifact data model or undefined for RelatedArtifact

      JsonError if the provided JSON is not a valid JSON object

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if the instance is a FHIR resource; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive boolean datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive string-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive number-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive bigint-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive datetime-based datatype; false otherwise