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.17.tar.gz
(134.6 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257f44d392d1a405a143047814e25baa688c30e671e11fcdc58bfdd27d317a7b |
|
MD5 | 4f18ff324ab9a8eb24f52ef7a29dcfd3 |
|
BLAKE2b-256 | a9ce830d38a97d8b3015ad920a81ad790d508d64fbabb3550843b5bcb1e71521 |
Close
Hashes for sparkautomapper.fhir-0.2.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e543878859bf0763b3792aab64e94bd0910453440b2a687003120355eb152d |
|
MD5 | 5e864d56199fed2b1b73ef4aca8773d0 |
|
BLAKE2b-256 | d351d5e5ac22b5d93dc56e73230a169455d4fb8794e06051018f98d0e8cfa6ea |