UNPKG
fume-fhir-converter
Version:
latest (3.1.1)
3.1.1
3.1.0
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.20.6
2.20.5
2.20.4
2.20.3
2.20.2
2.20.1
2.20.0
2.19.1
2.19.0
2.18.6
2.18.5
2.18.4
2.18.3
2.18.2
2.18.1
2.18.0
2.17.3
2.17.2
2.17.1
2.17.0
2.16.2
2.16.1
2.16.0
2.15.5
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.0
2.13.0
2.12.0
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
1.0.0
FHIR-Utilized Mapping Engine - Community
fume.health
Outburn-IL/fume-community
fume-fhir-converter
/
src
/
helpers
/
parser
/
returnPathWithoutX.ts
9 lines
(7 loc)
•
217 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
/** * © Copyright Outburn Ltd.
2022
-2024
All Rights Reserved * Project name: FUME-COMMUNITY */ export const returnPathWithoutX = (
path
:
string
) => {
return
path
.includes(
'[x]'
) ?
path
.slice(
0
,
-3
) :
path
; };