Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IdentifierBuilder

Class representing a FHIR Identifier builder

Hierarchy

Index

Constructors

constructor

Methods

addExtension

  • Adds the extension provided as an argument to the resource's extension array

    Parameters

    • extension: Extension

      The resource to be added to the extension array

    Returns this

    the Builder

build

conflictsWith

  • Returns whether or not the identifier provided as an argument is in conflict with the identifier used in the builder

    override

    Parameters

    • identifier: Identifier

      The identifier to test for conflict

    Returns boolean

    Whether it is in conflict

getAssigner

  • Returns the assigner-field of the Identifier

    Returns Reference | undefined

    The assigner-field

getExtension

  • Returns either the extensions identified by the provided url from the extension array or the entire extension array, if no url is provided

    Parameters

    • Optional url: url

    Returns Extension[]

    The extensions if they exists or the extension-array

getId

  • getId(): id | undefined
  • Returns the element's id

    Returns id | undefined

    The element's id

getPeriod

  • getPeriod(): Period | undefined
  • Returns the period-field of the Identifier

    Returns Period | undefined

    The period-field

getSystem

  • getSystem(): string | undefined
  • Returns the system-field of the Identifier

    Returns string | undefined

    The system-field

getType

  • Returns the type-field of the Identifier

    Returns CodeableConcept | undefined

    The type-field

getUse

  • Returns the use-field of the Identifier

    Returns IdentifierUse | undefined

    The use-field

getValue

  • getValue(): string | undefined
  • Returns the value-field of the Identifier

    Returns string | undefined

    The value-field

Protected make

  • Creates a new Identifier

    override

    Returns Identifier

    The identifier

setAssigner

  • Sets the assigner-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    • Optional assigner: Reference

      The value to be set in the assigner-field

    Returns this

    • The builder

setExtension

  • setExtension(extension?: Extension[]): this
  • Sets the resource'extension-array to the provided array If no argument is provided, the field will be removed

    Parameters

    • Optional extension: Extension[]

      The array to be set as the resource's extension array

    Returns this

    the Builder

setId

  • setId(id?: id): this
  • Sets the element's id to the id provided as an argument If no argument is provided, the field will be removed

    Parameters

    • Optional id: id

      the id to be set

    Returns this

    the Builder

setPeriod

  • setPeriod(period?: Period): this
  • Sets the period-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    • Optional period: Period

      The value to be set in the period-field

    Returns this

    • The builder

setSystem

  • setSystem(system?: undefined | string): this
  • Sets the system-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    • Optional system: undefined | string

      The value to be set in the system-field

    Returns this

    • The builder

setType

  • Sets the type-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setUse

  • Sets the use-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    • Optional use: IdentifierUse

      The value to be set in the use-field

    Returns this

    • The builder

setValue

  • setValue(value?: undefined | string): this
  • Sets the value-field of the Identifier If no argument is provided, the field will be removed

    Parameters

    • Optional value: undefined | string

      The value to be set in the value-field

    Returns this

    • The builder

use

  • Sets a copy of an existing identifier for this builder to allow for manipulation If no argument is provided, a new Identifier will be generated

    override

    Parameters

    • Optional identifier: Identifier

      the identifier to be set

    Returns this

    The builder

Generated using TypeDoc