HS.FHIRServer.Storage.Json.Resource
abstract persistent class HS.FHIRServer.Storage.Json.Resource extends %Library.Persistent
SQL Table Name: HS_FHIRServer_Storage_Json.Resource
Property Inventory
- Compartments
 - Deleted
 - Format
 - Key
 - LastModified
 - ResourceId
 - ResourceObject
 - ResourceStream
 - ResourceString
 - ResourceType
 - ServiceId
 - Verb
 - VersionId
 
Method Inventory
Parameters
parameter COLLATION = 7;
Collation type to use
Corresponds to arguments to $system.Util.Collation()
7 is SQLUPPER
Corresponds to arguments to $system.Util.Collation()
7 is SQLUPPER
Properties
property Compartments as list of %String);
Property methods: CompartmentsBuildValueArray(), CompartmentsCollectionToDisplay(), CompartmentsCollectionToOdbc(), CompartmentsDisplayToCollection(), CompartmentsDisplayToLogical(), CompartmentsGet(), CompartmentsGetObject(), CompartmentsGetObjectId(), CompartmentsGetSwizzled(), CompartmentsIsValid(), CompartmentsLogicalToDisplay(), CompartmentsLogicalToOdbc(), CompartmentsNormalize(), CompartmentsOdbcToCollection(), CompartmentsSet(), CompartmentsSetObject(), CompartmentsSetObjectId()
property Deleted as %Integer [ InitialExpression = 0 ];
Set to 1 if this resource is deleted. The value 1 will only appear on the
current version if it was deleted. Set to an integer greater than 1 to
temporarily indicate the Bundle transaction id that created the resource.
Property methods: DeletedDisplayToLogical(), DeletedGet(), DeletedIsValid(), DeletedLogicalToDisplay(), DeletedNormalize(), DeletedSet()
property Format as %String (VALUELIST = ",XML,JSON");
Property methods: FormatDisplayToLogical(), FormatGet(), FormatIsValid(), FormatLogicalToDisplay(), FormatLogicalToOdbc(), FormatNormalize(), FormatSet()
property Key as %String (COLLATION = "EXACT", MAXLEN = 100) [ Required ];
Property methods: KeyDisplayToLogical(), KeyGet(), KeyIsValid(), KeyLogicalToDisplay(), KeyLogicalToOdbc(), KeyNormalize(), KeySet()
property LastModified as %String;
The time that this version of the resource was saved, in UTC.
ie, YYYY-MM-DDThh:mm:ssZ. This gets set in SaveStreamlet().
No other code should set it.
Property methods: LastModifiedDisplayToLogical(), LastModifiedGet(), LastModifiedIsValid(), LastModifiedLogicalToDisplay(), LastModifiedLogicalToOdbc(), LastModifiedNormalize(), LastModifiedSet()
property ResourceId as %String (MAXLEN = 64) [ Required ];
Property methods: ResourceIdDisplayToLogical(), ResourceIdGet(), ResourceIdIsValid(), ResourceIdLogicalToDisplay(), ResourceIdLogicalToOdbc(), ResourceIdNormalize(), ResourceIdSet()
property ResourceObject as %DynamicObject [ Calculated , Transient ];
property ResourceStream as %Stream.GlobalCharacter;
Property methods: ResourceStreamDelete(), ResourceStreamGet(), ResourceStreamGetObject(), ResourceStreamGetObjectId(), ResourceStreamGetSwizzled(), ResourceStreamIsValid(), ResourceStreamNewObject(), ResourceStreamOid(), ResourceStreamOpen(), ResourceStreamSet(), ResourceStreamSetObject(), ResourceStreamSetObjectId(), ResourceStreamUnSwizzle()
property ResourceString as %String);
Property methods: ResourceStringDisplayToLogical(), ResourceStringGet(), ResourceStringIsValid(), ResourceStringLogicalToDisplay(), ResourceStringLogicalToOdbc(), ResourceStringNormalize(), ResourceStringSet()
property ResourceType as %String (COLLATION = "EXACT") [ Required ];
Property methods: ResourceTypeDisplayToLogical(), ResourceTypeGet(), ResourceTypeIsValid(), ResourceTypeLogicalToDisplay(), ResourceTypeLogicalToOdbc(), ResourceTypeNormalize(), ResourceTypeSet()
property ServiceId as %String;
The Id of the ServiceInstance that inserted this record.
Property methods: ServiceIdDisplayToLogical(), ServiceIdGet(), ServiceIdIsValid(), ServiceIdLogicalToDisplay(), ServiceIdLogicalToOdbc(), ServiceIdNormalize(), ServiceIdSet()
property Verb as %String (VALUELIST = ",POST,PUT,DELETE");
The HTTP verb used in the interaction that created this version of this resource.
Needed because the history interaction requires this to be known, and because the
first version of a resource can be created with either a POST/create or PUT/update,
with no other indication which verb was used.
Property methods: VerbDisplayToLogical(), VerbGet(), VerbIsValid(), VerbLogicalToDisplay(), VerbLogicalToOdbc(), VerbNormalize(), VerbSet()
property VersionId as %String [ Required ];
Property methods: VersionIdDisplayToLogical(), VersionIdGet(), VersionIdIsValid(), VersionIdLogicalToDisplay(), VersionIdLogicalToOdbc(), VersionIdNormalize(), VersionIdSet()
Methods
method ResourceObjectGet() as %DynamicObject
Indexes
index (DeletedIdx on Deleted) [Type = bitmap];
Inherited Members
Inherited Methods
- %AddToSaveSet()
 - %AddToSyncSet()
 - %BuildDeferredIndices()
 - %BuildIndices()
 - %BuildIndicesAsync()
 - %BuildIndicesAsyncResponse()
 - %CheckConstraints()
 - %CheckConstraintsForExtent()
 - %ClassIsLatestVersion()
 - %ClassName()
 - %ComposeOid()
 - %ConstructClone()
 - %Delete()
 - %DeleteExtent()
 - %DeleteId()
 - %DispatchClassMethod()
 - %DispatchGetModified()
 - %DispatchGetProperty()
 - %DispatchMethod()
 - %DispatchSetModified()
 - %DispatchSetMultidimProperty()
 - %DispatchSetProperty()
 - %Exists()
 - %ExistsId()
 - %Extends()
 - %GUID()
 - %GUIDSet()
 - %GetLock()
 - %GetParameter()
 - %GetSwizzleObject()
 - %Id()
 - %IsA()
 - %IsModified()
 - %IsNull()
 - %KillExtent()
 - %LockExtent()
 - %LockId()
 - %New()
 - %NormalizeObject()
 - %ObjectIsNull()
 - %ObjectModified()
 - %Oid()
 - %OnBeforeAddToSync()
 - %OnDeleteFinally()
 - %OnDetermineClass()
 - %OnOpenFinally()
 - %OnSaveFinally()
 - %Open()
 - %OpenId()
 - %OriginalNamespace()
 - %PackageName()
 - %PurgeIndices()
 - %Reload()
 - %RemoveFromSaveSet()
 - %ResolveConcurrencyConflict()
 - %RollBack()
 - %Save()
 - %SaveDirect()
 - %SerializeObject()
 - %SetModified()
 - %SortBegin()
 - %SortEnd()
 - %SyncObjectIn()
 - %SyncTransport()
 - %UnlockExtent()
 - %UnlockId()
 - %ValidateObject()