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.1.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdde946205d5e75b97bb7d4657d9feee0a579665014a090b02a7432ba7fcf21c |
|
MD5 | 07d6ca551a650c95b512020d3ba8bead |
|
BLAKE2b-256 | adafc346e28910422ec26eadfd5e025546dfcecbe0d379cc3150cae0646eafbf |
Close
Hashes for sparkautomapper.fhir-0.1.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3cc235c3357f9d972f77b30d2778c23a9bc10b016c2994eaa5060567b649f00 |
|
MD5 | 1584c0b80a7e8ed4ae10d50be436603f |
|
BLAKE2b-256 | b0ad4f16b199ecde95edf920f3e73407e32092d7f0db6aec67c1bccfcc2d3c87 |