FHIR extensions for SparkAutoMapper
Project description
SparkAutoMapper.FHIR
Add custom FHIR data types to SparkAutoMapper.
Usage
pip install sparkautomapper.fhir
Example
from spark_auto_mapper.automappers.automapper import AutoMapper
from spark_auto_mapper.helpers.automapper_helpers import AutoMapperHelpers as A
mapper = AutoMapperFhir(
view="members",
source_view="patients",
keys=["member_id"]
).withResource(
resource=F.patient(
id_=A.column("a.member_id"),
birthDate=A.date(
A.column("date_of_birth")
),
name=A.list(
F.human_name(
use="usual",
family=A.column("last_name")
)
),
gender="female"
)
)
Publishing a new package
- Create a new release
- The GitHub Action should automatically kick in and publish the package
- You can see the status in the Actions tab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc63d3caade33e6bf6fc055c65e122cc7267ed4c95ed342f961b8a67f314bae |
|
MD5 | 227ea4ca940aa5abef023581d7bcc253 |
|
BLAKE2b-256 | 5f118b03e31a309a3146b875fa6ab6bf4ac9ba74a7e55a60aa5f384c4a3d2c64 |
Close
Hashes for sparkautomapper.fhir-0.2.21b19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f0e4b90fdc6da8b22ae6e76dde2034f89d5a4147d10639a31557466e9e9651 |
|
MD5 | 7846b038fdc88e608f1bef75631d4bab |
|
BLAKE2b-256 | 4d5b33af5183b2e55647a2674401a4d2a32ecdb79e661c0c275182409784663c |