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.69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2392dc7be36d0e16d483cad8d25d19bb4bb5f661cbd5b855a2b175c7db85d921 |
|
MD5 | 355608ce80e26496d90a29a994487552 |
|
BLAKE2b-256 | ffed17744865b2636ebba449f2f706dac1199db5ba45db01d4f7114646675764 |
Close
Hashes for sparkautomapper.fhir-0.1.69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3da3e7aeb9eb6a7297bfef70e6d8f9098fc43d1eb98701fdb157d302980ed6 |
|
MD5 | ffc637d8b466ae7b9dfb7b1252bbbdc2 |
|
BLAKE2b-256 | 2d8bd81f878376b41459c0920d00286fe762ea85d21239b891a0f8e9b8e34de5 |