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.2.21b16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1961b10a11460b7daae5d98b44091796f4db92e89f20fb282561f09ec856176 |
|
MD5 | 81abd3ae5b8c921f3210d9f4f32ef651 |
|
BLAKE2b-256 | f813a9398294c25c38b2b16eb8dac55d7c01dd57122753f4e013358e45501209 |
Close
Hashes for sparkautomapper.fhir-0.2.21b16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43a171c4a0a3c7569c6e9729389b293d187fa0332cca3e7450ac89b5846257f |
|
MD5 | 6e213c4e3520601593a56f3e5317756e |
|
BLAKE2b-256 | 1f6ae0212746ebe5001db1d07b01ca45b5f76bc6152be25b1f12a25765319246 |