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
sparkautomapper.fhir-0.2.21b4.tar.gz
(135.1 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a12fcff417581b6c4dca9cee939408d641dfe2b6485473f1c79d49b662cee97 |
|
MD5 | bec880a19b67b2f4f40ca69a5bc1b8e6 |
|
BLAKE2b-256 | ad59d4fcfc41ed3d53eaccdfc52d77d3c9503b4003460ba49d06441dd0897889 |
Close
Hashes for sparkautomapper.fhir-0.2.21b4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58fc04453a947c6f5e88002e437d579d99e10dfa4659f257b24bb89e86ca63e6 |
|
MD5 | c7adab2debddc690e4cd99642d9c312f |
|
BLAKE2b-256 | 557d37c9f5bda29c57a0df00a3ac60b44e676d430d3693a9f059826623caa6f3 |