Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

HS.FHIRMeta.Impl.TypeInfo

class HS.FHIRMeta.Impl.TypeInfo extends HS.FHIRMeta.Impl.Base

Method Inventory

Methods

method GetCompartmentParamsForType(pResourceType As %String, Output pCompartmentParams)
@API Returns a multidimensional of compartment search parameter names for the specified resource type.
Output array structure: pCompartmentParams(compartmentName, paramName) = ""
method GetCompartmentsForResource(pResourceObj As %DynamicObject) as %List
@API Returns a $List of compartments containing the specified resource
method IsA(pTypeName As %String, pAncestorName As %String)
Inherited description: API IsA Indicates whether a specified type is an instance of an ancestor class
Input:
  • pTypeName : (required) FHIR type.
  • pAncestorName : (required) FHIR type.

    Return: a %Boolean - 1 pTypeName is identical to or a subclass of pAncestorName
  • method IsSharedResourceType(pResourceType As %String)
    API IsSharedResourceType Indicates whether a resourceType is or can reference a Patient
    Input:
  • pResourceType : (required) FHIR resource type.

    Return: a %Boolean - 1 if shared (no patient references), 0 if unshared
  • method IsValidResourceType(pResourceType As %String) as %Boolean
    API IsValidResourceType validates the specified resource type against this Schema, returning a %Boolean
    Input:
  • pResourceType : (required) FHIR resource type.

    Output:
    Return: a %Boolean - 0 = Is not a valid resource type as per the specified schema, 1 = Is valid.
  • Inherited Members

    Inherited Properties

    Inherited Methods

    Subclasses

    FeedbackOpens in a new tab