HS.FHIRMeta.Load.Builder

class HS.FHIRMeta.Load.Builder extends %Library.RegisteredObject, HS.FHIRMeta.Load.JSONUtil

Property Inventory

Method Inventory

Properties

property loader as HS.FHIRMeta.Load.NpmLoader;
Property methods: loaderGet(), loaderGetSwizzled(), loaderIsValid(), loaderNewObject(), loaderSet()
property types [ MultiDimensional ];
types() = Type object types(, "field", n) = Field object types(, "field", n, "v", vn) = Field Object for variant
Property methods: typesDisplayToLogical(), typesGet(), typesIsValid(), typesLogicalToDisplay(), typesLogicalToOdbc(), typesNormalize(), typesSet()

Methods

method %OnNew(loader As HS.FHIRMeta.Load.NpmLoader) 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.

classmethod Build(loader As HS.FHIRMeta.Load.NpmLoader)
method GetExtensionField(parentType As %String, propName As %String, fieldIndex As %Integer) as %String
classmethod Keys(name)
method ResolvePath(path As %String, Output resolved)
Take a path that may contain a variant, and resolve it to the actual set of property paths
method addFieldObjects()
Go through each type
method addSynthesizedTypeObjects()
Go through each type
method buildTypeInfo()
method distributeExtensionTypes()
method distributeExtensions()
Go through all extension profiles and add them as child Field objects of the object they extend.
method dump(key="", options="pfsx")
method dumpOne(key As %String, options="pfsx")
method findField(typeName As %String, propName As %String) as Field
Return the field object for the specified typeName and Property name
method findFieldForPath(path As %String) as Field
Returns all Field objects that match the path. This may return multiple objects if an element of the path is a variant type.
method findFields(typeName As %String, propName As %String, Output fields)
method getPathKeys(path As %DynamicObject, Output type As %String, Output propName As %String) as %Boolean
Returns information the parent type and property name for a property path string
@Input path An extracted FHIR path (only property names or extension('url') as elements)
@Output type The key for the datatype containing the property
@Output propName The name of the property
@Output multiFlag True if any parent property in the path is an array.
method getTypeForSD(jsd As %DynamicObject) as Type
classmethod nextField(str As %String, ByRef index) as %String
classmethod pathToList(path As %String) as %List
Get the next piece of a '.' separated string, ignoring dots in single-quoted strings
method simplifyExtension(type As %String) as Type
method simplifyExtensions()
method typeIsA(typeName As %String, baseTypeName As %String) as %Boolean
method typeIsDomainResource(typeName As %String) as %Boolean
method typeIsResource(typeName As %String) as %Boolean

Inherited Members

Inherited Methods

Feedback