From 1018c5f2f9a65bafc108e4339c412eb4f7a687a7 Mon Sep 17 00:00:00 2001 From: Kazeem Hamzat Date: Mon, 22 Jun 2026 13:51:03 +0100 Subject: [PATCH 1/3] Update ValueSet-UKCore-SampleCategory ValueSet-UKCore-SampleCategory is out of date with it associated CodeSystem-UKCore-SampleCategory. There is need to update the ValueSet so that updated values are displayed [Genomics IG page|https://simplifier.net/guide/fhir-genomics-implementation-guide/home/fhirassets/valuesets/genomic-sample-category.page.md?version=current] for it. --- valuesets/ValueSet-UKCore-SampleCategory.xml | 96 +++++++++++++------- 1 file changed, 61 insertions(+), 35 deletions(-) diff --git a/valuesets/ValueSet-UKCore-SampleCategory.xml b/valuesets/ValueSet-UKCore-SampleCategory.xml index 8d47c7ce8..be0c1d6b2 100644 --- a/valuesets/ValueSet-UKCore-SampleCategory.xml +++ b/valuesets/ValueSet-UKCore-SampleCategory.xml @@ -1,42 +1,68 @@ + - - - - - - <status value="active" /> - <date value="2023-04-28" /> - <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 that define the category of a sample." /> - <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="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> - </include> - </compose> + <id value="UKCore-SampleCategory"/> + <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleCategory"/> + <version value="2.2.0"/> + <name value="UKCoreSampleCategory"/> + <title value="UK Core Sample Category"/> + <status value="active"/> + <date value="2026-06-22"/> + <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 that define the category of a sample."/> + <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="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <version value="2.0.0"/> + </include> + </compose> <expansion> - <identifier value="98bada17-6d7a-4c4a-989a-57f3fda4f4f5" /> - <timestamp value="2023-05-04T14:02:57+00:00" /> - <total value="2" /> - <offset value="0" /> + <identifier value="98bada17-6d7a-4c4a-989a-57f3fda4f4f5"/> + <timestamp value="2026-06-22T00:00:00Z"/> + <total value="6"/> + <offset value="0"/> + <parameter> + <name value="system-version"/> + <valueString value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory|2.0.0"/> + </parameter> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> - <code value="tumour" /> - <display value="Tumour" /> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="tumour"/> + <display value="Tumour"/> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> - <code value="germline" /> - <display value="Germline" /> - </contains> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="solid-tumour"/> + <display value="Solid Tumour"/> + </contains> + <contains> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="liquid-tumour"/> + <display value="Liquid Tumour"/> + </contains> + <contains> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="germline"/> + <display value="Germline"/> + </contains> + <contains> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="other"/> + <display value="Other"/> + </contains> + <contains> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> + <code value="not-known"/> + <display value="Not Known"/> + </contains> </expansion> </ValueSet> \ No newline at end of file From 61d8e2dd9c97628212d0cc8dbd3657610292ac5b Mon Sep 17 00:00:00 2001 From: Ryan May <112563297+ryma2fhir@users.noreply.github.com> Date: Mon, 22 Jun 2026 14:04:07 +0100 Subject: [PATCH 2/3] GitHub Action: Find and Replace --- valuesets/ValueSet-UKCore-SampleCategory.xml | 82 ++++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/valuesets/ValueSet-UKCore-SampleCategory.xml b/valuesets/ValueSet-UKCore-SampleCategory.xml index be0c1d6b2..6af4864eb 100644 --- a/valuesets/ValueSet-UKCore-SampleCategory.xml +++ b/valuesets/ValueSet-UKCore-SampleCategory.xml @@ -1,68 +1,68 @@ <?xml version="1.0"?> <ValueSet xmlns="http://hl7.org/fhir"> - <id value="UKCore-SampleCategory"/> - <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleCategory"/> - <version value="2.2.0"/> - <name value="UKCoreSampleCategory"/> - <title value="UK Core Sample Category"/> - <status value="active"/> - <date value="2026-06-22"/> - <publisher value="HL7 UK"/> + <id value="UKCore-SampleCategory" /> + <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleCategory" /> + <version value="2.2.0" /> + <name value="UKCoreSampleCategory" /> + <title value="UK Core Sample Category" /> + <status value="active" /> + <date value="2026-06-22" /> + <publisher value="HL7 UK" /> <contact> - <name value="HL7 UK"/> + <name value="HL7 UK" /> <telecom> - <system value="email"/> - <value value="ukcore@hl7.org.uk"/> - <use value="work"/> - <rank value="1"/> + <system value="email" /> + <value value="ukcore@hl7.org.uk" /> + <use value="work" /> + <rank value="1" /> </telecom> </contact> - <description value="A set of codes that define the category of a sample."/> - <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."/> + <description value="A set of codes that define the category of a sample." /> + <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="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <version value="2.0.0"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <version value="2.0.0" /> </include> </compose> <expansion> - <identifier value="98bada17-6d7a-4c4a-989a-57f3fda4f4f5"/> - <timestamp value="2026-06-22T00:00:00Z"/> - <total value="6"/> - <offset value="0"/> + <identifier value="98bada17-6d7a-4c4a-989a-57f3fda4f4f5" /> + <timestamp value="2026-06-22T00:00:00Z" /> + <total value="6" /> + <offset value="0" /> <parameter> - <name value="system-version"/> - <valueString value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory|2.0.0"/> + <name value="system-version" /> + <valueString value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory|2.0.0" /> </parameter> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="tumour"/> - <display value="Tumour"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="tumour" /> + <display value="Tumour" /> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="solid-tumour"/> - <display value="Solid Tumour"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="solid-tumour" /> + <display value="Solid Tumour" /> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="liquid-tumour"/> - <display value="Liquid Tumour"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="liquid-tumour" /> + <display value="Liquid Tumour" /> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="germline"/> - <display value="Germline"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="germline" /> + <display value="Germline" /> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="other"/> - <display value="Other"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="other" /> + <display value="Other" /> </contains> <contains> - <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory"/> - <code value="not-known"/> - <display value="Not Known"/> + <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SampleCategory" /> + <code value="not-known" /> + <display value="Not Known" /> </contains> </expansion> </ValueSet> \ No newline at end of file From f396730d28fb586588c03d6189abf938e6b290e3 Mon Sep 17 00:00:00 2001 From: Kazeem Hamzat <kazeem.hamzat@nhs.net> Date: Mon, 22 Jun 2026 14:20:03 +0100 Subject: [PATCH 3/3] Update ValueSet-UKCore-SampleCategory.xml Add UTF 8 --- valuesets/ValueSet-UKCore-SampleCategory.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valuesets/ValueSet-UKCore-SampleCategory.xml b/valuesets/ValueSet-UKCore-SampleCategory.xml index be0c1d6b2..9d92ddf42 100644 --- a/valuesets/ValueSet-UKCore-SampleCategory.xml +++ b/valuesets/ValueSet-UKCore-SampleCategory.xml @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <ValueSet xmlns="http://hl7.org/fhir"> <id value="UKCore-SampleCategory"/> <url value="https://fhir.hl7.org.uk/ValueSet/UKCore-SampleCategory"/>