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.1.75.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e19fb89cf53e6d1b29092ffe20988b4b90dd0b730cae2877dcf56bbdda5d6e1 |
|
MD5 | 188b924dd32f3983a9ea0764d8470ed6 |
|
BLAKE2b-256 | 487ba531491423b1b5601f6ea749e098bd6c1ad9a374ceaadbd4b9c7bd0540c6 |
Close
Hashes for sparkautomapper.fhir-0.1.75-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41565eed915507318ab1edcc6e255cdf3b60a627a5cb5caf12405b3c688e50c5 |
|
MD5 | 2361629606bcf917091d3092c0fc9fbc |
|
BLAKE2b-256 | c9c3a11b29cc4f5c35677e7c56b73b140e349fe4ed347e18905a4d91fffb7dee |