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 = AutoMapper(
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-3.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6542ef163be46c2f3a3bd144eb281df883ea42f3e6603d12e5b277b0489f4093 |
|
MD5 | 02b82c3e0554a94184ceea877fb2ab63 |
|
BLAKE2b-256 | aab01e979a455faa0bb5391ac85abf79ee5145857d3f3ec038f493135fdda11e |
Close
Hashes for sparkautomapper.fhir-3.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa0ced84730c19dc69f7787b560df6c7cae91cab88177bc61677979f9e00fe5a |
|
MD5 | c80246fc90333da736a65755e170e1ae |
|
BLAKE2b-256 | 46841acd5e952377abf97d10e70486d35bdbb6c55faf04cc6b2689b28b1d2069 |