Skip to main content

HS.FHIRMeta.Impl.MetaRsrcInfo

class HS.FHIRMeta.Impl.MetaRsrcInfo extends HS.FHIRMeta.Impl.Base

Method Inventory

Methods

method ExpandValueSet(pUrlOrValueSet, Output pCodes, Output pExpandStatus As %Status)
@API
This method supports the logic specified by HL7 FHIR Value Set Expansion (https://hl7.org/fhir/valueset.html#expansion). The method returns a multi-dimensional array that contains the code and associated display text for each code in the specified ValueSet.
@Input pUrlOrValueSet This may be the URL for a ValueSet resource, or a ValueSet resource as a %DynamicObject.
@Output pCodes A multidimensional array in the form:
codes(CodeSystemUriWithoutVersion, code) = display-text
codes(CodeSystemUriWithoutVersion, code, "ord") = integer
@Output pExpandStatus %Status error collection for gaps in expansion components.
method ExpandValueSetAsList(pUrlOrValueSet, Output pExpandStatus As %Status) as %List
@API
This method supports the logic specified by HL7 FHIR Value Set Expansion (https://hl7.org/fhir/valueset.html#expansion). The method returns a %List that contains the code and associated display text for each code in the ValueSet expansion. The list is ordered in the sequence that the codes are defined in the ValueSet (which FHIR specifies may be meaningful).
@Input pUrlOrValueSet This may be the URL for a ValueSet resource, or a ValueSet resource as a %DynamicObject.
@Output pExpandStatus %Status error collection for gaps in expansion components.
@Return $List containing a $List for each CodeSystem containing a $List for each code. The result is in the form: $LB(CodeSystemUriAndVersion, $LB(code, display), $LB(code, display), ...)
method GetMetadataResource(pUrl As %String) as %DynamicObject
@API
This method retrieves a specific FHIR Metadata resource based on its URL. If the URL includes a version specifier (ends with "|" followed by the version string), then the specific resource version will be returned. Otherwise, the version associated with this object's package list will be returned.
@Input pUrl Metadata resource url, with or without version.
@Return Metadata resource (e.g., StructureDefinition, ValueSet, etc.) as %DynamicObject.
classmethod GetMetadataResourceImpl(pUrl As %String, pPackageList As %List) as %DynamicObject
@API
Implementation-specific logic for retrieving a specified metadata resource. This class method takes package list as an input, enabling it to be called without instantiating a FHIRMeta API instance.
@Input pUrl Metadata resource url, with or without version.
@Input pPackageList $List of package Ids in which to search for the resource.
@Return Metadata resource (e.g., StructureDefinition, ValueSet, etc.) as %DynamicObject.
method GetRsrcIterator(pResourceType As %String) as HS.FHIRMeta.RsrcIterator
@API
Returns a RsrcIterator object that will iterate through all resources of the specified FHIR metadata resource type.
@Input pResourceType One of metadata resource types StructureDefinition, CompartmentDefinition, SearchParameter, CodeSystem, or ValueSet.
@Return HS.FHIRMeta.RsrcIterator object.

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab