You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-5Lines changed: 49 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -547,16 +547,18 @@ that will be transformed into:
547
547
548
548
## Examples
549
549
550
-
See real-life examples of mappers for [FHIR](https://github.com/beda-software/FHIRPathMappingLanguage/blob/main/ts/server/src/utils/__data__/complex-example.fhir.yaml) and [Aidbox](https://github.com/beda-software/FHIRPathMappingLanguage/blob/main/ts/server/src/utils/__data__/complex-example.aidbox.yaml)
550
+
See real-life examples of mappers for [FHIR](https://github.com/beda-software/FHIRPathMappingLanguage/blob/main/tests/__data__/complex-example.fhir.yaml) and [Aidbox](https://github.com/beda-software/FHIRPathMappingLanguage/blob/main/tests/__data__/complex-example.aidbox.yaml)
551
551
552
552
and other usage in [unit tests](https://github.com/beda-software/FHIRPathMappingLanguage/tree/main/ts/server/src/utils).
553
553
554
554
## Reference implementation
555
555
556
-
TypeScript implementation that supports all the specification is already available [in this repository](https://github.com/beda-software/FHIRPathMappingLanguage/tree/main/server).
556
+
### TypeScript
557
+
558
+
TypeScript implementation that supports all the specification is already available [in this repository](https://github.com/beda-software/FHIRPathMappingLanguage/tree/main/ts/server).
557
559
Also, it is packed into a [docker image](https://hub.docker.com/r/bedasoftware/fhirpath-extract) to use as a microservice.
558
560
559
-
### Usage
561
+
####Usage
560
562
561
563
POST /r4/parse-template
562
564
@@ -577,7 +579,7 @@ POST /r4/parse-template
577
579
}
578
580
```
579
581
580
-
### Strict mode
582
+
####Strict mode
581
583
582
584
FHIRPath provides a way of accessing the `resource` variables without the percent sign. It potentially leads to the issues made by typos in the variable names.
583
585
@@ -603,4 +605,46 @@ POST /r4/parse-template?strict=true
603
605
"status": "completed"
604
606
}
605
607
}
606
-
```
608
+
```
609
+
610
+
### Python
611
+
612
+
Python implementation that supports all the specification is already available [in this repository](https://github.com/beda-software/FHIRPathMappingLanguage/tree/main/python).
613
+
Also, it's available as a PyPI package under the name `fpml` and can be installed using
0 commit comments