forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sp/issue-2188-survey-button
- Loading branch information
Showing
81 changed files
with
3,013 additions
and
641 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# Gotta Catch 'Em All! (i.e. don't wait and propose them only "trickled") | ||
open-pull-requests-limit: 99 | ||
|
||
- package-ecosystem: gradle | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: monday | ||
time: "04:00" | ||
|
||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: monday | ||
time: "04:00" |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '32 13 * * 2' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-22.04-64core | ||
timeout-minutes: 60 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'java' ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Switch to Java 17 from Eclipse Temurin distro | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
# TODO: use Autobuild instead of ./gradlew after https://github.com/github/codeql-action/issues/1417 is fixed | ||
# - name: Autobuild | ||
# uses: github/codeql-action/autobuild@v2 | ||
- name: Build with Gradle | ||
run: ./gradlew --scan --full-stacktrace -Dorg.gradle.dependency.verification=off compileDebugAndroidTestSources | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"resourceType": "Questionnaire", | ||
"item": [ | ||
{ | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression", | ||
"valueExpression": { | ||
"language": "application/x-fhir-query", | ||
"expression": "Task?subject=Patient/P1&code=33879002&status=ready&_sort=period" | ||
} | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn", | ||
"extension": [ | ||
{ | ||
"url": "path", | ||
"valueString": "description + ' - ' + reasonCode.coding.where(system='http://snomed.info/sct').display" | ||
}, | ||
{ | ||
"url": "forDisplay", | ||
"valueBoolean": true | ||
} | ||
] | ||
} | ||
], | ||
"linkId": "vaccines", | ||
"text": "Which vaccine tasks were completed?", | ||
"type": "reference", | ||
"required": true, | ||
"repeats": 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 |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"resourceType": "Bundle", | ||
"entry": [ | ||
{ | ||
"resource": { | ||
"resourceType" : "Patient", | ||
"id" : "P1" | ||
} | ||
}, | ||
{ | ||
"resource": { | ||
"resourceType": "Task", | ||
"id": "b8e13d21-1a62-4172-a9ef-57670e6ac238", | ||
"status": "ready", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "33879002", | ||
"display": "Vaccination routine" | ||
} | ||
] | ||
}, | ||
"description": "BCG at birth", | ||
"for": { | ||
"reference": "Patient/P1" | ||
}, | ||
"reasonCode": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "42284007", | ||
"display": "BCG vaccine" | ||
}, | ||
{ | ||
"system": "https://smartregister.org/immunization/vaccine-codes", | ||
"code": "bcg", | ||
"display": "BCG" | ||
} | ||
], | ||
"text": "BCG" | ||
} | ||
} | ||
}, | ||
{ | ||
"resource": { | ||
"resourceType": "Task", | ||
"id": "4090ba9a-fbbb-4634-a06d-0cbe938ab090", | ||
"status": "cancelled", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "33879002", | ||
"display": "Vaccination routine" | ||
} | ||
] | ||
}, | ||
"description": "OPV 0 at birth", | ||
"for": { | ||
"reference": "Patient/P1" | ||
}, | ||
"reasonCode": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "111164008", | ||
"display": "Poliovirus vaccine" | ||
}, | ||
{ | ||
"system": "https://smartregister.org/immunization/vaccine-codes", | ||
"code": "opv0", | ||
"display": "OPV 0" | ||
} | ||
], | ||
"text": "OPV 0" | ||
} | ||
} | ||
}, | ||
{ | ||
"resource": { | ||
"resourceType": "Task", | ||
"id": "087e82c6-e346-4725-8db1-7e10aec99be9", | ||
"status": "ready", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "33879002", | ||
"display": "Vaccination routine" | ||
} | ||
] | ||
}, | ||
"description": "OPV 1 at 6 weeks", | ||
"for": { | ||
"reference": "Patient/P1" | ||
}, | ||
"reasonCode": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "111164008", | ||
"display": "Poliovirus vaccine" | ||
}, | ||
{ | ||
"system": "https://smartregister.org/immunization/vaccine-codes", | ||
"code": "opv1", | ||
"display": "OPV 1" | ||
} | ||
], | ||
"text": "OPV 1" | ||
} | ||
} | ||
} | ||
] | ||
} |
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.