Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskInputBuilder

A class representing a FHIR TaskInputBuilder

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

addModifierExtension

  • addModifierExtension(extension: Extension): this
  • Adds the extension provided as an argument to the resource's modifierExtension array

    Parameters

    • extension: Extension

      The resource to be added to the modifierExtension array

    Returns this

    the Builder

build

conflictsWith

  • conflictsWith(taskInput: TaskInput): boolean
  • Returns whether or not the taskInput provided as an argument is in conflict with the taskInput used in the builder

    override

    Parameters

    • taskInput: TaskInput

      The taskInput to test for conflict

    Returns boolean

    Whether it is in conflict

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

getModifierExtension

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

    Parameters

    • Optional url: uri

    Returns Extension[]

    The extensions if it exists or the modifierExtension-array

getType

  • Returns the type-field of the TaskInput

    Returns CodeableConcept | undefined

    The type-field

getValueCanonical

  • Returns the valueCanonical-field of the TaskInput

    Returns canonical | undefined

    The valueCanonical-field

getValueReference

  • Returns the valueReference-field of the TaskInput

    Returns Reference | undefined

    The valueReference-field

Protected make

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

setModifierExtension

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

    Parameters

    Returns this

    the Builder

setType

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

    Parameters

    Returns this

    • This TaskInputBuilder

setValueCanonical

  • setValueCanonical(valueCanonical?: canonical): this
  • Sets the valueCanonical-field of the TaskInput If no argument is provided, the field will be removed

    Parameters

    • Optional valueCanonical: canonical

      The value to be set in the valueCanonical-field

    Returns this

    • This TaskInputBuilder

setValueReference

  • setValueReference(valueReference?: Reference): this
  • Sets the valueReference-field of the TaskInput If no argument is provided, the field will be removed

    Parameters

    • Optional valueReference: Reference

      The value to be set in the valueReference-field

    Returns this

    • This TaskInputBuilder

use

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

    override

    Parameters

    • Optional taskInput: TaskInput

      the taskInput to be set

    Returns this

    The builder

Generated using TypeDoc