Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions EH-Notes/list-of-edits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
framework no ant
use bash script tooling on the front end to create and install the
config files and run ig-pub without internal scripting

task list

1. update css as test
2. add section numbering for ie
3. update look and feel
4. add copy me
5. update and simplify layout
6. suggest new file tree structure and way to autogen menu.
81 changes: 81 additions & 0 deletions EH-Notes/templates notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
- use this for ig.ini file
~~~
[IG]
ig = input/sdc.xml
template = hl7.fhir.template (loads the templates from repo)
usage-stats-opt-out = false
~~~

template = hl7.fhir.template (loads the templates from repo)
template = /Users/ehaas/Documents/FHIR/IG-Template2/template runs local template (eg after load)

- to run add to jar this option -ig.ini

- see bash script to run without fetching template each time.
- also need all the stuff in ig.ini from properties.txt to run
- why not already set up in ig.ini or better yet load from yaml, csv or json
- what about dependencies? are we just redoing ig.json here.
- need a way to incorporate all this into ig resource
- see sdc for example how to run
- why do I need a `ignoreWarnings.txt` if I don't want to ignore any - dafault to none if not there
- what is : `properties.txt` ? is this for _config.yml?
- why is toc the root and not index.xhtml

```
#guidename must match the id of the implementation guide
guidename=test
copyrightyear=2015+
license=CC0-1.0
version=0.0.0
ballotstatus=CI Build
fhirspec=http://build.fhir.org/
#excludexml=Yes
#excludejson=No
#excludettl=Yes
```
need to add extension for spreadsheets to ig.xml file

- do I need a license file or is that a git hub thing?
- I don't think I need the .bat files since I use bash
- what do the transforms do? Do they do the same as the layouts?
- need to add a url path to examples and resources so not bound to id name - extension?
- needed to add depends on to ig.xml this causes an error

~~~
<dependsOn> <!-- 0..* Another Implementation guide this depends on -->
<uri><!-- 1..1 canonical(ImplementationGuide) Identity of the IG that this depends on --></uri>
<packageId value="[id]"/><!-- 0..1 NPM Package name for IG this depends on -->
<version value="[string]"/><!-- 0..1 Version of the IG -->
</dependsOn>
~~~

this causes an error:

~~~
java.lang.Exception: IG Name must be a valid token (null)
at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:2114)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1408)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1113)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:600)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6402)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6412)
~~~

add globals too

~~~
<global> <!-- 0..* Profiles that apply globally -->
<type value="[code]"/><!-- 1..1 Type this profile applies to -->
<profile><!-- 1..1 canonical(StructureDefinition) Profile that all resources must conform to --></profile>
</global>
~~~

- getting IG canonical is a pain in the ass - need to download the package - suggest publishing in the footer I mean why do we need both the package and the canonical here?
- forcing files names to be the same a ids is a pain in the ass - should be able to specifyt the url
- need to autocreate the IG resource from the file tree and source data
- dependency name/code should be an element or an extension. using the id element is a kludge.
- need layouts to avoid needless repetition in the templates
- rethink the folder names and file tree it should mirror the ig page structure and use html source file name conventions. (pick one)
- frame needs an example list generator, copy-me.html, examplebuttons, schematron-list-generator, img formatters, and a toc-generator
- assume no front matter
43 changes: 33 additions & 10 deletions content/assets/css/project.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*

Specific layout and styling, project based


*/
/*
Flexslider vs LayerSlider vs SliderRevolution
Expand All @@ -14,7 +14,7 @@ breadcrumb vs history what is a breadcrumb hiearchy or history?
gray-color thingy

widget-row vs thumbs vs joyo-thumbs
shortcode for
shortcode for
- Fontawesome
- Accordion
- Notifications
Expand All @@ -28,13 +28,13 @@ widget in sidebar vs in column = uiterlijk op basis van locale class via functio

- SCAFFOLDING Groundwork for the site. Background colors are set in less or overruled here
- SCAFFOLDING OBJECTS Objects reoccurring on every page
- COMPONENTS Everything what can be moved around
- COMPONENTS Everything what can be moved around
- BACK TO TOP Anchor animating to top of the page
- EXCEPTIONS FOR SPECIFIC SITUATIONS Some pages are not like the others
- D-I-D AREA Do-It-Dirty
- D-I-D AREA Do-It-Dirty

*/
/* SCAFFOLDING STYLING
/* SCAFFOLDING STYLING
----------------------------------------------------------------------------------------*/
html {
background-color: ;
Expand Down Expand Up @@ -81,7 +81,7 @@ body {
//padding-right: 0;
.segment > .container {
//padding-left: 10px;
//padding-right: 10px;
//padding-right: 10px;
}
}
.segment {
Expand Down Expand Up @@ -276,7 +276,7 @@ body {
border-bottom: 0;
}
.nav-tabs > li > a {
border: 1px solid #ddd;
border: 1px solid #ddd;
.border-top-radius(0);
.border-right-radius(0);
.border-bottom-radius(0);
Expand All @@ -297,7 +297,7 @@ body {
border-color: #ddd;
z-index: 2;
}
}
}
*/
.nav-list > li > a {
padding: 3px 15px;
Expand Down Expand Up @@ -454,3 +454,26 @@ h3:before{color:silver;counter-increment:sub-section;content:var(--heading-prefi
h4:before{color:silver;counter-increment:composite;content:var(--heading-prefix) "." counter(section) "." counter(sub-section) "." counter(composite) " ";}
h5:before{color:silver;counter-increment:detail;content:var(--heading-prefix) "." counter(section) "." counter(sub-section) "." counter(composite) "." counter(detail) " ";}
h6:before{color:silver;counter-increment:more-detail;content:var(--heading-prefix) "." counter(section) "." counter(sub-section) "." counter(composite) "." counter(detail) "." counter(more-detail)" ";}

/* ----------note-to-balloters styling------*/

.note-to-balloters::before {
white-space: pre;
content: "Note To Balloters\A ";
#background-color: yellow;
color: red;
font-weight: bold;}
.note-to-balloters, .stu-note{
margin: 5px;
padding: 10px;
border-left-style: solid;
background-color: #fff2ff;
border-left-color: #ffa0ff;
}

.stu-note::before {
white-space: pre;
content: "STU Note\A ";
#background-color: yellow;
color: red;
font-weight: bold;}