fume-fhir-converter
Version:
FHIR-Utilized Mapping Engine - Community
15 lines • 905 B
TypeScript
/**
* © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
* Project name: FUME-COMMUNITY
*/
/**
* This functions looks for the current path in the current sd snapshot's elements.
* It implements several rules:
* 1 - Exact match: nodeName = nodeName
* 2 - A choice type element ([x]) that’s constrained to a single type: nodeName = nodeName[x] and count(type) = 1
* 3 - A chosen type from a choice element: nodeNameDataType = nodeName[x] and DataType in initCap(type.code), Filter result’s element.type array for: initCap(code) = DataType
* 4 - A specific type in a sliced choice element: nodeNameDataType = nodeName[x]:nodeNameDataType
* 5 - A slice entry: nodeName[sliceName] = nodeName:sliceName
**/
export declare const getCurrElement: (currTypeStructureDefinition: any, currPath: any, nodes: any, pathNodes: any, rootType: any) => any;
//# sourceMappingURL=getCurrElement.d.ts.map