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
identityDomain ResourceWrapper Functions for interacting with identityDomain
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
pubSubSubscriptionDefinition ResourceWrapper Functions for interacting with SubscriptionDefinition
pubSubChannelDefinition 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
dispatcherQueue ResourceWrapper Functions for interacting with system synchronization queues
conceptReferenceTerm ResourceWrapper Functions for interacting with ConceptReferenceTerm
foreignData ResourceWrapper Functions for interacting with foreign data uploades
foreignDataMap ResourceWrapper Functions for interacting with ForeignDataMap
appletSolution ResourceWrapper Functions for interacting with system applet solutions
applet ResourceWrapper Functions for interacting with system applets
conceptRelationship ResourceWrapper Functions for interacting with concept relationships
Source:

Members

(static) this.act :ResourceWrapper

Represents the Act Resource

Type:
Source:

(static) this.actRelationship :ResourceWrapper

Represents the act relationship resource

Type:
Source:

(static) this.applicationEntity :ResourceWrapper

Represents the ApplicationEntity Resource

Type:
Source:

(static) this.bundle :ResourceWrapper

Represents a resource wrapper that persists bundles

Type:
Source:

(static) this.carePathwayDefinition :ResourceWrapper

Represents a resource wrapper that persists care pathway definitions

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.codedObservation :ResourceWrapper

Represents the CodedObservation Resource

Type:
Source:

(static) this.concept :ResourceWrapper

Represents the ManufacturedMaterial Resource

Type:
Source:

(static) this.conceptClass :ResourceWrapper

Represents the ConceptClass 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.identityDomain :ResourceWrapper

A resource wrapper for Assigning Authorities

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.patientEncounter :ResourceWrapper

Represents the PatientEncounter 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.procedure :ResourceWrapper

Represents the procedure Resource

Type:
Source:

(static) this.provider :ResourceWrapper

Represents the Provider Resource

Type:
Source:

(static) this.pubSubChannelDefinition :ResourceWrapper

Represents the PubSubChannel Resource

Type:
Source:

(static) this.pubSubSubscriptionDefinition :ResourceWrapper

Represents the PubSubSubscription Resource

Type:
Source:

(static) this.quantityObservation :ResourceWrapper

Represents the quantity observation 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.textObservation :ResourceWrapper

Represents the TextObservation Resource

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