Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ballerina-platform/fhir-tools
/ functions
Functions
913 in github.com/ballerina-platform/fhir-tools
⨍
Functions
913
◇
Types & classes
133
↳
Endpoints
3
↓ 122 callers
Method
equals
(Object o)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ExtendedElement.java:86
↓ 86 callers
Method
getValue
()
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/model/HookType.java:37
↓ 71 callers
Method
getDefinition
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/Operation.java:40
↓ 70 callers
Method
getInstance
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:162
↓ 65 callers
Method
getName
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:79
↓ 65 callers
Method
toString
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/Parameter.java:47
↓ 52 callers
Method
getPath
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:103
↓ 44 callers
Function
_log_output_and_return
( *, tool_name: str, request_id: str, caller: str, response_str: str, start_time
mcp/health-tool-mcp/server.py:139
↓ 44 callers
Method
getBallerinaProjectToolConfig
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/AbstractBallerinaProjectTool.java:58
↓ 42 callers
Method
getType
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/SearchParameter.java:44
↓ 41 callers
Function
format_error_output
Format consistent JSON error output for all generation tools.
mcp/health-tool-mcp/server.py:360
↓ 40 callers
Method
getPackageConfig
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/config/BallerinaPackageGenToolConfig.java:147
↓ 34 callers
Method
getMax
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:167
↓ 33 callers
Method
setDataType
(String dataType)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:55
↓ 26 callers
Method
toCamelCase
Transform string to camelcase. @param str string @return camelCased string
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/CommonUtil.java:120
↓ 25 callers
Method
getBase
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/SearchParameter.java:52
↓ 23 callers
Method
exitError
Exit with error code 1. @param exit Whether to exit or not.
native/health-cli/src/main/java/io/ballerina/health/cmd/core/utils/HealthCmdUtils.java:35
↓ 23 callers
Method
throwLauncherException
(Throwable error)
native/health-cli/src/main/java/io/ballerina/health/cmd/core/utils/HealthCmdUtils.java:68
↓ 22 callers
Method
getPackageContext
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractPackageContextGenerator.java:88
↓ 21 callers
Method
getDataType
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:51
↓ 21 callers
Method
overrideConfig
(String jsonPath, JsonElement value)
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/config/BallerinaCDSProjectToolConfig.java:96
↓ 20 callers
Method
getChildElements
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:143
↓ 20 callers
Method
getServiceMap
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/AbstractBallerinaProjectTool.java:70
↓ 20 callers
Method
getUrl
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/FHIRProfile.java:86
↓ 20 callers
Method
setName
(String name)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:83
↓ 18 callers
Method
getCode
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/Interaction.java:30
↓ 15 callers
Method
getContentReference
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:211
↓ 15 callers
Method
getId
()
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/model/CdsHook.java:82
↓ 15 callers
Method
getInstance
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/DataTypesRegistry.java:35
↓ 14 callers
Method
getToolConfig
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractPackageContextGenerator.java:92
↓ 14 callers
Method
getVersionConfig
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/config/BallerinaProjectToolConfig.java:224
↓ 14 callers
Method
hasChildElements
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:139
↓ 14 callers
Method
parseMultilineString
Parse multiline strings in to oneliner. @param str multiline strings @return string oneliner
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/CommonUtil.java:104
↓ 13 callers
Method
getIgTemplateContext
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/PackageTemplateContext.java:39
↓ 13 callers
Method
getIncludedIGConfigs
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/config/BallerinaProjectToolConfig.java:208
↓ 13 callers
Method
getMin
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:159
↓ 13 callers
Method
resolveDataType
Resolve for specific data types with preferred type from config. @param fhirDataType data type identifier from FHIR structure definition @return pref
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:199
↓ 12 callers
Method
execute
(String specificationPath, String targetOutputPath)
native/health-cli/src/main/java/io/ballerina/health/cmd/handler/Handler.java:98
↓ 12 callers
Method
getDependentIgs
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractResourceContextGenerator.java:247
↓ 12 callers
Method
getFhirVersion
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/FHIRProfile.java:78
↓ 12 callers
Method
getSplitTokenAt
Returns the preferred token after string split. @param string string to be split @param delimiter delimiter for split @param tokenPosition
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/CommonUtil.java:77
↓ 12 callers
Method
setArray
(boolean array)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:119
↓ 12 callers
Method
setBaseDataType
(String baseDataType)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/DatatypeTemplateContext.java:54
↓ 12 callers
Method
setMin
(int min)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:163
↓ 11 callers
Method
getExpression
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/SearchParameter.java:60
↓ 11 callers
Method
getSliceElements
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ResourceTemplateContext.java:130
↓ 11 callers
Method
isSlice
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:123
↓ 11 callers
Method
resolveSpecialCharacters
Resolve for special character @param specialChar special character @return preferred string replacement
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:441
↓ 10 callers
Method
addDataType
(String dataType)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/DataTypesRegistry.java:39
↓ 10 callers
Method
getMaxCardinality
(String maxCardinality)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:287
↓ 10 callers
Method
getName
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/SearchParam.java:39
↓ 10 callers
Method
getUniqueIdentifierFromId
(String id)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:402
↓ 10 callers
Method
setDescription
(String description)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:187
↓ 10 callers
Method
setMax
(int max)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:171
↓ 10 callers
Method
setPath
(String path)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:107
↓ 10 callers
Method
shouldReplacedByBalType
Check whether the data type should be replaced by a ballerina type. @param dataType data type identifier from FHIR structure definition @return true
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:176
↓ 9 callers
Method
getName
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/Operation.java:32
↓ 9 callers
Function
log_event
Write a single JSON line entry with all relevant details.
mcp/health-tool-mcp/server.py:106
↓ 8 callers
Method
getDatatypeTemplateContextMap
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractResourceContextGenerator.java:255
↓ 8 callers
Method
getExtendedDatatypes
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ExtensionTemplateContext.java:37
↓ 8 callers
Method
getExtensionTemplateContext
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractExtensionContextGenerator.java:60
↓ 8 callers
Method
getFhirVersion
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/config/PackageConfig.java:138
↓ 8 callers
Method
getProfiles
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:59
↓ 8 callers
Method
getResource
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/Rest.java:31
↓ 8 callers
Method
getType
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/Resource.java:38
↓ 8 callers
Method
getTypeName
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ExtendedElement.java:38
↓ 8 callers
Method
populateAnnotationElement
Create annotation element object @param element resource/datatype element @return annotation element object
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:301
↓ 8 callers
Method
setFixedValue
(List<String> fixedValue)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:95
↓ 8 callers
Method
toString
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/model/FHIRResource.java:76
↓ 7 callers
Method
generateFilePath
Concat path segments with separator. @param rootPath root path @param project project name @param fileName file name @return generated file path
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/CommonUtil.java:44
↓ 7 callers
Method
getProfile
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/DatatypeTemplateContext.java:58
↓ 7 callers
Method
getResourceDependencies
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ResourceTemplateContext.java:146
↓ 7 callers
Method
getSearchParameters
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/IGTemplateContext.java:65
↓ 7 callers
Method
getType
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/Parameter.java:43
↓ 7 callers
Method
setChildElements
(HashMap<String, Element> childElements)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:147
↓ 6 callers
Function
_validate_within_workspace
If a workspace is configured (MCP_WORKSPACE/WORKSPACE/PROJECT_ROOT), return an error when the resolved path is outside it; otherwise None.
mcp/health-tool-mcp/server.py:380
↓ 6 callers
Method
addElement
(Element element)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/DatatypeTemplateContext.java:42
↓ 6 callers
Method
addElement
(AnnotationElement element)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/AbstractAnnotation.java:56
↓ 6 callers
Method
addFhirProfile
(FHIRProfile profile)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/BallerinaService.java:126
↓ 6 callers
Method
addImport
(String importItem)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/FHIRProfile.java:98
↓ 6 callers
Method
addProfile
(String profile)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/BallerinaService.java:71
↓ 6 callers
Method
addProfile
(String profile, String dataType)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/Element.java:67
↓ 6 callers
Method
generate
(ToolContext toolContext, Map<String, Object> generatorProperties)
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/generator/MetaGenerator.java:44
↓ 6 callers
Method
getBasePackageName
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/PackageTemplateContext.java:47
↓ 6 callers
Method
getCentralConfig
()
native/fhir-to-bal-connector/src/main/java/org/wso2/healthcare/fhir/ballerina/connectorgen/tool/config/BallerinaConnectorGenToolConfig.java:49
↓ 6 callers
Method
getCode
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/SearchParam.java:93
↓ 6 callers
Method
getElements
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/ExtendedElement.java:78
↓ 6 callers
Method
getImportStatement
()
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/config/DependencyConfig.java:54
↓ 6 callers
Method
getMetadataConfig
()
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/config/BallerinaCDSProjectToolConfig.java:132
↓ 6 callers
Method
getResourceNameTypeMap
()
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/modelgen/AbstractResourceContextGenerator.java:239
↓ 6 callers
Method
getToolContext
()
native/cds-bal-template/src/main/java/org/wso2/healthcare/cds/codegen/ballerina/tool/BallerinaCDSProjectTool.java:43
↓ 6 callers
Function
normalize_path
Convert relative paths to absolute paths. Args: path: The path to normalize base_dir: Base directory for relative paths.
mcp/health-tool-mcp/server.py:211
↓ 6 callers
Method
resolveMultiDataTypeFieldNames
(String fieldName, String typeName)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/utils/GeneratorUtils.java:427
↓ 6 callers
Method
setAnnotation
(DataTypeDefinitionAnnotation annotation)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/DatatypeTemplateContext.java:70
↓ 6 callers
Method
setFhirVersion
(String fhirVersion)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/FHIRProfile.java:82
↓ 6 callers
Method
setName
(String name)
native/fhir-to-bal-lib/src/main/java/org/wso2/healthcare/fhir/ballerina/packagegen/tool/model/DatatypeTemplateContext.java:38
↓ 6 callers
Method
setPackagePrefix
(BallerinaProjectToolConfig config)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/model/FHIRProfile.java:122
↓ 5 callers
Function
_validate_bal_name
Return an error message if value is not a valid Ballerina identifier, else None.
mcp/health-tool-mcp/server.py:374
↓ 5 callers
Method
createHandler
(String subCommand, String mode, PrintStream printStream, String specificationPath)
native/health-cli/src/main/java/io/ballerina/health/cmd/handler/HandlerFactory.java:33
↓ 5 callers
Method
createTemplateContextForMeta
(Map<String, Object> generatorProperties)
native/fhir-to-bal-template/src/main/java/org/wso2/healthcare/fhir/codegen/ballerina/project/tool/generator/MetaGenerator.java:86
next →
1–100 of 913, ranked by callers