From a5291a11842f4d3c552569331dc98d5b76a96c47 Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Tue, 8 Oct 2024 11:35:00 +0100 Subject: [PATCH 1/4] Create Assets for Sample State -Retire CodeSystem-UKCore-BiopsyState and ValueSet-UKCore-BiopsyState -Create CodeSystem-UKCore-PrimarySampleState and ValueSet-UKCore-SampleState --- codesystems/CodeSystem-UKCore-BiopsyState.xml | 4 +- .../CodeSystem-UKCore-PrimarySampleState.xml | 45 +++++++++++++++++++ valuesets/ValueSet-UKCore-BiopsyState.xml | 4 +- valuesets/ValueSet-UKCore-SampleState.xml | 29 ++++++++++++ 4 files changed, 78 insertions(+), 4 deletions(-) create mode 100644 codesystems/CodeSystem-UKCore-PrimarySampleState.xml create mode 100644 valuesets/ValueSet-UKCore-SampleState.xml diff --git a/codesystems/CodeSystem-UKCore-BiopsyState.xml b/codesystems/CodeSystem-UKCore-BiopsyState.xml index e5bb46e4..90a1bfe3 100644 --- a/codesystems/CodeSystem-UKCore-BiopsyState.xml +++ b/codesystems/CodeSystem-UKCore-BiopsyState.xml @@ -4,8 +4,8 @@ - <status value="active" /> - <date value="2023-04-28" /> + <status value="retired" /> + <date value="2023-10-07" /> <publisher value="HL7 UK" /> <contact> <name value="HL7 UK" /> diff --git a/codesystems/CodeSystem-UKCore-PrimarySampleState.xml b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml new file mode 100644 index 00000000..5b95ca34 --- /dev/null +++ b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml @@ -0,0 +1,45 @@ +<CodeSystem xmlns="http://hl7.org/fhir"> + <id value="UKCore-PrimarySampleState" /> + <url value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PrimarySampleState" /> + <version value="1.0.0" /> + <name value="UKCorePrimarySampleState" /> + <title value="UK Core Primary Sample State" /> + <status value="active" /> + <date value="2024-10-07" /> + <publisher value="HL7 UK" /> + <contact> + <name value="HL7 UK" /> + <telecom> + <system value="email" /> + <value value="ukcore@hl7.org.uk" /> + <use value="work" /> + <rank value="1" /> + </telecom> + </contact> + <description value="A CodeSystem to used indicate the sample state/condition." /> + <copyright + value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> + <caseSensitive value="true" /> + <content value="complete" /> + <concept> + <code value="blood-spot" /> + <display value="Blood spot" /> + </concept> + <concept> + <code value="FFPE" /> + <display value="Formalin-fixed paraffin-embedded" /> + </concept> + <concept> + <code value="fresh" /> + <display value="Fresh" /> + </concept> + <concept> + <code value="frozen" /> + <display value="Frozen" /> + </concept> + <concept> + <code value="other" /> + <display value="Other" /> + <definition value="Any other suitable sample condition that is an alternative to concepts provided in this CodeSystem. This should be provided by free text." /> + </concept> +</CodeSystem> \ No newline at end of file diff --git a/valuesets/ValueSet-UKCore-BiopsyState.xml b/valuesets/ValueSet-UKCore-BiopsyState.xml index 61844b98..52b5ca02 100644 --- a/valuesets/ValueSet-UKCore-BiopsyState.xml +++ b/valuesets/ValueSet-UKCore-BiopsyState.xml @@ -4,8 +4,8 @@ <version value="2.1.0" /> <name value="UKCoreBiopsyState" /> <title value="UK Core Biopsy State" /> - <status value="active" /> - <date value="2023-04-28" /> + <status value="retired" /> + <date value="2023-10-07" /> <publisher value="HL7 UK" /> <contact> <name value="HL7 UK" /> diff --git a/valuesets/ValueSet-UKCore-SampleState.xml b/valuesets/ValueSet-UKCore-SampleState.xml new file mode 100644 index 00000000..87ede9fa --- /dev/null +++ b/valuesets/ValueSet-UKCore-SampleState.xml @@ -0,0 +1,29 @@ +<ValueSet xmlns="http://hl7.org/fhir"> + <id value="UKCore-SampleState" /> + <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleState" /> + <version value="1.0.0" /> + <name value="UKCoreSampleState" /> + <title value="UK Core Sample State" /> + <status value="active" /> + <date value="2024-10-07" /> + <publisher value="HL7 UK" /> + <contact> + <name value="HL7 UK" /> + <telecom> + <system value="email" /> + <value value="ukcore@hl7.org.uk" /> + <use value="work" /> + <rank value="1" /> + </telecom> + </contact> + <description value="A set of codes to used indicate the sample state/condition." /> + <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> + <compose> + <include> + <system value="http://terminology.hl7.org/CodeSystem/v2-0493" /> + </include> + <include> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PrimarySampleState" /> + </include> + </compose> +</ValueSet> \ No newline at end of file From 80ae376a09ca3e40af1a613112cef88599fd4fb1 Mon Sep 17 00:00:00 2001 From: KazeemHamzat <kazeem.hamzat@nhs.net> Date: Tue, 8 Oct 2024 11:57:04 +0100 Subject: [PATCH 2/4] Update UKCore-Specimen Update binding of specimen.condition to ValueSet/UKCore-SampleState --- structuredefinitions/UKCore-Specimen.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structuredefinitions/UKCore-Specimen.xml b/structuredefinitions/UKCore-Specimen.xml index 28db21c9..01301f33 100644 --- a/structuredefinitions/UKCore-Specimen.xml +++ b/structuredefinitions/UKCore-Specimen.xml @@ -2,11 +2,11 @@ <StructureDefinition xmlns="http://hl7.org/fhir"> <id value="UKCore-Specimen" /> <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen" /> - <version value="2.4.0" /> + <version value="3.0.0" /> <name value="UKCoreSpecimen" /> <title value="UK Core Specimen" /> <status value="active" /> - <date value="2023-12-12" /> + <date value="2024-10-07" /> <publisher value="HL7 UK" /> <contact> <name value="HL7 UK" /> @@ -159,8 +159,8 @@ <path value="Specimen.condition" /> <binding> <strength value="extensible" /> - <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BiopsyState" /> + <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleState" /> </binding> </element> </differential> -</StructureDefinition> +</StructureDefinition> \ No newline at end of file From 3755013054e714fd5c939cabb2fbd86dbad7e89e Mon Sep 17 00:00:00 2001 From: KazeemHamzat <kazeem.hamzat@nhs.net> Date: Mon, 14 Oct 2024 15:55:20 +0100 Subject: [PATCH 3/4] Update Description for CodeSystem & ValueSet PrimarySampleState Update Description for CodeSystem-UKCore-PrimarySampleState. & ValueSet-UKCore-SampleState. --- codesystems/CodeSystem-UKCore-PrimarySampleState.xml | 2 +- valuesets/ValueSet-UKCore-SampleState.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codesystems/CodeSystem-UKCore-PrimarySampleState.xml b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml index 5b95ca34..3168ca9c 100644 --- a/codesystems/CodeSystem-UKCore-PrimarySampleState.xml +++ b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml @@ -16,7 +16,7 @@ <rank value="1" /> </telecom> </contact> - <description value="A CodeSystem to used indicate the sample state/condition." /> + <description value="A CodeSystem used to indicate the sample state/condition." /> <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> <caseSensitive value="true" /> diff --git a/valuesets/ValueSet-UKCore-SampleState.xml b/valuesets/ValueSet-UKCore-SampleState.xml index 87ede9fa..24d47962 100644 --- a/valuesets/ValueSet-UKCore-SampleState.xml +++ b/valuesets/ValueSet-UKCore-SampleState.xml @@ -16,7 +16,7 @@ <rank value="1" /> </telecom> </contact> - <description value="A set of codes to used indicate the sample state/condition." /> + <description value="A set of codes used to indicate the sample state/condition." /> <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> <compose> <include> From 7de86bf2d3b1ebe8c8bff9be09acb4c5a4a0b7e1 Mon Sep 17 00:00:00 2001 From: KazeemHamzat <kazeem.hamzat@nhs.net> Date: Wed, 16 Oct 2024 16:57:16 +0100 Subject: [PATCH 4/4] Add Code Sources Added Code Sources to the assets description. --- codesystems/CodeSystem-UKCore-PrimarySampleState.xml | 2 +- valuesets/ValueSet-UKCore-SampleState.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/codesystems/CodeSystem-UKCore-PrimarySampleState.xml b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml index 3168ca9c..70fb2688 100644 --- a/codesystems/CodeSystem-UKCore-PrimarySampleState.xml +++ b/codesystems/CodeSystem-UKCore-PrimarySampleState.xml @@ -16,7 +16,7 @@ <rank value="1" /> </telecom> </contact> - <description value="A CodeSystem used to indicate the sample state/condition." /> + <description value="A CodeSystem used to indicate the sample state/condition. The codes and their description are datasets definition from the Genomics Master Datasets." /> <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> <caseSensitive value="true" /> diff --git a/valuesets/ValueSet-UKCore-SampleState.xml b/valuesets/ValueSet-UKCore-SampleState.xml index 24d47962..4221c243 100644 --- a/valuesets/ValueSet-UKCore-SampleState.xml +++ b/valuesets/ValueSet-UKCore-SampleState.xml @@ -16,7 +16,8 @@ <rank value="1" /> </telecom> </contact> - <description value="A set of codes used to indicate the sample state/condition." /> + <description + value="A set of codes used to indicate the sample state/condition. Selected from the Genomics Master Datasets" /> <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> <compose> <include>