From ea681b3571fd7625e18ee76cdd84e11b48dc6001 Mon Sep 17 00:00:00 2001 From: f-peverali <112709306+f-peverali@users.noreply.github.com> Date: Thu, 7 Mar 2024 15:18:59 +0100 Subject: [PATCH] * encounter MS (#146) * * encounter MS * fix dependency typo * auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation) --------- Co-authored-by: f-peverali --- ImplementationGuide/markdown/ReleaseNotes.md | 4 +- .../StructureDefinition-ISiKEkg.json | 5 ++ Resources/input/fsh/ISiK-Ekg.fsh | 87 ++++++++++--------- 3 files changed, 52 insertions(+), 44 deletions(-) diff --git a/ImplementationGuide/markdown/ReleaseNotes.md b/ImplementationGuide/markdown/ReleaseNotes.md index 7858ca7b..7e933a4f 100644 --- a/ImplementationGuide/markdown/ReleaseNotes.md +++ b/ImplementationGuide/markdown/ReleaseNotes.md @@ -8,8 +8,10 @@ Die erste Ziffer X bezeichnet ein Major-Release und regelt die Gültigkeit von R Version: 3.0.2 Datum: 30.01.2023 + +* MS auf dataAbsentReason gesetzt und Hinweis zur Nutzung https://github.com/gematik/spec-ISiK-Vitalparameter-und-Koerpermasze/pull/144 +* ISiK-EKG: .encounter MS Flag hinzu : https://github.com/gematik/spec-ISiK-Vitalparameter-und-Koerpermasze/pull/146 * Informationen zu Profilen präzisiert und Verpflichtung bei GCS und EKG geschwächt: https://github.com/gematik/spec-ISiK-Vitalparameter-und-Koerpermasze/pull/145/commits/3643ece93148c721d88c31ee1f6dbf8b5cbdd683 -* MS auf dataAbsentReason gesetzt und Hinweis zur Nutzung: https://github.com/gematik/spec-ISiK-Vitalparameter-und-Koerpermasze/pull/144 ---- Version: 3.0.1 diff --git a/Resources/fsh-generated/resources/StructureDefinition-ISiKEkg.json b/Resources/fsh-generated/resources/StructureDefinition-ISiKEkg.json index 8ea25250..97b19a36 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-ISiKEkg.json +++ b/Resources/fsh-generated/resources/StructureDefinition-ISiKEkg.json @@ -68,6 +68,11 @@ "path": "Observation.subject", "mustSupport": true }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "mustSupport": true + }, { "id": "Observation.effective[x]", "path": "Observation.effective[x]", diff --git a/Resources/input/fsh/ISiK-Ekg.fsh b/Resources/input/fsh/ISiK-Ekg.fsh index eb14ef84..89a8cf9f 100644 --- a/Resources/input/fsh/ISiK-Ekg.fsh +++ b/Resources/input/fsh/ISiK-Ekg.fsh @@ -1,44 +1,45 @@ -Profile: ISiKEkg -Parent: http://fhir.de/StructureDefinition/observation-de-ekg -Id: ISiKEkg -* insert Meta -* status MS -* category MS -* code MS -* subject MS -* effective[x] MS -* device MS -* component MS -* component.code MS -* component.value[x] MS -* component.valueSampledData MS -* component.valueSampledData.origin MS -* component.valueSampledData.period MS -* component.valueSampledData.dimensions MS -* component.valueSampledData.data MS - -Instance: ISiKEkgExample -InstanceOf: ISiKEkg -Usage: #example -* meta.profile[0] = "http://fhir.de/StructureDefinition/observation-de-ekg" -* subject = Reference(PatientinMusterfrau) -* status = #final -* category = $observation-category#procedure -* device = Reference(ExampleDevice) -* effectiveDateTime = "2019-07-02" -* code.coding[0] = $loinc#LP6244-0 "Electrocardiogram (EKG)" -* component[0].code.coding[0] = $loinc#LP7386-8 "Lead I" -* component[=].valueSampledData.origin.value = 2048 -* component[=].valueSampledData.period = 10 -* component[=].valueSampledData.dimensions = 1 -* component[=].valueSampledData.data = "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" -* component[+].code.coding[0] = $loinc#LP7386-6 "Lead II" -* component[=].valueSampledData.origin.value = 2048 -* component[=].valueSampledData.period = 10 -* component[=].valueSampledData.dimensions = 1 -* component[=].valueSampledData.data = "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" -* component[+].code.coding[0] = $loinc#LP7386-4 "Lead III" -* component[=].valueSampledData.origin.value = 2048 -* component[=].valueSampledData.period = 10 -* component[=].valueSampledData.dimensions = 1 +Profile: ISiKEkg +Parent: http://fhir.de/StructureDefinition/observation-de-ekg +Id: ISiKEkg +* insert Meta +* status MS +* category MS +* code MS +* subject MS +* encounter MS +* effective[x] MS +* device MS +* component MS +* component.code MS +* component.value[x] MS +* component.valueSampledData MS +* component.valueSampledData.origin MS +* component.valueSampledData.period MS +* component.valueSampledData.dimensions MS +* component.valueSampledData.data MS + +Instance: ISiKEkgExample +InstanceOf: ISiKEkg +Usage: #example +* meta.profile[0] = "http://fhir.de/StructureDefinition/observation-de-ekg" +* subject = Reference(PatientinMusterfrau) +* status = #final +* category = $observation-category#procedure +* device = Reference(ExampleDevice) +* effectiveDateTime = "2019-07-02" +* code.coding[0] = $loinc#LP6244-0 "Electrocardiogram (EKG)" +* component[0].code.coding[0] = $loinc#LP7386-8 "Lead I" +* component[=].valueSampledData.origin.value = 2048 +* component[=].valueSampledData.period = 10 +* component[=].valueSampledData.dimensions = 1 +* component[=].valueSampledData.data = "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" +* component[+].code.coding[0] = $loinc#LP7386-6 "Lead II" +* component[=].valueSampledData.origin.value = 2048 +* component[=].valueSampledData.period = 10 +* component[=].valueSampledData.dimensions = 1 +* component[=].valueSampledData.data = "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" +* component[+].code.coding[0] = $loinc#LP7386-4 "Lead III" +* component[=].valueSampledData.origin.value = 2048 +* component[=].valueSampledData.period = 10 +* component[=].valueSampledData.dimensions = 1 * component[=].valueSampledData.data = "2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059 2059 2066 2077 2073" \ No newline at end of file