HS.FHIRMeta.Load.Builder
class HS.FHIRMeta.Load.Builder extends %Library.RegisteredObject, HS.FHIRMeta.Load.JSONUtil
Property Inventory
Method Inventory
- %OnNew()
- Build()
- GetExtensionField()
- Keys()
- ResolvePath()
- addFieldObjects()
- addSynthesizedTypeObjects()
- buildTypeInfo()
- distributeExtensionTypes()
- distributeExtensions()
- dump()
- dumpOne()
- findField()
- findFieldForPath()
- findFields()
- getPathKeys()
- getTypeForSD()
- nextField()
- pathToList()
- simplifyExtension()
- simplifyExtensions()
- typeIsA()
- typeIsDomainResource()
- typeIsResource()
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")
Return the field object for the specified typeName and Property name
Returns all Field objects that match the path. This may
return multiple objects if an element of the path is a variant type.
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.
@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
Get the next piece of a '.' separated string, ignoring dots in single-quoted
strings
method simplifyExtensions()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- ArrayToList()
- JFind()
- JFindExtensions()
- JFindMulti()
- JGetValues()
- JGetValuesWhere()
- JIndex()
- JsonArrayToArray()