Skip to main content

HS.FHIRMeta.Load.Type

class HS.FHIRMeta.Load.Type extends %Library.RegisteredObject

Property Inventory

Method Inventory

Properties

property baseType as %String;
Superclass of this type
Property methods: baseTypeDisplayToLogical(), baseTypeGet(), baseTypeIsValid(), baseTypeLogicalToDisplay(), baseTypeLogicalToOdbc(), baseTypeNormalize(), baseTypeSet()
property id as %String;
Property methods: idDisplayToLogical(), idGet(), idIsValid(), idLogicalToDisplay(), idLogicalToOdbc(), idNormalize(), idSet()
property isAbstract as %Boolean;
True if type is abstract
Property methods: isAbstractDisplayToLogical(), isAbstractGet(), isAbstractIsValid(), isAbstractLogicalToDisplay(), isAbstractNormalize(), isAbstractSet()
property jsonType as %String;
JSON type (for primitives)
Property methods: jsonTypeDisplayToLogical(), jsonTypeGet(), jsonTypeIsValid(), jsonTypeLogicalToDisplay(), jsonTypeLogicalToOdbc(), jsonTypeNormalize(), jsonTypeSet()
property kind as %String;
"complex-type", "primitive-type", "resource"
Property methods: kindDisplayToLogical(), kindGet(), kindIsValid(), kindLogicalToDisplay(), kindLogicalToOdbc(), kindNormalize(), kindSet()
property regex as %String;
Validation Regex (for primitives)
Property methods: regexDisplayToLogical(), regexGet(), regexIsValid(), regexLogicalToDisplay(), regexLogicalToOdbc(), regexNormalize(), regexSet()
property url as %String;
Unique StructureDefinition Identifier
Property methods: urlDisplayToLogical(), urlGet(), urlIsValid(), urlLogicalToDisplay(), urlLogicalToOdbc(), urlNormalize(), urlSet()

Methods

method %OnNew(id As %String, url As %String, kind As %String = "") as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method asString() as %String
method isComplex() as %Boolean
method isExtension() as %Boolean
method isPrimitive() as %Boolean
method isResource() as %Boolean

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new tab