Skip to content

Commit

Permalink
Merge pull request #48 from samply/feature/ig-buildable
Browse files Browse the repository at this point in the history
Buildable version for release 0.1.0
  • Loading branch information
noemide authored Nov 6, 2019
2 parents c01a443 + f2b215e commit 2f4fce6
Show file tree
Hide file tree
Showing 71 changed files with 351 additions and 493 deletions.
24 changes: 18 additions & 6 deletions .travis.yml
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
427 changes: 0 additions & 427 deletions LICENSE

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# BBMRI FHIR® Implementation Guide

[Profile Overview](https://github.com/samply/bbmri-fhir-ig/blob/master/implementationGuide/Overview.md)
[Profile Overview](https://github.com/samply/bbmri-fhir-ig/blob/master/bbmri-ig/input/pagecontent/overview.md)

![Overview profiles](https://github.com/samply/bbmri-fhir-ig/blob/master/implementationGuide/GBA-DatamodellFHIR_V05.png)
![Overview profiles](https://github.com/samply/bbmri-fhir-ig/blob/master/bbmri-ig/input/images/GBA-DatamodellFHIR_V05.png)

[Mappings to other projects](https://github.com/samply/bbmri-fhir-ig/blob/master/implementationGuide/Mappings.md)
[Mappings to other projects](https://github.com/samply/bbmri-fhir-ig/blob/master/bbmri-ig/input/pagecontent/mappings.md)

[Referenced Implementation Guides](https://github.com/samply/bbmri-fhir-ig/blob/master/implementationGuide/ReferencedIGS.md)
[Referenced Implementation Guides](https://github.com/samply/bbmri-fhir-ig/blob/master/bbmri-ig/input/pagecontent/referencedIGs.md)

[Validator Instructions](https://github.com/samply/bbmri-fhir-ig/blob/master/implementationGuide/Validation.md)
[Validator Instructions](https://github.com/samply/bbmri-fhir-ig/blob/master/bbmri-ig/input/pagecontent/Validation.md)
5 changes: 5 additions & 0 deletions bbmri-ig/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/input/images/Thumbs.db
/input-cache/*
temp
template
output
3 changes: 3 additions & 0 deletions bbmri-ig/_genonce.bat
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
5 changes: 5 additions & 0 deletions bbmri-ig/_updatePublisher.bat
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
27 changes: 27 additions & 0 deletions bbmri-ig/classnotes/cibuild.txt
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

13 changes: 13 additions & 0 deletions bbmri-ig/ig.ini
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
84 changes: 84 additions & 0 deletions bbmri-ig/input/de.bbmri.fhir.json
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.
6 changes: 6 additions & 0 deletions bbmri-ig/input/ignoreWarnings.txt
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
1 change: 1 addition & 0 deletions bbmri-ig/input/images/logo_bbmri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions bbmri-ig/input/includes/menu.xml
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.
Loading

0 comments on commit 2f4fce6

Please sign in to comment.