-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from fhir-fi/warn-for-bad-examples
Add warnings for failing examples
- Loading branch information
Showing
30 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{:.dragon} | ||
This example does not validate properly. It has been imported from an implementation guide for the | ||
Kanta Prescription system, maintained by Kela, for the purposes of spreading information of | ||
existing implementations of this resource type. Do pay attention to the validation messages in the | ||
[QA report](qa.html) of this implementation guide, before using this example. Also please track the | ||
[Kanta FHIR Prescription R4](https://simplifier.net/prescriptionr4) implementation guide for any | ||
changes in examples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{:.dragon} | ||
This example does not validate properly in the context of this implementation guide. It has been | ||
imported from an implementation guide for Kanta PHR system, maintained by Kela, for the purposes of | ||
spreading information of existing implementations of this resource type. Do pay attention to the | ||
validation messages in the [QA report](qa.html) of this implementation guide, before using this | ||
example. Also please track the [Finnish PHR R4](https://simplifier.net/finnishphrr4) implementation | ||
guide for any changes in examples. |
6 changes: 6 additions & 0 deletions
6
input/pagecontent/Appointment-appointment-general-practitioner-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{:.dragon} | ||
This example refers to extensions defined in another implementation guide, the | ||
[FinnishScheduling R4](https://simplifier.net/finnishschedulingr4/) IG, and has errors in the | ||
[QA Report](qa.html) for this guide. The schedulinig IG is about to be updadted and the | ||
canonical urls defined for the extensions may change, at least to have a `https` protocol instead | ||
of `http`. |
16 changes: 16 additions & 0 deletions
16
input/pagecontent/Bundle-diabetes-data-bundle-kantaphr-sv-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This example uses the older | ||
[STU3 profile](https://simplifier.net/finnishphr/fiphr-sd-bloodglucose-stu3) of the Finnish PHR. | ||
|
||
{:.dragon} | ||
The example does not validate properly in the context of this implementation guide. Do pay | ||
attention to the validation messages in the [QA report](qa.html) of this implementation guide, | ||
before using this example. | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`, as mandated | ||
by Kela (see the | ||
[Narrative guide](https://simplifier.net/guide/FinnishPHRImplementationGuideSTU5/FinnishPHRVitalSignsProfiles?version=current#narrative-guide) | ||
and the [customized localizations](https://simplifier.net/finnishphr/fiphr-vs-vitalsigns)). | ||
|
||
The example also refers to the code system `http://hl7.org/fhir/observation-category` | ||
[mandated by the profile](https://simplifier.net/finnishphr/fiphr-sd-bloodglucose-stu3). That | ||
system does not resolve. |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim1-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim2-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim3-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim4-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim5-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim6-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim7A-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim7B-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim8-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
1 change: 1 addition & 0 deletions
1
input/pagecontent/MedicationRequest-medicationrequestesim9-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-meds-warning.md %} |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-1153859e-0c86-1000-abb8-511d0000b222-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-4137d1c4-1e87-4e86-8c15-344ad086e3f8-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-4137d1c4-1e87-4e86-8c15-344ad086e3f9-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-48983b8b-ead3-4206-9583-fcdd40d762b6-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-48983b8b-ead3-4206-9583-fcdd40d762b7-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
5 changes: 5 additions & 0 deletions
5
input/pagecontent/Observation-71831b54-1a80-47c5-ba84-0180a5eb784b-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% include fragment-kanta-phr-warning.md %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
Also note that the narrative does not seem to present what is actually in the resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
3 changes: 3 additions & 0 deletions
3
input/pagecontent/Observation-example-Bloodpressure-max-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% include fragment-kanta-phr-warning.md %} | ||
|
||
The example uses a customized `display` value in `valueCodeableConcept.coding.display`. If you want | ||
to customize the display of a known code (such as the LOINC codes in this case), you should use the | ||
`valueCodeableConcept.text` property instead. |
4 changes: 4 additions & 0 deletions
4
input/pagecontent/Practitioner-practitioner-licensed-physician-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{:.dragon} | ||
This example is from a live system. It does not follow the best practice recommendation from IPA | ||
that the name should have the `.text` element populated. Also the identifier type `MNEMONIC` is not | ||
recognized in the context of this implementation guide. |
4 changes: 4 additions & 0 deletions
4
.../pagecontent/Provenance-kanta-document-metadata-profile-test-example-1-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{:.dragon} | ||
This example is intentionally built to not pass validation, and included in the implementation | ||
guide to show that resource validation works in the expected way using the `imposesProfile` | ||
extension. |
4 changes: 4 additions & 0 deletions
4
.../pagecontent/Provenance-kanta-document-metadata-profile-test-example-2-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{:.dragon} | ||
This example is intentionally built to not pass validation, and included in the implementation | ||
guide to show that resource validation works in the expected way using the `imposesProfile` | ||
extension. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters