From f438b21b873b99638e45c83161867490488171b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Rinnetm=C3=A4ki?= Date: Sun, 22 Oct 2023 22:36:29 +0300 Subject: [PATCH 1/3] Fix file name for BP example Also finalize the content. --- input/pagecontent/Observation-bloodpressure-max-intro.md | 3 +++ .../pagecontent/Observation-example-Bloodpressure-max-intro.md | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 input/pagecontent/Observation-bloodpressure-max-intro.md delete mode 100644 input/pagecontent/Observation-example-Bloodpressure-max-intro.md diff --git a/input/pagecontent/Observation-bloodpressure-max-intro.md b/input/pagecontent/Observation-bloodpressure-max-intro.md new file mode 100644 index 0000000..aa6e3d9 --- /dev/null +++ b/input/pagecontent/Observation-bloodpressure-max-intro.md @@ -0,0 +1,3 @@ +{% include fragment-kanta-phr-warning.md %} + +The example has an empty value for `.note.text`. \ No newline at end of file diff --git a/input/pagecontent/Observation-example-Bloodpressure-max-intro.md b/input/pagecontent/Observation-example-Bloodpressure-max-intro.md deleted file mode 100644 index 9ab2cec..0000000 --- a/input/pagecontent/Observation-example-Bloodpressure-max-intro.md +++ /dev/null @@ -1,3 +0,0 @@ -{% include fragment-kanta-phr-warning.md %} - -The \ No newline at end of file From c78ca82917932772e87871f5a39c5bf81852d6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Rinnetm=C3=A4ki?= Date: Sun, 22 Oct 2023 22:37:50 +0300 Subject: [PATCH 2/3] Add error descriptions for bad examples The Provenance ones for Kela. --- .../Provenance-custodian-public-healthcare-kela-intro.md | 8 ++++++++ input/pagecontent/Provenance-id-for-provenance-1-intro.md | 8 ++++++++ sushi-config.yaml | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 input/pagecontent/Provenance-custodian-public-healthcare-kela-intro.md create mode 100644 input/pagecontent/Provenance-id-for-provenance-1-intro.md diff --git a/input/pagecontent/Provenance-custodian-public-healthcare-kela-intro.md b/input/pagecontent/Provenance-custodian-public-healthcare-kela-intro.md new file mode 100644 index 0000000..5d4cab8 --- /dev/null +++ b/input/pagecontent/Provenance-custodian-public-healthcare-kela-intro.md @@ -0,0 +1,8 @@ +{:.dragon} +This example has numerous errors. Please see the +[QA report](file:///Users/mikael/GitHub/finnish-base-profiles/output/qa.html#_Users_mikael_GitHub_finnish-base-profiles_input_examples_provenance_rekpit_containedviittaukset2) +for a detailed explanation. + +This example has been included into the implementation guide to demonstrate how the Provenance +resource can be used in the way it is planned to be used in Kanta system, still basing the +implementation on the Finnish base profile definitions. diff --git a/input/pagecontent/Provenance-id-for-provenance-1-intro.md b/input/pagecontent/Provenance-id-for-provenance-1-intro.md new file mode 100644 index 0000000..cd39ac2 --- /dev/null +++ b/input/pagecontent/Provenance-id-for-provenance-1-intro.md @@ -0,0 +1,8 @@ +{:.dragon} +This example has numerous errors. Please see the +[QA report](file:///Users/mikael/GitHub/finnish-base-profiles/output/qa.html#_Users_mikael_GitHub_finnish-base-profiles_input_examples_VIRHE2_KELABASELISAYKSET-Provenance-custodian-public-healthcare) +for a detailed explanation. + +This example has been included into the implementation guide to demonstrate how the Provenance +resource can be used in the way it is planned to be used in Kanta system, still basing the +implementation on the Finnish base profile definitions. diff --git a/sushi-config.yaml b/sushi-config.yaml index ec03712..034dd1d 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -248,8 +248,8 @@ resources: description: A patient id supporting other examples, not included in the guide. exampleBoolean: false Provenance/custodian-public-healthcare-kela: - name: Mika's Provenance example - description: Solving Kela's problem with information custodian + name: Provenance example for Kanta + description: This example resource shows how information custodianship can be implemented with the support of the Finnish base profiles. It is derived from a provided example. exampleCanonical: https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/kanta-document-metadata-profile pages: From e7b84bec5f32b6955e31f223fc50622b45f1923f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Rinnetm=C3=A4ki?= Date: Sun, 22 Oct 2023 22:38:24 +0300 Subject: [PATCH 3/3] Fix a minor typo Should do some spell checking overall? --- ...ance-kanta-document-metadata-profile-test-example-1-intro.md | 2 +- ...ance-kanta-document-metadata-profile-test-example-2-intro.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-1-intro.md b/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-1-intro.md index 337d00f..8c44eec 100644 --- a/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-1-intro.md +++ b/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-1-intro.md @@ -1,3 +1,3 @@ {:.dragon} -This example is intentionally wrong, and included in the implementation giude to show that resource +This example is intentionally wrong, and included in the implementation guide to show that resource validation works in the expected way using the `imposesProfile` extension. \ No newline at end of file diff --git a/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-2-intro.md b/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-2-intro.md index 337d00f..8c44eec 100644 --- a/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-2-intro.md +++ b/input/pagecontent/Provenance-kanta-document-metadata-profile-test-example-2-intro.md @@ -1,3 +1,3 @@ {:.dragon} -This example is intentionally wrong, and included in the implementation giude to show that resource +This example is intentionally wrong, and included in the implementation guide to show that resource validation works in the expected way using the `imposesProfile` extension. \ No newline at end of file