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 = AutoMapper(
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-1.0.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3afe57b1b1373e792b39d0a5a7d707061156b0b67746870c3582b4df78281dc9 |
|
MD5 | 8908d3448bf686067da3b09b00138da6 |
|
BLAKE2b-256 | 085b4e360609f79ad99bc1086fd16d8265d0b891e2762af3f673ae6cd3d84866 |
Close
Hashes for sparkautomapper.fhir-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db008e06f1e5617c8b55a4468ef9d94d090068681beb3dcb1ada9bb9747c39e0 |
|
MD5 | c2db50a8a3951018884a4ed24a1b3c21 |
|
BLAKE2b-256 | 1cfc51da63529990fe4f0f3f70fc92a3cab045c1ea973038693e8e0873985472 |