-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in add-fhir-r4 (pull request #10)
Add FHIR R4 Support Approved-by: Noranda Brown <noranda@norandabrown.com>
- Loading branch information
Showing
34 changed files
with
16,394 additions
and
333 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 |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
/build | ||
/coverage | ||
/tx_bundle_dump | ||
/test_patient_dump | ||
*.css |
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"client_id": "6c12dff4-24e7-4475-a742-b08972c4ea27", | ||
"scope": "patient/*.read launch/patient" | ||
"clientId": "6c12dff4-24e7-4475-a742-b08972c4ea27", | ||
"scope": "patient/*.read launch/patient", | ||
"completeInTarget": true | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
import { shallowRender } from '../../utils/testHelpers'; | ||
import Landing from '../../components/Landing'; | ||
|
||
const component = shallowRender(Landing, {}); | ||
let spy; | ||
beforeAll(() => { | ||
// This test logs an ugly error because FHIR is not initialized (as expected). | ||
// Since we expect this error, we suppress console.error here | ||
spy = jest.spyOn(global.console, 'error').mockImplementation(() => jest.fn()); | ||
}); | ||
afterAll(() => spy.mockRestore()); | ||
|
||
it('renders without crashing', () => { | ||
const component = shallowRender(Landing, {}); | ||
expect(component).toExist(); | ||
}); |
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.