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-1.0.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab117e537cd12a0eec1d3cee689e97f50348750dcefe7a49082ddf0eb541e107 |
|
MD5 | b162f9fdd22bcb18f41af5b5a10eceee |
|
BLAKE2b-256 | 7ad440c15fe33b1748f3f2b8410299242a4dbd4815602071c28f327fc9d6070f |
Close
Hashes for sparkautomapper.fhir-1.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4772fc8348bdb95c0f1852a278f4fb1a2be755e11a46c7da318ad640cf41f9b9 |
|
MD5 | a6463ef302cafb9efc637e8e4afaf5d5 |
|
BLAKE2b-256 | e98f705435a478ddbd0afbb9931f7344b5bed7675dcf558917e3540b0af82b30 |