-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from cqframework/templatization
Templatization to work with refresh tooling
- Loading branch information
Showing
330 changed files
with
10,014 additions
and
27,805 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,49 @@ | ||
#!/bin/bash | ||
dlurl=https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar | ||
publisher_jar=org.hl7.fhir.publisher.jar | ||
root_path=./ | ||
|
||
set -e | ||
if ! type "curl" > /dev/null; then | ||
echo "ERROR: Script needs curl to download latest IG Publisher. Please install curl." | ||
exit 1 | ||
fi | ||
|
||
publisher="$root_path$publisher_jar" | ||
if test -f "$publisher"; then | ||
echo "IG Publisher FOUND in root" | ||
jarlocation="$publisher" | ||
jarlocationname="Root" | ||
upgrade=true | ||
else | ||
publisher="../$publisher_jar" | ||
upgrade=true | ||
if test -f "$publisher"; then | ||
echo "IG Publisher FOUND in parent folder" | ||
jarlocation="$publisher" | ||
jarlocationname="Parent Folder" | ||
upgrade=true | ||
else | ||
echo IG Publisher NOT FOUND in input-cache or parent folder... | ||
jarlocation="$root_path$publisher_jar" | ||
jarlocationname="Root" | ||
upgrade=false | ||
fi | ||
fi | ||
|
||
if $upgrade ; then | ||
message="Overwrite $jarlocation? [Y/N] " | ||
else | ||
#echo Will place publisher jar here: $root_path$publisher_jar | ||
echo Will place publisher jar here: $jarlocation | ||
message="Ok? [Y/N]" | ||
fi | ||
|
||
read -r -p "$message" response | ||
if [[ "$response" =~ ^([yY])$ ]]; then | ||
echo "Downloading most recent publisher to $jarlocationname - it's ~100 MB, so this may take a bit" | ||
# wget "https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar" -O "$jarlocation" | ||
curl $dlurl -o "$jarlocation" --create-dirs | ||
else | ||
echo cancel... | ||
fi |
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,4 @@ | ||
This folder exists for the archival of resources specific to FHIR versions for which | ||
this Implementation Guide is declared and intended. If we need support for those versions | ||
(e.g., DSTU2 in this case) we will create an Implementation Guide specific to respective | ||
FHIR version. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
pages/cql/OpioidCQM_STU3-0.1.0.cql → ...t/pagecontent/cql/OpioidCQMSTU3-0.1.0.cql
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,4 @@ | ||
library OpioidCQM_STU3 version '0.1.0' | ||
library OpioidCQMSTU3 version '0.1.0' | ||
|
||
using FHIR version '3.0.0' | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
[IG] | ||
ig = input/ig-new.xml | ||
|
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.