-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* parent 2574f91 author Lucas Nogueira <[email protected]> 1655155614 +0000 committer Lucas Nogueira <[email protected]> 1655882203 +0000 parent 2574f91 author Lucas Nogueira <[email protected]> 1655155614 +0000 committer Lucas Nogueira <[email protected]> 1655882058 +0000 squashed rebase conflict commits add execute bundles transform with integration test adjust import to follow convention fix variable scope adjust read unit tests add comment to execute bundles transform include error reason make variable exported to fix integration test adjust integration tests after merge update license comment add comment explaining the purpose of unexported transform function remove unnecessary generic usage remove coded mistakenly added improve transaction vs batch bundle comment use net/http constants instead of hardcoded values adjust import spacing improve error message * add search transform * extract content of lambda to function * add integration tests * improve naming and fix IDE warnings * use more appropriate function to check for status * add documentation and improve member variable name * add unit tests * use while loop style to shorten line * run integration tests in same pipeline * fix integration test on dataflow and make it cleaner * add pagination test and improve test utils * fix search request when resourceType is empty * improve readability of pagination logic * log upon nondetrimental errors * add retry mechanism to prevent flaky test results * remove backoff retry on read transform test since it should never be flaky * add dummy content to resource to improve readability * adjust spacing for consistency
- Loading branch information
Showing
10 changed files
with
526 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,20 +5,48 @@ | |
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "Patient" | ||
"url": "Organization" | ||
}, | ||
"resource": { | ||
"name": [ | ||
"resourceType": "Organization", | ||
"id": "b0e04623-b02c-3f8b-92ea-943fc4db60da", | ||
"identifier": [ | ||
{ | ||
"use": "official", | ||
"given": [ | ||
"John" | ||
] | ||
"system": "https://github.com/synthetichealth/synthea", | ||
"value": "b0e04623-b02c-3f8b-92ea-943fc4db60da" | ||
} | ||
], | ||
"gender": "male", | ||
"birthDate": "1973-01-21", | ||
"resourceType": "Patient" | ||
"active": true, | ||
"type": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/organization-type", | ||
"code": "prov", | ||
"display": "Healthcare Provider" | ||
} | ||
], | ||
"text": "Healthcare Provider" | ||
} | ||
], | ||
"name": "LOWELL GENERAL HOSPITAL", | ||
"telecom": [ | ||
{ | ||
"system": "phone", | ||
"value": "9789376000" | ||
} | ||
], | ||
"address": [ | ||
{ | ||
"line": [ | ||
"295 VARNUM AVENUE" | ||
], | ||
"city": "LOWELL", | ||
"state": "MA", | ||
"postalCode": "01854", | ||
"country": "US" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
|
@@ -30,6 +58,7 @@ | |
"name": [ | ||
{ | ||
"use": "official", | ||
"family": "Smith", | ||
"given": [ | ||
"Alice" | ||
] | ||
|
@@ -39,6 +68,45 @@ | |
"birthDate": "1970-01-01", | ||
"resourceType": "Patient" | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "Practitioner" | ||
}, | ||
"resource": { | ||
"resourceType": "Practitioner", | ||
"name": [ | ||
{ | ||
"family": "Tillman293", | ||
"given": [ | ||
"Franklin857" | ||
], | ||
"prefix": [ | ||
"Dr." | ||
] | ||
} | ||
], | ||
"telecom": [ | ||
{ | ||
"system": "email", | ||
"value": "[email protected]", | ||
"use": "work" | ||
} | ||
], | ||
"address": [ | ||
{ | ||
"line": [ | ||
"295 VARNUM AVENUE" | ||
], | ||
"city": "LOWELL", | ||
"state": "MA", | ||
"postalCode": "01854", | ||
"country": "US" | ||
} | ||
], | ||
"gender": "male" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.