Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CarePlanActivityBuilder

Class representing a FHIR CarePlanActivity builder FIXME: Incomplete

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

addOutcomeCodeableConcept

  • Adds a CodeableConcept to the outcomeCodeableConcept-array of the CarePlanActivity

    Parameters

    Returns this

    The builder

addOutcomeReference

  • addOutcomeReference(outcomeReference: Reference): this
  • Adds a CodeableConcept to the outcomeCodeableConcept-array of the CarePlanActivity

    Parameters

    Returns this

    The builder

build

conflictsWith

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

    override

    Parameters

    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

getOutcomeCodeableConcept

  • Returns the outcomeCodeableConcept-field of the CarePlanActivity

    Returns CodeableConcept[]

    The outcomeCodeableConcept-field

getOutcomeReference

  • Returns the outcomeReference-field of the CarePlanActivity

    Returns Reference[]

    The outcomeReference-field

getReference

  • Returns the reference-field of the CarePlanActivity if it is set

    Returns Reference | undefined

    The reference-field

Protected make

  • Make a new object that implements a FHIR CarePlanActivity

    override

    Returns CarePlanActivity

    • an object that implements FHIR CarePlanActivity

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

setOutcomeCodeableConcept

  • setOutcomeCodeableConcept(outcomeCodeableConcept?: CodeableConcept[]): this
  • Sets the outcomeCodeableConcept-field of the CarePlanActivity with the provided CodeableConcept-array. If no argument is provided, the field will be removed

    Parameters

    Returns this

    The builder

setOutcomeReference

  • Sets the outcomeReference-field of the CarePlanActivity with the provided Reference-array If no argument is provided, the field will be removed

    Parameters

    Returns this

    The builder

setReference

  • Sets the reference-field of the CarePlanActivity with the provided reference If no argument is provided, the field will be removed

    Parameters

    Returns this

    The builder

use

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

    override

    Parameters

    Returns this

    The builder

Generated using TypeDoc