Skip to content

Commit

Permalink
Cleanup build warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMoehrke committed Nov 13, 2024
1 parent 0aba629 commit 38f5c14
Show file tree
Hide file tree
Showing 22 changed files with 93 additions and 67 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Thumbs.db
.DS_Store?
*.jar
*.bak
.index.json
8 changes: 4 additions & 4 deletions hbtemplate/content/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 4 additions & 4 deletions hbtemplate/content/assets/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 4 additions & 4 deletions hbtemplate/content/assets/css/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 4 additions & 4 deletions hbtemplate/content/assets/ico/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 4 additions & 4 deletions hbtemplate/content/assets/images/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 4 additions & 4 deletions hbtemplate/includes/.index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"index-version": 1,
"files": []
}
{
"index-version" : 2,
"files" : []
}
8 changes: 0 additions & 8 deletions hbtemplate/includes/fragment-css.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4SRC3QLLQD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-4SRC3QLLQD');
</script>
4 changes: 0 additions & 4 deletions hbtemplate/package/.index.json

This file was deleted.

2 changes: 2 additions & 0 deletions input/fsh/alcohols.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBAlcohol
Title: "Alcohol List"
Description: "Alcohols to be added, if desired"
* ^caseSensitive = false
* ^experimental = false
* #BOURBON "bourbon"
* #RUM "rum"
* #BAILEYS "Baileys"
Expand All @@ -16,4 +17,5 @@ ValueSet: HBAlcoholVS
Title: "Alcohol Additive Value Set"
Description: "Alcohol liquids for use in coffee"

* ^experimental = false
* include codes from system HBAlcohol
File renamed without changes.
4 changes: 2 additions & 2 deletions input/fsh/brewed.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Description: "An AuditEvent profile for when request to brew a Hot Beverage a
* recorded 1..1
// failures are recorded differently
* outcome = http://terminology.hl7.org/CodeSystem/audit-event-outcome#0 "Success"
* agent ^slicing.discriminator.type = #pattern
* agent ^slicing.discriminator.type = #value
* agent ^slicing.discriminator.path = "type"
* agent ^slicing.rules = #closed
* agent 2..3
Expand Down Expand Up @@ -51,7 +51,7 @@ Description: "An AuditEvent profile for when request to brew a Hot Beverage a
* agent[human].network 0..0 // humans are not network devices
* agent[human].purposeOfUse MS // if the OAuth token includes a PurposeOfUse it is recorded here
* source MS // what agent recorded the event. Likely the client or server but might be an intermediary
* entity ^slicing.discriminator.type = #pattern
* entity ^slicing.discriminator.type = #value
* entity ^slicing.discriminator.path = "type"
* entity ^slicing.rules = #closed
* entity 1..1
Expand Down
3 changes: 2 additions & 1 deletion input/fsh/coffees.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBBeverages
Title: "Hot Beverage List"
Description: "Legal Beverages to be made in coffee pot"
* ^caseSensitive = false
* ^experimental = false
* #DRIP "Drip or filtered"
* #FRENCHPRESS "French press or cafetière"
* #COLDBREW "Cold brew"
Expand Down Expand Up @@ -30,5 +31,5 @@ Description: "Legal Beverages to be made in coffee pot"
ValueSet: HBBeverageVS
Title: "Hot Beverages Value Set"
Description: "All beverages allowed to be made via Hot Beverage"

