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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abd73f1b83edd83621639f5034d674aa70a50a177eabc9b8db5cd2804d487dc9 |
|
MD5 | a2ff13ae74d5bc0f03bb311255ae4960 |
|
BLAKE2b-256 | eaf75a6a6fb86268c1382ece6fe33ddfb63781fb05ab6ae6f826fd2e6a19ce5f |
Close
Hashes for sparkautomapper.fhir-0.1.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2242de4a7a966f94afe0d1e8e66f7491b108b7553a9b420333c24da6426045 |
|
MD5 | d853e4b2f73632f65483fed319f596f3 |
|
BLAKE2b-256 | fccccd885cb8f55a278fb7d8567ebf9cfcd9d13b7e5ba53a10cf9f869701eea0 |