Data Model Libraries
    Preparing search index...

    Class CitationCitedArtifactRelatesToComponent

    CitationCitedArtifactRelatesToComponent Class

    FHIR Specification

    • Short: The artifact related to the cited artifact
    • Definition: The artifact related to the cited artifact.
    • Comment: The citedArtifact.relatesTo element uses a BackboneElement instead of the RelatedArtifact Datatype to enable use of an extended value set for the required code for the type of relationship.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    type_: null | CodeType

    Citation.citedArtifact.relatesTo.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 | reprint | reprint-of
    • Definition: The type of relationship to the related artifact.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    classifier?: CodeableConcept[]

    Citation.citedArtifact.relatesTo.classifier Element

    FHIR Specification

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

    Citation.citedArtifact.relatesTo.label Element

    FHIR Specification

    • Short: Short label
    • Definition: A short label that can be used to reference the related artifact from elsewhere in the containing artifact, such as a footnote index.
    • Comment: Though not commonly used in citation records, this could be used for referencing other articles in the abstract or explanatory notes.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    display?: StringType

    Citation.citedArtifact.relatesTo.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: false
    citation?: MarkdownType

    Citation.citedArtifact.relatesTo.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.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    document?: Attachment

    Citation.citedArtifact.relatesTo.document Element

    FHIR Specification

    • Short: What document is being referenced
    • Definition: The document being referenced, represented as an attachment. Do not use this element if using the resource element to provide the canonical to the related artifact.
    • Comment: To refer to related artifacts by URL, the FHIR Attachment Datatype includes a url element, so the path would be Citation.citedArtifact.relatesTo.document.url
    • FHIR Type: Attachment
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    resource?: CanonicalType

    Citation.citedArtifact.relatesTo.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: false
    resourceReference?: Reference

    Citation.citedArtifact.relatesTo.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: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR CitationCitedArtifactRelatesToComponent

      • OptionaloptSourceField: string

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

      Returns undefined | CitationCitedArtifactRelatesToComponent

      CitationCitedArtifactRelatesToComponent data model or undefined for CitationCitedArtifactRelatesToComponent

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided ResourceReference object value to the resourceReference property.

      Parameters

      • value: undefined | Reference

        the resourceReference object value

      Returns this

      this

      @ReferenceTargets('Citation.citedArtifact.relatesTo.resourceReference', [])

      InvalidTypeError for invalid data type or reference value

    • Determines if the modifierExtension 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 modifierExtension property exists and has any values.

      AssertionError for invalid url

    • 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

    • 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 complex or primitive datatype; false otherwise