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.1.tar.gz
(105.6 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280ee089b814d8f1f857f482f5335583b6293c781a2e810601ac460e202d599e |
|
MD5 | ee280924b9a21332b1960ad5b960d5eb |
|
BLAKE2b-256 | 638d4fd2b65c8e431131ca24186c64d6ff1f409d594dd23502a13f1442527d43 |
Close
Hashes for sparkautomapper.fhir-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e141c9a50c2bfe239504ac444309c5cc06e73006382f1fc07f7d032362677e |
|
MD5 | cb5e3dfdc2892bfaac6653d18b88f2c3 |
|
BLAKE2b-256 | ed277cdf90e13412723df0d7d8ff05350f2744d1bfba6f9f210059cf59c8251f |