* ^experimental = false
* include codes from system HBBeverages
38 changes: 19 additions & 19 deletions input/fsh/instances.fsh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Instance: hbbrew
InstanceOf: OperationDefinition
Usage: #definition
* url = "http://hl7.org/fhir/OperationDefinition/Brew"
* version = "4.0.1"
* url = "http://fhir.org/guides/acme/HotBeverage/OperationDefinition/hbbrew"
* version = "1.4.2024"
* name = "HBbrew"
* status = #draft
* kind = #operation
* date = "2020-04-01T09:29:23+11:00"
* publisher = "Acme (FHIR Project)"
* date = "2024-11-13T09:29:23+11:00"
* publisher = "Dave Pyke & John Moehrke"
* contact[0].telecom[0].system = #url
* contact[0].telecom[0].value = "http://hl7.org/fhir/acme"
* contact[0].telecom[0].value = "https://github.com/DavidPyke/HotBeverage"
* contact[0].telecom[1].system = #email
* contact[0].telecom[1].value = "[email protected]"
* contact[0].telecom[1].value = "[email protected]"
* description = "The brew operation sends the BrewedBeverage resource to the Coffee/Tea brewing Device"
* code = #data-requirements
* comment = "The effect of invoking this operation is to initiate the Brew operation on the appropriate device with the inclusion of the \r\n requested additions"
Expand All @@ -29,17 +29,17 @@ Usage: #definition
Instance: hbstop
InstanceOf: OperationDefinition
Usage: #definition
* url = "http://hl7.org/fhir/OperationDefinition/BB-Stop"
* version = "4.0.1"
* url = "http://fhir.org/guides/acme/HotBeverage/OperationDefinition/hbstop"
* version = "1.4.2024"
* name = "HBstop"
* status = #draft
* kind = #operation
* date = "2020-04-01T09:29:23+11:00"
* publisher = "Acme (FHIR Project)"
* date = "2024-11-13T09:29:23+11:00"
* publisher = "Dave Pyke & John Moehrke"
* contact[0].telecom[0].system = #url
* contact[0].telecom[0].value = "http://hl7.org/fhir/acme"
* contact[0].telecom[0].value = "https://github.com/DavidPyke/HotBeverage"
* contact[0].telecom[1].system = #email
* contact[0].telecom[1].value = "[email protected]"
* contact[0].telecom[1].value = "[email protected]"
* description = "The stop operation sends the Device a direction to stop the brew of the beverage (primarily tea) to check for doneness. Used in combination with the Start operation to make the tea just right"
* code = #data-requirements
//* comment = "TBA--need text from RFC"
Expand All @@ -56,18 +56,18 @@ Usage: #definition
Instance: hbwhen
InstanceOf: OperationDefinition
Usage: #definition
* url = "http://hl7.org/fhir/OperationDefinition/BB-When"
* version = "4.0.1"
* url = "http://fhir.org/guides/acme/HotBeverage/OperationDefinition/hbwhen"
* version = "1.4.2024"
* name = "HBwhen"
* status = #draft
* kind = #operation
* date = "2020-04-01T09:29:23+11:00"
* publisher = "HL7 (FHIR Project)"
* date = "2024-11-13T09:29:23+11:00"
* publisher = "Dave Pyke & John Moehrke"
* contact[0].telecom[0].system = #url
* contact[0].telecom[0].value = "http://hl7.org/fhir"
* contact[0].telecom[0].value = "https://github.com/DavidPyke/HotBeverage"
* contact[0].telecom[1].system = #email
* contact[0].telecom[1].value = "[email protected]"
* description = " When coffee is poured, and milk is offered, it is necessary for the holder of the recipient of milk to say \"when\" at the time when\r\n sufficient milk has been introduced into the coffee. For this purpose, the \"WHEN\" operation has been added to FHIR. "
* contact[0].telecom[1].value = "[email protected]"
* description = "When coffee is poured, and milk is offered, it is necessary for the holder of the recipient of milk to say \"when\" at the time when\r\n sufficient milk has been introduced into the coffee. For this purpose, the \"WHEN\" operation has been added to FHIR. "
* code = #data-requirements
* comment = "Enough? Say WHEN."
* system = false
Expand Down
3 changes: 2 additions & 1 deletion input/fsh/milks.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBMilks
Title: "Milks List"
Description: "Milks to be added, if desired"
* ^caseSensitive = false
* ^experimental = false
* #RICEMILK "Rice Milk"
* #ALMOND "Almond Milk"
* #SKIM "Skim Milk"
Expand All @@ -15,5 +16,5 @@ Description: "Milks to be added, if desired"
ValueSet: HBMilkVS
Title: "Milk Additive Value Set"
Description: "Milk and milk-like liquids for use in coffee"

* ^experimental = false
* include codes from system HBMilks
4 changes: 3 additions & 1 deletion input/fsh/sizes.fsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CodeSystem: HBDrinkSize
Title: "Drink Size"
Description: "How much did you want?"
* ^experimental = false
* ^caseSensitive = false
* #SMALL "Small" "You call that a coffee?"
* #MED "Medium" "Not enough"
Expand All @@ -11,7 +12,7 @@ Description: "How much did you want?"
ValueSet: HBDrinkSizeVS
Title: "Size of Beverage to be Consumed"
Description: "You want how much?"

* ^experimental = false
* include codes from system HBDrinkSize

