Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/healthcare-data-harmonization
/ functions
Functions
4,895 in github.com/GoogleCloudPlatform/healthcare-data-harmonization
⨍
Functions
4,895
◇
Types & classes
803
↳
Endpoints
17
↓ 1 callers
Method
Empty
()
wstl1/mapping_engine/types/types.go:41
↓ 1 callers
Method
Error
()
wstl1/mapping_engine/errors/errors.go:83
↓ 1 callers
Method
Error
()
wstl1/mapping_language/errors/transpilation.go:37
↓ 1 callers
Function
EvaluateFromDestination
EvaluateFromDestination returns the field from the output specified by the given path.
wstl1/mapping_engine/mapping/engine.go:590
↓ 1 callers
Function
EvaluateFromVar
EvaluateFromVar returns the context variable with the given name, or an error if it was not found.
wstl1/mapping_engine/mapping/engine.go:596
↓ 1 callers
Method
FhirValidate
Validate the FHIR sources with the FHIR version in ValidationRequest. The default version is STU3.
wstl1/tools/notebook/extensions/wstl/service/wstlserver/wstlserver.go:92
↓ 1 callers
Method
FhirValidate
(self, req)
wstl1/tools/notebook/extensions/wstl/magics/wstl_test.py:243
↓ 1 callers
Method
Field
(@Nonnull String field)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/path/Field.java:34
↓ 1 callers
Function
Flatten
Flatten turns a nested array of arrays (of any depth) into a single array. Item ordering is preserved, depth first.
wstl1/mapping_engine/builtins/builtins.go:221
↓ 1 callers
Function
FnLocationf
FnLocationf returns a string based implementation of an Error to use as a wrapper, similar to fmt.Sprintf.
wstl1/mapping_engine/errors/errors.go:72
↓ 1 callers
Function
FromJSONContainer
FromJSONContainer converts a JSONContainer to a HarmonizedCode.
wstl1/mapping_engine/harmonization/harmonizecode/harmonize_code.go:88
↓ 1 callers
Method
GetField
GetField gets the specified field value for the provided JSON object.
wstl1/mapping_engine/util/jsonutil/jsonutil.go:197
↓ 1 callers
Method
GetIncrementalTransform
GetIncrementalTransform returns an incremetal transformation within an existing session. All functions defined in the incremental transformation will
wstl1/tools/notebook/extensions/wstl/service/wstlserver/wstlserver.go:64
↓ 1 callers
Function
GetNodeFieldSegmented
GetNodeFieldSegmented returns the child given a path in parsed dot/bracket notation like ["foo", "bar", "[3]", "baz"]
wstl1/mapping_engine/util/jsonutil/jsonmetautil.go:296
↓ 1 callers
Method
GetOrCreateIncrementalSession
GetOrCreateIncrementalSession returns an incremental transformation session.
wstl1/tools/notebook/extensions/wstl/service/wstlserver/wstlserver.go:44
↓ 1 callers
Function
GetString
GetString gets the specified field value for the provided JSON object as a string. Nested fields can be accessed using the "." notation and repeated f
wstl1/mapping_engine/util/jsonutil/jsonutil.go:301
↓ 1 callers
Function
GetStringOrDefault
GetStringOrDefault gets the specified field value for the provided JSON object as a string. If no object is found at the specified path, the given def
wstl1/mapping_engine/util/jsonutil/jsonutil.go:319
↓ 1 callers
Function
Gt
Gt returns true iff the first argument is greater than the second.
wstl1/mapping_engine/builtins/builtins.go:709
↓ 1 callers
Function
GtEq
GtEq returns true iff the first argument is greater than or equal to the second.
wstl1/mapping_engine/builtins/builtins.go:714
↓ 1 callers
Method
HarmonizeWithTarget
HarmonizeWithTarget implements CodeHarmonizer's HarmonizeWithTarget function.
wstl1/mapping_engine/harmonization/harmonizecode/local_code_harmonizer.go:63
↓ 1 callers
Function
HasField
HasField determines if the specified field exists and is non-nil for the provided JSON object. Nested fields can be accessed using the "." notation an
wstl1/mapping_engine/util/jsonutil/jsonutil.go:339
↓ 1 callers
Method
HasPostProcessProjector
HasPostProcessProjector returns true iff a post process projector is set.
wstl1/mapping_engine/transform/transform.go:67
↓ 1 callers
Function
IntHash
IntHash converts the given item into a integer hash. Key order is not considered (array item order is). This is not cryptographically secure, and is n
wstl1/mapping_engine/builtins/builtins.go:588
↓ 1 callers
Function
IsZero
IsZero reports whether v is the zero value for its type. It panics if the argument is invalid. This is to backfill for the lack of this method in olde
wstl1/mapping_engine/projector/projector.go:217
↓ 1 callers
Function
JoinPath
JoinPath rejoins the given path segments into a JSON Path.
wstl1/mapping_engine/util/jsonutil/jsonutil.go:136
↓ 1 callers
Function
ListCat
ListCat concatenates all given arrays into one array.
wstl1/mapping_engine/builtins/builtins.go:243
↓ 1 callers
Function
ListOf
ListOf creates a list of the given tokens.
wstl1/mapping_engine/builtins/builtins.go:265
↓ 1 callers
Function
LoadLibraryProjectors
TODO(): Remove these when we have libraries built into the main code.
wstl1/mapping_engine/postprocess/postprocess_test.go:134
↓ 1 callers
Method
LoadMappingConfig
LoadMappingConfig loads the mapping config inline or from a GCS path.
wstl1/mapping_engine/transform/transform.go:265
↓ 1 callers
Function
LoadServerConfigs
LoadServerConfigs loads the server config
wstl1/mapping_engine/auth/auth.go:47
↓ 1 callers
Function
Locationf
Locationf returns a string based implementation of an Error to use as a wrapper, similar to fmt.Sprintf.
wstl1/mapping_engine/errors/errors.go:64
↓ 1 callers
Function
Lt
Lt returns true iff the first argument is less than the second.
wstl1/mapping_engine/builtins/builtins.go:719
↓ 1 callers
Function
LtEq
LtEq returns true iff the first argument is less than or equal to the second.
wstl1/mapping_engine/builtins/builtins.go:724
↓ 1 callers
Function
MatchesRegex
MatchesRegex returns true iff the string matches the regex pattern.
wstl1/mapping_engine/builtins/builtins.go:774
↓ 1 callers
Function
MergeJSON
MergeJSON merges the elements in the JSONArr into one JSON object by repeatedly calling the merge function. The merge function overwrites single field
wstl1/mapping_engine/builtins/builtins.go:625
↓ 1 callers
Method
Mock
@param mockRef {@link FunctionReference} to the mock function. @param selectorRef {@link FunctionReference} to the selector function.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/mocking/wrappers/Mock.java:45
↓ 1 callers
Function
Mod
Mod returns the remainder of dividing the first argument by the second.
wstl1/mapping_engine/builtins/builtins.go:165
↓ 1 callers
Function
Mul
Mul multiplies together all given arguments. Returns 0 if nothing given.
wstl1/mapping_engine/builtins/builtins.go:174
↓ 1 callers
Function
MultiFormatParseTime
MultiFormatParseTime converts the time in the specified formats to RFC3339 (https://www.ietf.org/rfc/rfc3339.txt) format. It tries the formats in orde
wstl1/mapping_engine/builtins/builtins.go:431
↓ 1 callers
Function
NewDefaultTransformer
NewDefaultTransformer creates and initializes a default transformer.
wstl1/mapping_engine/transform/transform.go:138
↓ 1 callers
Function
NewProtoLocation
NewProtoLocation generates a ProtoLocation based on a given message and its parent message. The parent message is used to derive a name for the proto
wstl1/mapping_engine/errors/proto.go:36
↓ 1 callers
Function
NewProtoLocationf
NewProtoLocationf generates a ProtoLocation based on a given message and a format string with format arguments. The format string is used as a name fo
wstl1/mapping_engine/errors/proto.go:87
↓ 1 callers
Function
NewWstlServiceServer
NewWstlServiceServer instantiates a new WstlServiceServer
wstl1/tools/notebook/extensions/wstl/service/wstlserver/wstlserver.go:29
↓ 1 callers
Function
Or
Or is a logical OR of all given arguments.
wstl1/mapping_engine/builtins/builtins.go:759
↓ 1 callers
Method
Parent
Parent returns this Meta's parent node, if this node was not computationally derived.
wstl1/mapping_engine/util/jsonutil/jsonmetautil.go:85
↓ 1 callers
Function
ParentInfoFromArgs
ParentInfoFromArgs finds the longest (prefix) subset of the given path segments that are present in the argument ancestors. Returns this ancestor and
wstl1/mapping_engine/mapping/engine.go:485
↓ 1 callers
Function
ParseFloat
ParseFloat parses a string into a float.
wstl1/mapping_engine/builtins/builtins.go:781
↓ 1 callers
Function
ParseInt
ParseInt parses a string into an int.
wstl1/mapping_engine/builtins/builtins.go:790
↓ 1 callers
Method
ParseJSON
ParseJSON parses the given JSON into a JSONToken.
wstl1/mapping_engine/transform/transform.go:337
↓ 1 callers
Function
ParseUnitConfigFiles
ParseUnitConfigFiles parses the unit config files.
wstl1/mapping_engine/harmonization/harmonizeunit/harmonize_unit.go:175
↓ 1 callers
Function
ParseUnixTime
ParseUnixTime parses a unit and a unix timestamp into the speficied format. The function accepts a go time format layout (https://golang.org/pkg/time/
wstl1/mapping_engine/builtins/builtins.go:504
↓ 1 callers
Method
Path
Path returns the full JSON path in dot/bracket notation to this Meta by following its parents.
wstl1/mapping_engine/util/jsonutil/jsonmetautil.go:103
↓ 1 callers
Method
Pop
()
wstl1/mapping_engine/types/types.go:37
↓ 1 callers
Function
Process
Process handles post processing logic for the mapping library.
wstl1/mapping_engine/postprocess/postprocess.go:36
↓ 1 callers
Method
ProcessMappings
(maps []*mappb.FieldMapping, projName string, args []jsonutil.JSONMetaNode, output *jsonutil.JSONToken, pctx *
wstl1/mapping_engine/mapping/engine.go:34
↓ 1 callers
Method
ProcessMappings
ProcessMappings evaluates mappings in a projector or root mappings.
wstl1/mapping_engine/mapping/mapping.go:39
↓ 1 callers
Method
Provenance
Provenance returns the provenance information of this node.
wstl1/mapping_engine/util/jsonutil/jsonmetautil.go:93
↓ 1 callers
Function
Range
Range generates an array of sequentially ordered number from start (inclusive) to end (exclusive) by a step of 1. Example: $Range(2, 5) returns: [2, 3
wstl1/mapping_engine/builtins/builtins.go:302
↓ 1 callers
Method
ReadBytes
(ctx context.Context, bucket string, filename string)
wstl1/mapping_engine/util/gcsutil/gcsutil.go:34
↓ 1 callers
Function
RegisterAll
RegisterAll registers all built-ins declared in the built-ins maps. This will wrap the functions into types.Projectors using projector.FromFunction.
wstl1/mapping_engine/types/register_all/register_all.go:28
↓ 1 callers
Method
RegisterProjector
RegisterProjector adds the given Projector to this transformer's registry.
wstl1/mapping_engine/transform/transform.go:351
↓ 1 callers
Method
SetField
SetField sets the specified field value for the provided JSON object.
wstl1/mapping_engine/util/jsonutil/jsonutil.go:366
↓ 1 callers
Function
SortAndTakeTop
SortAndTakeTop sorts the elements in the array by the key in the specified direction and returns the top element.
wstl1/mapping_engine/builtins/builtins.go:270
↓ 1 callers
Function
SplitTime
SplitTime splits a time string into components based on the Go (https://golang.org/pkg/time/#Time.Format) and Python time-format provided. An array wi
wstl1/mapping_engine/builtins/builtins.go:559
↓ 1 callers
Function
StrCat
StrCat joins the input strings with the separator.
wstl1/mapping_engine/builtins/builtins.go:814
↓ 1 callers
Function
StrFmt
StrFmt formats the given item using the given Go format specifier (https://golang.org/pkg/fmt/).
wstl1/mapping_engine/builtins/builtins.go:819
↓ 1 callers
Function
StrSplit
StrSplit splits a string by the separator and ignores empty entries.
wstl1/mapping_engine/builtins/builtins.go:844
↓ 1 callers
Method
String
()
wstl1/mapping_engine/errors/proto.go:95
↓ 1 callers
Function
Sub
Sub subtracts the second argument from the first.
wstl1/mapping_engine/builtins/builtins.go:187
↓ 1 callers
Function
SubEntityTooltip
(props: SubEntityProps)
wstl1/tools/notebook/data-model-browser/src/components/sub_entity_tool_tip.tsx:55
↓ 1 callers
Function
Sum
Sum adds up all given values.
wstl1/mapping_engine/builtins/builtins.go:192
↓ 1 callers
Function
ToLower
ToLower converts the given string with all unicode characters mapped to their lowercase.
wstl1/mapping_engine/builtins/builtins.go:858
↓ 1 callers
Function
ToUpper
ToUpper converts the given string with all unicode characters mapped to their uppercase.
wstl1/mapping_engine/builtins/builtins.go:863
↓ 1 callers
Function
TopEntityTooltip
(props: Props)
wstl1/tools/notebook/data-model-browser/src/components/top_entity_tool_tip.tsx:45
↓ 1 callers
Method
Transform
Transform converts the json tree using the specified config.
wstl1/mapping_engine/transform/transform.go:295
↓ 1 callers
Function
Transpile
Transpile converts the given Whistle into a Whistler mapping config.
wstl1/mapping_language/transpiler/transpiler.go:74
↓ 1 callers
Function
Trim
Trim strips the leading and trailing whitespace of the input string.
wstl1/mapping_engine/builtins/builtins.go:868
↓ 1 callers
Function
Type
Type returns the type of the given JSON Token as a string.
wstl1/mapping_engine/builtins/builtins.go:646
↓ 1 callers
Function
UnionBy
UnionBy unions the items in the given array by the given keys, such that each item in the resulting array has a unique combination of those keys. The
wstl1/mapping_engine/builtins/builtins.go:326
↓ 1 callers
Function
Unique
Unique returns the unique elements in the array by comparing their hashes.
wstl1/mapping_engine/builtins/builtins.go:201
↓ 1 callers
Function
UnmarshalRawMessages
UnmarshalRawMessages unmarshals an array of raw json messages into an array of JSON containers.
wstl1/mapping_engine/util/jsonutil/jsonutil.go:799
↓ 1 callers
Function
UnnestArrays
UnnestArrays takes a json object with nested arrays (e.g.: {"key1": [{}...], "key2": {}}) and returns an unnested array that contains the top level ke
wstl1/mapping_engine/builtins/builtins.go:376
↓ 1 callers
Function
UnorderedEqual
UnorderedEqual recursively compares two given tokens. Both of key order and array item order are not considered.
wstl1/mapping_engine/util/jsonutil/jsonutil.go:834
↓ 1 callers
Method
Value
()
wstl1/mapping_engine/util/jsonutil/jsonutil.go:567
↓ 1 callers
Function
Void
Void returns nil given any inputs. You non-nil into the Void, the Void nils back.
wstl1/mapping_engine/builtins/builtins.go:673
↓ 1 callers
Function
_get_files
Retrieves a list of files located at path_name. Supports glob wildcard expressions. Args: path_name: the file path, including glob patterns
wstl1/tools/notebook/extensions/wstl/magics/_parser.py:67
↓ 1 callers
Function
_get_incremental_transform
Invokes, throughs a gRPC request, an incremental Whistle transform. Args: stub: gRPC client stub library. shell: an instance of the iPython
wstl1/tools/notebook/extensions/wstl/magics/wstl.py:347
↓ 1 callers
Function
_get_message_from_hl7v2_store
Returns an authorized API client by discovering the Healthcare API and creating a service object using the service account credentials in the GOOGLE_A
wstl1/tools/notebook/extensions/wstl/magics/wstl.py:307
↓ 1 callers
Function
_get_or_create_session
Retrieves or creates the incremental transform session. Args: stub: gRPC client stub library. shell: an instance of the iPython shell that
wstl1/tools/notebook/extensions/wstl/magics/wstl.py:326
↓ 1 callers
Function
_get_validation
Validates the input JSON resource(s) against the FHIR version. Args: stub: gRPC client stub library. shell: an instance of the iPython shel
wstl1/tools/notebook/extensions/wstl/magics/wstl.py:441
↓ 1 callers
Function
_list_gcs_bucket_blobs
Lists all of the blobs located at the path within the bucket. Supports a limited set of leaf folder wildcard expressions using python's fnmatch.
wstl1/tools/notebook/extensions/wstl/magics/_parser.py:123
↓ 1 callers
Function
_response_to_json
Converts each element within a TransformResponse result into JSON. Args: response: the TransformResponse from a GetIncrementalTransform request
wstl1/tools/notebook/extensions/wstl/magics/wstl.py:426
↓ 1 callers
Function
_serialize_to_json
Serializes the python variable into a JSON string. Args: shell_var: ipython shell python object. Returns: A JSON string. Raises:
wstl1/tools/notebook/extensions/wstl/magics/_parser.py:25
↓ 1 callers
Function
_serialize_to_list_of_json
Serializes the python list variable into a list of JSON strings. Args: shell_var: ipython shell python list. Returns: A list of JSON str
wstl1/tools/notebook/extensions/wstl/magics/_parser.py:46
↓ 1 callers
Method
absPath
Joins the given path segments, then returns the normalized absolute path as a {@code Primitive} {@code string}. Normalization removes relative path se
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/builtins/FileFns.java:82
↓ 1 callers
Method
accept
(String text, String target)
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/registry/util/LevenshteinDistance.java:52
↓ 1 callers
Method
addAllBooleans
Uses the {@link DataTypeImplementation} to add each element of a Boolean Iterable, each converted to {@link Primitive} elements.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:163
↓ 1 callers
Method
addAllNumbers
Uses the {@link DataTypeImplementation} to add each element of a Double Iterable, each converted to {@link Primitive} elements.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:183
↓ 1 callers
Method
addAllStrings
Uses the {@link DataTypeImplementation} to add each element of a String Iterable, each converted to {@link Primitive} elements.
runtime/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/data/ArrayBuilder.java:143
↓ 1 callers
Method
addAnnotation
(RuntimeContext ctx, String functionName, Data data)
plugins/reconciliation/reconcommon/src/main/java/com/google/cloud/verticals/foundations/dataharmonization/plugins/reconciliation/merge/MergeResultAnnotator.java:56
← previous
next →
1,201–1,300 of 4,895, ranked by callers