-
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 pull request #48 from samply/feature/ig-buildable
Buildable version for release 0.1.0
- Loading branch information
Showing
71 changed files
with
351 additions
and
493 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 |
---|---|---|
@@ -1,8 +1,20 @@ | ||
language: java | ||
language: ruby | ||
jdk: openjdk11 | ||
rvm: 2.5 | ||
before_install: gem install jekyll | ||
before_script: | ||
- wget https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.validator.jar -O validator.jar | ||
- wget http://hl7.org/fhir/uv/ips/2019Sep/validator.pack -O ips.pack | ||
- wget -q https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.validator.jar -O validator.jar | ||
- wget -q http://hl7.org/fhir/uv/ips/2019Sep/validator.pack -O ips.pack | ||
script: | ||
- zip -j ig.zip extension/* profile/* terminology/codesystem/* terminology/valueset/* | ||
- unzip ig.zip -d target | ||
- java -jar validator.jar -version 4.0.1 -ig ips.pack -ig target examples | ||
- mkdir input-cache | ||
- wget -q https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar -O input-cache/org.hl7.fhir.publisher.jar | ||
- JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 | ||
- java -jar input-cache/org.hl7.fhir.publisher.jar -ig bbmri-ig/ig.ini | ||
- java -jar validator.jar -version 4.0.1 -ig ips.pack -ig bbmri-ig/output/validator-de.bbmri.fhir.pack bbmri-ig/input/examples | ||
deploy: | ||
provider: releases | ||
api_key: $GITHUB_TOKEN | ||
file: bbmri-ig/output/validator-de.bbmri.fhir.pack | ||
skip_cleanup: true | ||
on: | ||
tags: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/input/images/Thumbs.db | ||
/input-cache/* | ||
temp | ||
template | ||
output |
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 @@ | ||
@SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 | ||
JAVA -jar input-cache/org.hl7.fhir.publisher.jar -ig ig.ini | ||
@PAUSE |
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,5 @@ | ||
@MKDIR input-cache | ||
@ECHO "Downloading most recent publisher - it's ~100 MB, so this may take a bit | ||
@POWERSHELL -command (new-object System.Net.WebClient).DownloadFile(\"https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar\",\"input-cache\org.hl7.fhir.publisher.jar\") | ||
@ECHO "Done" | ||
@PAUSE |
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,27 @@ | ||
1. Log into your github.com (registering if necessary) | ||
2. Go to http://github.com/fhir/sample-ig | ||
3. Select "Fork" and fork to your local github repository | ||
4. In your forked github.com repository, go to "settings", "Webhooks" | ||
5. Select "Add webhook" | ||
- Set the payload URL to: https://us-central1-fhir-org-starter-project.cloudfunctions.net/ig-commit-trigger | ||
- Set the content-type to application/json | ||
- Leave the secret blank | ||
- Enable SSL verification | ||
- "Just the 'push' event" | ||
- Active | ||
- Click on "Add webhook" | ||
6. Log onto http://chat.fhir.org | ||
7. Subscribe to the committers/notification branch | ||
- Click on the little "gear" icon beside "Streams" | ||
- Select "All streams" and find "Committers/notification" | ||
- Subscribe to it | ||
|
||
If you clone your fork locally using Git and make changes, then commit and push them to your web repository | ||
OR if you make changes directly on your web repository, then | ||
a few minutes after your change in the notifications stream, you should see something like this: | ||
lmckenzi/sample-ig: master rebuilt | ||
Commit: Changed id (Lloyd McKenzie) :thumbs_up: | ||
Details: build logs | published | qa: broken links = 1, errors = 15, warn = 3, info = 0 | ||
|
||
You can use the links to see the logs, published version and the qa | ||
|
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,13 @@ | ||
[IG] | ||
ig = input/de.bbmri.fhir.json | ||
template = hl7.fhir.template | ||
usage-stats-opt-out = false | ||
copyrightyear = 2019+ | ||
license = CC-BY-SA-4.0 | ||
version = 0.1.0 | ||
ballotstatus = CI Build | ||
fhirspec = http://build.fhir.org/ | ||
#excludexml = Yes | ||
#excludejson = Yes | ||
#excludettl = Yes | ||
#excludeMaps = Yes |
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,84 @@ | ||
{ | ||
"resourceType" : "ImplementationGuide", | ||
"id" : "de.bbmri.fhir", | ||
"url" : "https://fhir.bbmri.de/ImplementationGuide/de.bbmri.fhir", | ||
"name" : "BBMRI_DE_IG", | ||
"title" : "BBMRI.de Implementation Guide", | ||
"status" : "draft", | ||
"experimental" : true, | ||
"publisher" : "BBMRI.de", | ||
"contact" : [ | ||
{ | ||
"telecom" : [ | ||
{ | ||
"system" : "url", | ||
"value" : "bbmri.de" | ||
}, | ||
{ | ||
"system" : "email", | ||
"value" : "feedback@germanbiobanknode.de" | ||
} | ||
] | ||
} | ||
], | ||
"description" : "Profiles for the GBA/BBMRI.de project", | ||
"jurisdiction" : [ | ||
{ | ||
"coding" : [ | ||
{ | ||
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm", | ||
"code" : "001" | ||
} | ||
] | ||
} | ||
], | ||
"packageId" : "de.bbmri.fhir", | ||
"license" : "CC-BY-SA-4.0", | ||
"fhirVersion" : [ | ||
"4.0.1" | ||
], | ||
"definition" : { | ||
"page" : { | ||
"nameUrl" : "toc.html", | ||
"title" : "Table of Contents", | ||
"generation" : "html", | ||
"page" : [ | ||
{ | ||
"nameUrl" : "index.html", | ||
"title" : "MyIG Home Page", | ||
"generation" : "html" | ||
}, | ||
{ | ||
"nameUrl" : "overview.html", | ||
"title" : "Overview", | ||
"generation" : "markdown" | ||
}, | ||
{ | ||
"nameUrl" : "spec.html", | ||
"title" : "Detailed Specification", | ||
"generation" : "markdown" | ||
}, | ||
{ | ||
"nameUrl" : "mappings.html", | ||
"title" : "Mappings", | ||
"generation" : "markdown" | ||
}, | ||
{ | ||
"nameUrl" : "referencedIGs.html", | ||
"title" : "Referenced IGs", | ||
"generation" : "markdown" | ||
}, | ||
{ | ||
"nameUrl" : "downloads.html", | ||
"title" : "Useful Downloads", | ||
"generation" : "html" | ||
}, | ||
{ | ||
"nameUrl" : "changes.html", | ||
"title" : "IG Change History", | ||
"generation" : "html" | ||
} | ||
] | ||
} | ||
} | ||
} |
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,6 @@ | ||
// Add warning and/or information messages here after you've confirmed that they aren't really a problem | ||
// (And include comments like this justifying why) | ||
|
||
// We define the version on a global basis, so don't need it on the individual source definitions | ||
WARNING: http://hl7.org/fhir/uv/myig/StructureDefinition/ext-myExtension: Profiles SHOULD state their own version | ||
WARNING: http://hl7.org/fhir/uv/myig/StructureDefinition/somepatientprofile: Profiles SHOULD state their own version |
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,32 @@ | ||
<ul xmlns="http://www.w3.org/1999/xhtml" class="nav navbar-nav"> | ||
<li><a href="index.html">IG Home</a></li> | ||
<li><a href="toc.html">Table of Contents</a></li> | ||
<li><a href="overview.html">Profile Overview</a></li> | ||
<li class="dropdown"> | ||
<a data-toggle="dropdown" href="#" class="dropdown-toggle">References<b class="caret"> | ||
</b> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li> | ||
<a href="mappings.html">Mappings</a> | ||
</li> | ||
<li> | ||
<a href="referencedIGs.html">Referenced IGs</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li><a href="artifacts.html">Artifact Index</a></li> | ||
<li class="dropdown"> | ||
<a data-toggle="dropdown" href="#" class="dropdown-toggle">Support<b class="caret"> | ||
</b> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li> | ||
<a target="_blank" href="{{site.data.fhir.path}}index.html">FHIR Spec <img src="external.png" style="text-align: baseline"/></a> | ||
</li> | ||
<li> | ||
<a href="downloads.html">Downloads</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> |
File renamed without changes.
Oops, something went wrong.