diff --git a/.gitignore b/.gitignore index 449e3e8..f11ab13 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,10 @@ fsh-generated/** # editing files and folders .vscode/** + +# Ignore all files in the 'translations' directory +/translations/* + +# Exclude 'input/translations' from being ignored +!input/translations/ +!input/translations/** diff --git a/ig.ini b/ig.ini index 3998936..5c66c46 100644 --- a/ig.ini +++ b/ig.ini @@ -1,3 +1,4 @@ [IG] ig = fsh-generated/resources/ImplementationGuide-ch.fhir.ig.ch-ig.json -template = ch.fhir.ig.template#current \ No newline at end of file +# template = ch.fhir.ig.template#current +template = fhir2.base.template#current diff --git a/input/fsh/extensions/Test.fsh b/input/fsh/extensions/Test.fsh new file mode 100644 index 0000000..c518512 --- /dev/null +++ b/input/fsh/extensions/Test.fsh @@ -0,0 +1,8 @@ +Extension: ChIgTest +Id: ch-ig-test +Title: "CH IG Test" +Description: "CH IG extension as an example." +Context: Practitioner +* value[x] only string +* valueString 1..1 +* valueString ^short = "Extension details" diff --git a/input/fsh/profiles/Practitioner.fsh b/input/fsh/profiles/Practitioner.fsh index 95ffbb9..baf8315 100644 --- a/input/fsh/profiles/Practitioner.fsh +++ b/input/fsh/profiles/Practitioner.fsh @@ -4,4 +4,4 @@ Id: ch-ig-practitioner Title: "CH IG Practitioner" Description: "Example profile defining a Practitioner resource." * . ^short = "CH IG Practitioner" - +* extension contains ChIgTest named test 0..1 diff --git a/input/pagecontent/extensions.md b/input/pagecontent/extensions.md index a6d2020..26e59f9 100644 --- a/input/pagecontent/extensions.md +++ b/input/pagecontent/extensions.md @@ -1,2 +1,2 @@ -{% include list-extensions.xhtml %} +{% lang-fragment list-extensions.xhtml %} diff --git a/input/pagecontent/index.md b/input/pagecontent/index.md index c75794c..a95ea0c 100644 --- a/input/pagecontent/index.md +++ b/input/pagecontent/index.md @@ -14,7 +14,7 @@ For detailed instructions and best practice approaches for developing implementa -**Download**: You can download this implementation guide in the [NPM package](https://confluence.hl7.org/display/FHIR/NPM+Package+Specification) format from [here](package.tgz). +**Download**: You can download this implementation guide in the [NPM package](https://confluence.hl7.org/display/FHIR/NPM+Package+Specification) format from [here](../package.tgz). ### IP Statements This document is licensed under Creative Commons "No Rights Reserved" ([CC0](https://creativecommons.org/publicdomain/zero/1.0/)). @@ -23,16 +23,16 @@ HL7®, HEALTH LEVEL SEVEN®, FHIR® and the FHIR