Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-IOPS-2559-Update-to-Related-UKCore-FHIR-Assets #550

Merged
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4719640
Create Extension-UKCore-ConditionBodyStructure
KazeemHamzat Jun 4, 2024
570ec9c
Map Extension-Patient.extension:bornStatus to Patient
KazeemHamzat Jun 4, 2024
0df71e7
Add Extension-Patient.extension:bornStatus to Patient
KazeemHamzat Jun 4, 2024
7572240
Create and map Extension UKCore-DiagnosticReportMedia
KazeemHamzat Jun 5, 2024
f5cd330
Expand CodeSystems: UKCoreNHSNumberUnavailableReason & UKCoreFundingC…
KazeemHamzat Jun 5, 2024
853252c
Create CodeSystem-UKCore-WithheldIdentityReason
KazeemHamzat Jun 14, 2024
00fbff4
Re-align empty space in Copyright
KazeemHamzat Jun 14, 2024
7111aa9
Re-align empty space in description
KazeemHamzat Jun 14, 2024
794b9f8
Update ValueSet-UKCore-NHSNumberUnavailableReason
KazeemHamzat Jun 20, 2024
7846e49
Merge pull request #559 from NHSDigital/develop
ryma2fhir Jul 25, 2024
f788f80
Update UKCore-Condition & Extension-UKCore-ConditionBodyStructure
KazeemHamzat Jul 30, 2024
971d6f7
Merge branch 'main' of https://github.com/NHSDigital/FHIR-R4-UKCORE-S…
KazeemHamzat Jul 30, 2024
2d81c28
Update Canonical URL and Version num
KazeemHamzat Jul 31, 2024
e5fbbbb
Update CodeSystem-UKCore-FundingCategory
KazeemHamzat Jul 31, 2024
2465058
Update CodeSystem-UKCore-FundingCategory
KazeemHamzat Jul 31, 2024
0912133
Update UKCore-DiagnosticReport & Extension-UKCore-DiagnosticReportMed…
KazeemHamzat Aug 1, 2024
114ebf5
Change Version no to 6.0
KazeemHamzat Aug 27, 2024
0df1791
Update codesystems\CodeSystem-UKCore-FundingCategory
KazeemHamzat Aug 27, 2024
a90b03c
Update CodeSystem-UKCore-FundingCategory
KazeemHamzat Aug 27, 2024
8367e53
Update ValueSet-UKCore-NHSNumberUnavailableReason
KazeemHamzat Aug 27, 2024
5ac0ca2
Remove simplifier\folder.settings
KazeemHamzat Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 34 additions & 5 deletions codesystems/CodeSystem-UKCore-FundingCategory.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="UKCore-FundingCategory" />
<url value="https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory" />
<version value="1.0.0" />
<version value="2.0.0" />
<name value="UKCoreFundingCategory" />
<title value="UK Core Funding Category" />
<status value="active" />
<date value="2023-04-28" />
<date value="2024-06-14" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand All @@ -20,9 +20,10 @@
<copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; 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" />
<hierarchyMeaning value="is-a" />
<concept>
<code value="nhs" />
<display value="NHS" />
<code value="england" />
<display value="England" />
</concept>
<concept>
<code value="private" />
Expand All @@ -31,5 +32,33 @@
<concept>
<code value="devolved-nations" />
<display value="Devolved nations" />
<concept>
<code value="scotland" />
<display value="Scotland" />
</concept>
<concept>
<code value="wales" />
<display value="Wales" />
</concept>
<concept>
<code value="northern-ireland" />
<display value="Northern Ireland" />
</concept>
</concept>
</CodeSystem>
<concept>
<code value="jersey" />
<display value="Jersey" />
</concept>
<concept>
<code value="guernsey" />
<display value="Guernsey" />
</concept>
<concept>
<code value="isle-of-man" />
<display value="Isle of Man" />
</concept>
<concept>
<code value="oversea-visitor" />
<display value="Oversea visitor" />
</concept>
</CodeSystem>
45 changes: 45 additions & 0 deletions codesystems/CodeSystem-UKCore-WithheldIdentityReason.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="UKCore-WithheldIdentityReason" />
<url value="https://fhir.hl7.org.uk/CodeSystem/UKCore-WithheldIdentityReason" />
<version value="0.0.1" />
<name value="UKCoreWithheldIdentityReason" />
<title value="UK Core Withheld Identity Reason" />
<status value="draft" />
<date value="2024-06-14" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
<telecom>
<system value="email" />
<value value="[email protected]" />
<use value="work" />
<rank value="1" />
</telecom>
</contact>
<description
value="A set of codes that define the valid reason for which a record has been purposely anonymised. These codes and their descriptions are copied from the content of the [NHS Data Model and Dictionary](https://www.datadictionary.nhs.uk/data_elements/withheld_identity_reason.html) web page on 2024-06-14." />
<copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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" />
<count value="5" />
<concept>
<code value="01" />
<display value="Record anonymised for legal/statutory reasons" />
</concept>
<concept>
<code value="02" />
<display value="Record anonymised at request of Caldicott Guardian" />
</concept>
<concept>
<code value="03" />
<display value="Record anonymised at request of Patient" />
</concept>
<concept>
<code value="97" />
<display value="Record anonymised for other reason" />
</concept>
<concept>
<code value="99" />
<display value="Identity withheld but reason not known" />
</concept>
</CodeSystem>
56 changes: 56 additions & 0 deletions structuredefinitions/Extension-UKCore-ConditionBodyStructure.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-ConditionBodyStructure" />
<url value="http://hl7.org/fhir/6.0/StructureDefinition/extension-Condition.bodyStructure" />
<version value="0.0.1" />
<name value="ExtensionUKCoreConditionBodyStructure" />
<title value="Extension UK Core Condition Body Structure" />
<status value="draft" />
<date value="2024-06-07" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
<telecom>
<system value="email" />
<value value="[email protected]" />
<use value="work" />
<rank value="1" />
</telecom>
</contact>
<description value="An extension to replicate the changes within R6 to support adding a reference to the body part affected by the diagnosed condition." />
<purpose value="This is a Genomics use case to support the backporting of R6 functionality to provide reference to the BodyStructure affected by a Condition." />
<copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Condition" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<differential>
<element id="Extension">
<path value="Extension" />
<max value="1" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://hl7.org/fhir/6.0/StructureDefinition/extension-Condition.bodyStructure" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<min value="1" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition" />
</type>
</element>
</differential>
</StructureDefinition>
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-DiagnosticReportMediaLink" />
<url value="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.media.link" />
<version value="0.0.1" />
<name value="ExtensionUKCoreDiagnosticReportMediaLink" />
<title value="Extension UK Core Diagnostic Report Media Link" />
<status value="draft" />
<date value="2024-06-07" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
<telecom>
<system value="email" />
<value value="[email protected]" />
<use value="work" />
<rank value="1" />
</telecom>
</contact>
<description value="An extension to replicate the changes within R5 to support adding a reference to image or data source.&#xD;&#xA;(DocumentReference)" />
<purpose value="This is a Genomics use case to support the backporting of R5 functionality to support adding a reference to image or data source. &#xD;&#xA;(DocumentReference)" />
<copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="DiagnosticReport" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<differential>
<element id="Extension">
<path value="Extension" />
<short value="Reference to a DocumentReference resource." />
<min value="1" />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<min value="1" />
</element>
<element id="Extension.extension:comment">
<path value="Extension.extension" />
<sliceName value="comment" />
</element>
<element id="Extension.extension:comment.url">
<path value="Extension.extension.url" />
<fixedUri value="comment" />
</element>
<element id="Extension.extension:comment.value[x]">
<path value="Extension.extension.value[x]" />
<min value="1" />
<type>
<code value="string" />
</type>
</element>
<element id="Extension.extension:link">
<path value="Extension.extension" />
<sliceName value="link" />
<min value="1" />
</element>
<element id="Extension.extension:link.url">
<path value="Extension.extension.url" />
<fixedUri value="link" />
</element>
<element id="Extension.extension:link.value[x]">
<path value="Extension.extension.value[x]" />
<min value="1" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference" />
</type>
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.media.link" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<max value="0" />
</element>
</differential>
</StructureDefinition>
61 changes: 61 additions & 0 deletions structuredefinitions/Extension-UKCore-PatientFetalStatus.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-PatientFetalStatus" />
<url value="http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus" />
<version value="0.0.1" />
<name value="ExtensionUKCorePatientFetalStatus" />
<title value="Extension UK Core Patient Fetal Status" />
<status value="draft" />
<date value="2024-07-23" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
<telecom>
<system value="email" />
<value value="[email protected]" />
<use value="work" />
<rank value="1" />
</telecom>
</contact>
<description value="An extension to replicate the changes within R5 to record the born status of fetus (Patient)" />
<purpose value="This is a Genomics use case to support the backporting of R5 functionality to record the born status of fetus (Patient)" />
<copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Patient" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<differential>
<element id="Extension">
<path value="Extension" />
<short value="An indicator on the fetal status of a baby." />
<definition value="Typically used in maternity where the patient record may be created before the birth of the baby." />
<max value="1" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<min value="1" />
<type>
<code value="code" />
</type>
<binding>
<strength value="required" />
<valueSet value="http://hl7.org/fhir/ValueSet/patient-fetalstatus" />
</binding>
</element>
</differential>
</StructureDefinition>
16 changes: 13 additions & 3 deletions structuredefinitions/UKCore-Condition.xml
KazeemHamzat marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="UKCore-Condition" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition" />
<version value="2.5.0" />
<version value="2.6.0" />
<name value="UKCoreCondition" />
<title value="UK Core Condition" />
<status value="active" />
<date value="2023-12-12" />
<date value="2024-06-07" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand All @@ -27,6 +27,16 @@
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Condition" />
<derivation value="constraint" />
<differential>
<element id="Condition.extension:bodyStructureR6">
<path value="Condition.extension" />
<sliceName value="bodyStructureR6" />
<short value="An extension to replicate the changes within R6 to support adding a reference to the body part affected by the diagnosed condition." />
<type>
<code value="Extension" />
<profile value="http://hl7.org/fhir/6.0/StructureDefinition/extension-Condition.bodyStructure" />
</type>
<isModifier value="false" />
</element>
<element id="Condition.extension:conditionEpisode">
<path value="Condition.extension" />
<sliceName value="conditionEpisode" />
Expand Down Expand Up @@ -86,4 +96,4 @@
<mustSupport value="true" />
</element>
</differential>
</StructureDefinition>
</StructureDefinition>
22 changes: 20 additions & 2 deletions structuredefinitions/UKCore-DiagnosticReport.xml
KazeemHamzat marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="UKCore-DiagnosticReport" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport" />
<version value="2.4.0" />
<version value="2.5.0" />
<name value="UKCoreDiagnosticReport" />
<title value="UK Core Diagnostic Report" />
<status value="active" />
<date value="2024-07-11" />
<date value="2024-06-07" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -43,6 +43,24 @@
<short value="Reference to a Composition resource." />
<definition value="Reference to a Composition resource instance that provides structure for organizing the contents of the DiagnosticReport." />
</element>
<element id="DiagnosticReport.extension:mediaR5">
<path value="DiagnosticReport.extension" />
<sliceName value="mediaR5" />
<type>
<code value="Extension" />
<profile value="http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.media.link" />
</type>
<isModifier value="false" />
</element>
<element id="DiagnosticReport.extension:mediaR5.extension">
<path value="DiagnosticReport.extension.extension" />
<min value="1" />
</element>
<element id="DiagnosticReport.extension:mediaR5.extension:link">
<path value="DiagnosticReport.extension.extension" />
<sliceName value="link" />
<min value="1" />
</element>
<element id="DiagnosticReport.extension:noteR5">
<path value="DiagnosticReport.extension" />
<sliceName value="noteR5" />
Expand Down
Loading
Loading