Creates a new FHIR CarePlanBuilder
Public make-method for mocking
Adds the activity provided as an argument to the resource's activity-array
The activity to be added to the activity-array
the Builder
Appends an address to the careplan, if an addres within the system does not already exist
Adds the resource provided as an argument to the resource's contained array, if a resource with that id does not already exist in the array.
The resource to be added to the contained array
the Builder
Adds the extension provided as an argument to the resource's extension array, if an extension with that url does not already exist in the array.
The extension to be added to the extension-array
the Builder
Appends an identifier to the careplan, if an identifier within the system does not already exist
the identifier to be appended
Appends a plan definition canonical reference to the careplan, if it does not already exist
the canonical reference to be appended
Adds the modifierExtension provided as an argument to the resource's modifierExtension array, if an modifierExtension with that url does not already exist in the array.
The modifierExtension to be added to the modifierExtension-array
the Builder
Builds and returns the careplan
Returns whether or not the resource provided as an argument is in conflict with the resource used in the builder
The resource to test for conflict
Whether it is in conflict
Returns either the carePlanActivity identified by the provided id from the activity-array or the entire activity-array, if no id is provided
The carePlanActivity identified by the provided id or the activity-array
Returns the addresses-field for careplan
Returns the careplan's author
author - the author of the careplan
Returns the careplan's created field
created - the date the careplan's was created
Returns the careplan's encounter
encounter - the encounter to which the careplan is related.
Returns the resource's id
The resource's id
Returns either the identifier identified by the provided system from the identifier-array or the entire identifier array, if no system is provided
The identifier if it exists or the identifier-array
Returns the implicitRules-field of the Resource
The implicitRules-field
Returns all plan definition canonical references for careplan
Returns the careplan's intent field. This field is contrained to 'order'
Returns the language-field of the Resource
The language-field
Returns the meta-field of the Resource
The meta-field
Returns the careplan's period
period - the period within which the careplan is active
Returns the resourceType-field of the Resource
The resourceType-field
Returns the careplan's status field
Returns the careplan's subject
subject - the subject of the careplan
Returns the text-field of the DomainResource
The text-field
Returns the carplan's title field
the title of the careplan
Make a new object that implements a FHIR CarePlan
Sets the activity-array to the provided array
The array to be set as the action-array
the Builder
Replace the addresses array with the provided array
Sets the careplan's author field
the author which the careplan refereces
this CarePlanBuilder
Sets the resource's contained-array to the provided array
The array to be set as the resource's contained array
the Builder
Sets the careplan's created field
the date the careplan's was created
this CarePlanBuilder
Sets the careplan's encounter field
the encounter to which the careplan is related
this CarePlanBuilder
Sets the resource's extension-array to the provided array
The array to be set as the resource's extension array
the Builder
Sets the resource's id to the id provided as an argument
the id to be set
the Builder
Replaces the identifier array with the provided array
Sets the implicitRules-field of the Resource
The value to be set in the implicitRules-field
Replaces the instantiatesCanonical array with the provided array
the array to be set
Sets the careplan's intent-field
the intent to be set. Must be one of: draft | active | suspended | completed | entered-in-error | cancelled | unknown
Sets the language-field of the Resource
Sets the meta-field of the Resource
The value to be set in the meta-field
Sets the resource's modifierExtension-array to the provided array
The array to be set as the resource's modifierExtension array
the Builder
Sets the careplan's period field
the period within which the careplan is active
this CarePlanBuilder
Sets the resourceType-field of the Resource
The value to be set in the resourceType-field
Sets the careplan's status field
the status to be set. Must be one of: draft | active | suspended | completed | entered-in-error | cancelled | unknown
Sets the careplan's subject field
the subject which the careplan refereces
this CarePlanBuilder
Sets the text-field of the DomainResource
The value to be set in the text-field
Sets the careplan's title field.
the title of the careplan
this CarePlanBuilder
Sets an existing careplan for this CarePlanBuilder to allow for manipulating, or interacting with, the careplan through this CarePlanBuilder
The careplan to set
This CarePlanBuilder
Generated using TypeDoc
Class representing a FHIR CarePlan builder