Class: ResourceApi

SanteDBWrapper.ResourceApi()

new ResourceApi()

Represents a wrapper for various resources on the SanteDB API

Properties:
Name Type Description
bundle ResourceWrapper Functions for interacting with Bundle
act ResourceWrapper Functions for interacting with Act
applicationEntity ResourceWrapper Functions for interacting with ApplicationEntity
assigningAuthority ResourceWrapper Functions for interacting with AssigningAuthority
carePlan ResourceWrapper Functions for interacting with CarePlan
codeSystem ResourceWrapper Functions for interacting with CodeSystem
concept ResourceWrapper Functions for interacting with Concept
conceptSet ResourceWrapper Functions for interacting with ConceptSet
configuration ResourceWrapper Functions for interacting with Configuration
deviceEntity ResourceWrapper Functions for interacting with DeviceEntity
entityRelationship ResourceWrapper Functions for interacting with EntityRelationship
locale ResourceWrapper Functions for interacting with Locale
mail ResourceWrapper Functions for interacting with Mail
manufacturedMaterial ResourceWrapper Functions for interacting with ManufacturedMaterial
material ResourceWrapper Functions for interacting with Material
observation ResourceWrapper Functions for interacting with Observation
organization ResourceWrapper Functions for interacting with Organization
patient ResourceWrapper Functions for interacting with Patient
entityRelationship ResourceWrapper Functions for interacting with EntityRelationship
entity ResourceWrapper Functions for interacting with Entity
place ResourceWrapper Functions for interacting with Place
provider ResourceWrapper Functions for interacting with Provider
queue ResourceWrapper Functions for interacting with Queue
referenceTerm ResourceWrapper Functions for interacting with ReferenceTerm
substanceAdministration ResourceWrapper Functions for interacting with SubstanceAdministration
task ResourceWrapper Functions for interacting with Task
tickle ResourceWrapper Functions for interacting with Tickle
pubSubSubscription ResourceWrapper Functions for interacting with SubscriptionDefinition
pubSubChannel ResourceWrapper Functions for interacting with PubSubChannel
userEntity ResourceWrapper Functions for interacting with UserEntity
extensionType ResourceWrapper Functions for interacting with ExtensionType
matchConfiguration ResourceWrapper Functions for interacting with MatchConfiguration
configuration ResourceWrapper Functions for interacting with Configuration
dispatcherQueue ResourceWrapper Functions for interacting with DispatcherQueueInfo
sessionInfo ResourceWrapper Functions for interacting with SessionInfo
probe ResourceWrapper Functions for interacting with Probe
queue ResourceWrapper Functions for interacting with system synchronization queues
Source:

Members

(static) this.act :ResourceWrapper

Represents the Act Resource

Type:
Source:

(static) this.applicationEntity :ResourceWrapper

Represents the ApplicationEntity Resource

Type:
Source:

(static) this.assigningAuthority :ResourceWrapper

A resource wrapper for Assigning Authorities

Type:
Source:

(static) this.bundle :ResourceWrapper

Represents a resource wrapper that persists bundles

Type:
Source:

(static) this.carePlan :ResourceWrapper

Represents an resource wrapper that interoperates with the care planner

Type:
Source:

(static) this.codeSystem :ResourceWrapper

Represents the CodeSystem Resource

Type:
Source:

(static) this.concept :ResourceWrapper

Represents the ManufacturedMaterial Resource

Type:
Source:

(static) this.conceptSet :ResourceWrapper

Represents the ConceptSet Resource

Type:
Source:

(static) this.configuration :ResourceWrapper

Gets the configuration resource

Type:
Source:

(static) this.deviceEntity :ResourceWrapper

Represents the DeviceEntity Resource

Type:
Source:

(static) this.entity :ResourceWrapper

Represents the entity resource

Type:
Source:

(static) this.entityRelationship :ResourceWrapper

Represents the entity relationship resource

Type:
Source:

(static) this.extensionType :ResourceWrapper

Represents the Patient Resource

Type:
Source:

(static) this.locale :ResourceWrapper

A wrapper for locale information which comes from the server

Type:
Source:

(static) this.mail :ResourceWrapper

A resource wrapper for alerts which are messages between users

Type:
Source:

(static) this.manufacturedMaterial :ResourceWrapper

Represents the ManufacturedMaterial Resource

Type:
Source:

(static) this.matchConfiguration :ResourceWrapper

Match configuration API

Type:
Source:

(static) this.material :ResourceWrapper

Represents the Material Resource

Type:
Source:

(static) this.observation :ResourceWrapper

Represents the Observation Resource

Type:
Source:

(static) this.organization :ResourceWrapper

Represents the Organization Resource

Type:
Source:

(static) this.patient :ResourceWrapper

Represents the Patient Resource

Type:
Source:

(static) this.person :ResourceWrapper

Represents the Person Resource

Type:
Source:

(static) this.place :ResourceWrapper

Represents the Place Resource

Type:
Source:

(static) this.provider :ResourceWrapper

Represents the Provider Resource

Type:
Source:

(static) this.pubSubChannel :ResourceWrapper

Represents the PubSubChannel Resource

Type:
Source:

(static) this.pubSubSubscription :ResourceWrapper

Represents the PubSubSubscription Resource

Type:
Source:

(static) this.queue :ResourceWrapper

Gets the queue control resource

Type:
Source:

(static) this.referenceTerm :ResourceWrapper

Represents the ReferenceTerm Resource

Type:
Source:

(static) this.substanceAdministration :ResourceWrapper

Represents the SubstanceAdministration Resource

Type:
Source:

(static) this.task :ResourceWrapper

Resource wrapper which interacts with the administrative task scheduler

Type:
Source:

(static) this.tickle :ResourceWrapper

A wrapper which is used for fetching user notifications

Type:
Source:

(static) this.userEntity :ResourceWrapper

Represents the UserEntity Resource

Type:
Source:

(static) this.userEntity :ResourceWrapper

Represents the UserEntity Resource

Type:
Source:

Methods

ensureTypeAsync(value, desiredType) → {Promise}

Sometimes when a link is retrieved it is a base class - this function ensures that the @value is of type @desiredType if not it will fetch

Parameters:
Name Type Description
value any The current value of the object which should be the desired type
desiredType String The type of resource that the value should be or else the resource is fetched
Source:
Returns:
A promise for the fulfillment of the check
Type
Promise