Instance: StarSizeVsDrinkSize
Expand All @@ -21,6 +22,7 @@ Description: "map between commonly understood drink sizes and the formal drink s
Usage: #definition
* name = "StarSizeVsDrinkSize"
* status = #active
* experimental = false
* date = 2022-03-09
* targetCanonical = "http://www.fhir.org/guides/hotbeverage/ValueSet/HBDrinkSizeVS"
* group.source = "https://customerservice.starbucks.com/app/answers/detail/a_id/3113"
Expand Down
5 changes: 3 additions & 2 deletions input/fsh/spice.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBSpice
Title: "Spice List"
Description: "Spice to be added, if desired"
* ^caseSensitive = false
* ^experimental = false
* #CINNAMON "cinnamon"
* #NUTMEG "nutmeg"
* #LAVENDER "lavender"
Expand All @@ -12,15 +13,15 @@ Description: "Spice to be added, if desired"
ValueSet: HBSpiceVS
Title: "Spice Additive Value Set"
Description: "Spice liquids for use in coffee"

* ^experimental = false
* include codes from system HBSpice

Alias: SCT = http://snomed.info/sct

ValueSet: NoDecaf
Title: "Decaf is for the weak"
Description: "No, Just No"

* ^experimental = false
* SCT#64100000 "No"


Expand Down
3 changes: 2 additions & 1 deletion input/fsh/sweet.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBSweeteners
Title: "Sweeteners List"
Description: "Sweeteners to be added, if desired"
* ^caseSensitive = false
* ^experimental = false
* #STEVIA "Stevia"
* #HONEY "Honey"
* #WSUGAR "White Sugar"
Expand All @@ -14,5 +15,5 @@ Description: "Sweeteners to be added, if desired"
ValueSet: HBSweetenersVS
Title: "Sweeteners Additive Value Set"
Description: "Sweeteners liquids for use in coffee"

* ^experimental = false
* include codes from system HBSweeteners
3 changes: 2 additions & 1 deletion input/fsh/syrops.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CodeSystem: HBSyrups
Title: "Syrups List"
Description: "Syrups to be added, if desired"
* ^caseSensitive = false
* ^experimental = false
* #VANILLA "Vanilla"
* #CARAMEL "Caramel"
* #HAZELNUT "Hazelnut"
Expand All @@ -18,5 +19,5 @@ Description: "Syrups to be added, if desired"
ValueSet: HBSyrupVS
Title: "Syrup Additive Value Set"
Description: "Syrups for use in coffee"

* ^experimental = false
* include codes from system HBSyrups
5 changes: 4 additions & 1 deletion input/ignoreWarnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

# 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)
# See https://github.com/FHIR/sample-ig/blob/master/input/ignoreWarnings.txt for examples
# See https://github.com/FHIR/sample-ig/blob/master/input/ignoreWarnings.txt for examples

# Yes we know that the codeSystem can't be obtained by the validator
WARNING: ConceptMap/StarSizeVsDrinkSize: ConceptMap.group[0].source: The Source Code System https://customerservice.starbucks.com/app/answers/detail/a_id/3113 is not fully defined and populated, and no sourceScope is specified, so the source code checking will not be performed
24 changes: 24 additions & 0 deletions input/pagecontent/download.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

You can also download:

- [this entire guide](full-ig.zip),
- the definition resources in [json](definitions.json.zip), [xml](definitions.xml.zip), or [ttl](definitions.ttl.zip)
- the example resources in [json](examples.json.zip), [xml](examples.xml.zip) or [ttl](examples.ttl.zip) format.

The source code for this Implementation Guide can be found on [Github](https://github.com/DavidPyke/HotBeverage)

#### Cross Version Analysis

{% include cross-version-analysis.xhtml %}

#### Dependency Table

{% include dependency-table.xhtml %}

#### Globals Table

{% include globals-table.xhtml %}

#### IP Statements

{% include ip-statements.xhtml %}
5 changes: 3 additions & 2 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ contact:
- system: email
value: [email protected]
use: work
version: 1.4.2022
version: 1.4.2024
license: CC0-1.0
fhirVersion: 4.0.1
copyrightYear: 2021+
releaseLabel: release
date: 2022-04-01
#date: 2022-04-01
jurisdiction: 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'

parameters: # see https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
Expand All @@ -45,3 +45,4 @@ parameters: # see https://confluence.hl7.org/display/FHIR/Implementation+Guide+
menu:
Home: index.html
Artifacts: artifacts.html
Download: download.html

0 comments on commit 38f5c14

Please sign in to comment.