Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHIR integration POC #307

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

amitaibu
Copy link
Contributor

@amitaibu amitaibu commented Jun 27, 2022

Added a FHIR integration module, that upon creation or update of data, it uploads it to a FHIR datastore.

  1. A child's height is created or updated

image

  1. An HTTP request sends the relevant info. No duplicates are created, so only a single patient or observation would be created.

image

  1. Observation created on Google cloud. It references our Patient

image

  1. And we have the Patient as well

image

Current PR assumes running it locally with DDEV, so one would need to have the following info under settings.ddev.php (ping me to get the real values, as the ones here are dummy, for security reasons):

$conf['hedley_fhir_private_key'] = "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADA...Ce3McVRrHyM=\n-----END PRIVATE KEY-----\n";
$conf['hedley_fhir_service_account_email'] = '[email protected]';
$conf['hedley_fhir_project_id'] = 'bar;
$conf['hedley_fhir_location'] = 'us-central1';
$conf['hedley_fhir_dataset_id'] = 'some-dataset';
$conf['hedley_fhir_fhir_store_id'] = 'some-fhir-store';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant