Revamped to use new template, improved documentation and fixed a number of rendering issues

This commit is contained in:
Lloyd McKenzie
2020-01-21 13:58:23 -07:00
parent 16285d1986
commit 6252bbef23
25 changed files with 50190 additions and 371 deletions

View File

@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patient xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<Patient xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<id value="example"/>
<extension url="http://example.org/fhir/uv/myig/StructureDefinition/ext-myExtension">
<meta>
<profile value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
</meta>
<extension url="http://somewhere.org/fhir/uv/myig/StructureDefinition/ext-myExtension">
<valueBoolean value="false"/>
</extension>
<name>

View File

@@ -4,3 +4,14 @@
// 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
// This is inherited from the base resource
WARNING: StructureDefinition/myObservation: StructureDefinition.snapshot.element[15].mapping[3].map: value should not start or finish with whitespace
// We're expecting these to not match the slice - we're showing how you can use slicing to define the one repetition you want even when many repetitions might be present
INFORMATION: Patient/example: Patient.name[0]: This element does not match any known slice for the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient
INFORMATION: Patient/example: Patient.name[1]: This element does not match any known slice for the profile http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient
// If this was a real IG, there should be examples for these profiles too. But it's not, and I'm lazy...
WARNING: http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation: The Implementation Guide contains no examples for this profile
WARNING: http://somewhere.org/fhir/uv/myig/StructureDefinition/mypractitioner: The Implementation Guide contains no examples for this profile

View File

@@ -1,8 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Start by finding all references to "myig" and updating to appropriate text for your IG, including changing realm -->
<ImplementationGuide xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../input-cache/schemas-r5/fhir-single.xsd">
<ImplementationGuide xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../input-cache/schemas/R5/fhir-single.xsd">
<id value="example.fhir.uv.myig"/>
<url value="http://example.org/fhir/uv/myig/ImplementationGuide/example.fhir.uv.myig"/>
<!-- <extension url="http://hl7.org/fhir/tools/StructureDefinition/igpublisher-spreadsheet">
<valueString value="resources-spreadsheet.xml"/>
</extension>-->
<url value="http://somewhere.org/fhir/uv/myig/ImplementationGuide/example.fhir.uv.myig"/>
<!-- This version will propagate to all artifacts unless the "propagate-version" extension is overridden -->
<version value="0.1.0"/>
<name value="YourComputableMyIGNameHere"/>
<title value="Your User Friendly Name for MyIG Here"/>
<status value="draft"/>
@@ -29,18 +34,27 @@
</coding>
</jurisdiction>
<packageId value="example.fhir.uv.myig"/>
<!-- This is whatever FHIR version the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
<!-- This should be changed to 'not-open-source' or another license if appropriate for non-HL7-published content -->
<license value="CC0-1.0"/>
<!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
<fhirVersion value="4.0.1"/>
<definition>
<!-- You don't need to define any groupings. The IGPublisher will define them for you. You only need to do so if your IG is 'special' and it's
inappropriate to use the defaults. Feel free to provide feedback about the defaults... -->
<!-- <resource>
<resource>
<reference>
<reference value="StructureDefinition/structuredefinition-somePatientProfile"/>
<reference value="StructureDefinition/mypatient"/>
</reference>
<name value="Name you want in artifact list"/>
<description value="Description you want in artifact list"/>
</resource>-->
<description value="Overriding description because we can"/>
</resource>
<resource>
<reference>
<reference value="Patient/example"/>
</reference>
<name value="Simple patient example"/>
<description value="A simple example showing how examples are defined and referenced"/>
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
</resource>
<page>
<!-- The root will always be toc.html - the template will force it if you don't do it -->
<nameUrl value="toc.html"/>
@@ -72,5 +86,36 @@
<generation value="html"/>
</page>
</page>
<!-- copyright year is a mandatory parameter -->
<parameter>
<code value="copyrightyear"/>
<value value="2019+"/>
</parameter>
<!-- releaselabel should be the ballot status for HL7-published IGs. -->
<parameter>
<code value="releaselabel"/>
<value value="CI Build"/>
</parameter>
<parameter>
<code value="find-other-resources"/>
<value value="true"/>
</parameter>
<!-- Uncomment one or more of these if you want to limit which syntaxes are supported or want to disable the display of mappings
<parameter>
<code value="excludexml"/>
<value value="true"/>
</parameter>
<parameter>
<code value="excludejson"/>
<value value="true"/>
</parameter>
<parameter>
<code value="excludettl"/>
<value value="true"/>
</parameter>
<parameter>
<code value="excludemap"/>
<value value="true"/>
</parameter>-->
</definition>
</ImplementationGuide>

View File

@@ -1,4 +1,4 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<p>
Introductory guidance on the patient profile
</p>

View File

@@ -1,4 +1,4 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<p>
Usage notes on the patient profile
</p>

View File

@@ -1,5 +1,10 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<p>
<img src="anImage.png" alt="A sample image"/>
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<h3>Heading 1</h3>
<p>
Some text
</p>
</div>
<h3>Heading 2</h3>
<p>
<img height="600" src="anImage.png" alt="A sample image"/>
</p>
</div>

View File

@@ -1,4 +1,4 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<p>
This provides a list of changes to the MyIG specification since its initial release
</p>

View File

@@ -1,5 +1,48 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
{% assign excludexml = site.data.info.excludexml | downcase | slice: 0 %}
{% assign excludejson = site.data.info.excludejson | downcase | slice: 0 %}
{% assign excludettl = site.data.info.excludettl | downcase | slice: 0 %}
<p>
To do
</p>
Download the entire implementation guide <a href="full-ig.zip">here</a>
</p>
<table>
<tbody>
<tr>
<th>Artifact Definitions</th>
{% unless excludexml == 'y' %}
<td>
<a href="definitions.xml.zip">XML</a>
</td>
{% endunless %}
{% unless excludejson == 'y' %}
<td>
<a href="definitions.json.zip">JSON</a>
</td>
{% endunless %}
{% unless excludettl == 'y' %}
<td>
<a href="definitions.ttl.zip">Turtle</a>
</td>
{% endunless %}
</tr>
<tr>
<th>Examples</th>
{% unless excludexml == 'y' %}
<td>
<a href="examples.xml.zip">XML</a>
</td>
{% endunless %}
{% unless excludejson == 'y' %}
<td>
<a href="examples.json.zip">JSON</a>
</td>
{% endunless %}
{% unless excludettl == 'y' %}
<td>
<a href="examples.ttl.zip">Turtle</a>
</td>
{% endunless %}
</tr>
</tbody>
</table>
</div>

View File

@@ -1,4 +1,4 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<!-- The spaces between the open and close "a" tag are mandatory. (Cuz HTML renderers are dumb...) -->
<a name="intro"> </a>
<h3>Introduction</h3>

View File

@@ -1,2 +1,2 @@
###A Heading
### A Heading
You can also use markdown if that's your thing

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas-r5/fhir-single.xsd">
<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<id value="myObservation"/>
<url value="http://example.org/fhir/uv/myig/StructureDefinition/myObservation"/>
<url value="http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation"/>
<name value="MyObservation"/>
<title value="My Observation Profile"/>
<status value="draft"/>

File diff suppressed because it is too large Load Diff