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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3286ee3fbb2c9e38f730ecde79d8efe60cb19ac40d08c0644ec66ab644ee7000 |
|
MD5 | f202569e87b6b81155122e13866106cb |
|
BLAKE2b-256 | b65a43f4aa1cca036e096ba9e02ea6edbc037f85ffedde580c16862a947298fb |
Close
Hashes for sparkautomapper.fhir-0.1.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 393fc880226c534bec54ff13778330c75a8ee2663563051e22e857cfdaea02ec |
|
MD5 | d8882af3d701e80e8fdd1ec681cc6752 |
|
BLAKE2b-256 | cf7fbb1318a789894ce5da3a3c4fc613f1f4a2e44532c67a1ed18cc7be49c3d2 |