Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ThresholdEffectiveWhenBuilder

Class representing an EffectiveWhen builder for ThresholdSet Thresholds

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

  • Builds and returns the plandefinition

    override

    Returns Extension

    • the plandefinition

conflictsWith

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

    Parameters

    • element: Element

      The element to test for conflict

    Returns boolean

    Whether it is in conflict

getComponent

  • getComponent(): Coding | undefined
  • Returns the component on which this effectiveWhen is acting

    Returns Coding | undefined

    The component

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

getOperator

  • Returns the operator of the effectiveWhen

    Returns EffectiveWhenOperator | undefined

    The operator

getValueAttachment

  • Returns the valueAttachment of the effectiveWhen

    Returns Attachment | undefined

    The valueAttachment

getValueBoolean

  • getValueBoolean(): boolean | undefined
  • Returns the valueBoolean of the effectiveWhen

    Returns boolean | undefined

    The valueBoolean

getValueCodeableConcept

  • Returns the valueCodeableConcept of the effectiveWhen

    Returns CodeableConcept | undefined

    The valueCodeableConcept

getValueDate

  • getValueDate(): date | undefined
  • Returns the valueDate of the effectiveWhen

    Returns date | undefined

    The valueDate

getValueDateTime

  • getValueDateTime(): dateTime | undefined
  • Returns the valueDateTime of the effectiveWhen

    Returns dateTime | undefined

    The valueDateTime

getValueDecimal

  • getValueDecimal(): decimal | undefined
  • Returns the valueDecimal of the effectiveWhen

    Returns decimal | undefined

    The valueDecimal

getValueInteger

  • getValueInteger(): integer | undefined
  • Returns the valueInteger of the effectiveWhen

    Returns integer | undefined

    The valueInteger

getValueQuantity

  • getValueQuantity(): Quantity | undefined
  • Returns the valueQuantity of the effectiveWhen

    Returns Quantity | undefined

    The valueQuantity

getValueReference

  • Returns the valueReference of the effectiveWhen

    Returns Reference | undefined

    The valueReference

getValueString

  • getValueString(): string | undefined
  • Returns the valueString of the effectiveWhen

    Returns string | undefined

    The valueString

getValueUri

  • getValueUri(): uri | undefined
  • Returns the valueUri of the effectiveWhen

    Returns uri | undefined

    The valueUri

Protected make

  • Make a new object that implements a FHIR ThresholdSet

    override

    Returns Extension

    • an object that implements FHIR ThresholdSet

setComponent

  • setComponent(component?: Coding): this
  • Sets the component on which this effectiveWhen is acting If no argument is provided, the field will be removed

    Parameters

    • Optional component: Coding

      The component

    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

setOperator

  • Sets the operator of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueAttachment

  • setValueAttachment(attachment?: Attachment): this
  • Sets the valueAttachment of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueBoolean

  • setValueBoolean(bool?: undefined | false | true): this
  • Sets the valueBoolean of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    • Optional bool: undefined | false | true

    Returns this

    • The builder

setValueCodeableConcept

  • Sets the valueCodeableConcept of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueDate

  • setValueDate(date?: date): this
  • Sets the valueDate of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    • Optional date: date

    Returns this

    • The builder

setValueDateTime

  • setValueDateTime(dateTime?: dateTime): this
  • Sets the valueDateTime of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueDecimal

  • setValueDecimal(decimal?: decimal): this
  • Sets the valueDecimal of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueInteger

  • setValueInteger(integer?: integer): this
  • Sets the valueInteger of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueQuantity

  • setValueQuantity(quantity?: Quantity): this
  • Sets the valueQuantity of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    Returns this

    • The builder

setValueReference

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

    Parameters

    Returns this

    • The builder

setValueString

  • setValueString(str?: undefined | string): this
  • Sets the valueString of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    • Optional str: undefined | string

    Returns this

    • The builder

setValueUri

  • setValueUri(uri?: uri): this
  • Sets the valueUri of the effectiveWhen If no argument is provided, the field will be removed

    Parameters

    • Optional uri: uri

    Returns this

    • The builder

use

  • Sets a copy of an existing effectiveWhen for this builder to allow for manipulating, or interacting with, the effectiveWhen through this builder If no argument is provided, a new ThresholdEffectiveWhen will be generated

    override

    Parameters

    Returns this

    The builder

Generated using TypeDoc