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

zib-Symptom (Condition) #79

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
89ee7ef
Added zib TimeInterval 2024
alayabenbelkacem Nov 25, 2024
063a653
deleted zib AddressInformation
alayabenbelkacem Nov 26, 2024
246f879
Merge branch 'main' into zib-TimeInterval
ArdonToonstra Nov 27, 2024
289eda9
Revert "deleted zib AddressInformation"
ArdonToonstra Nov 27, 2024
313f6a1
Merge branch 'main' into zib-TimeInterval
alayabenbelkacem Nov 28, 2024
1b0e4c3
Applied changes according to review ZIBFHIR2024-340
alayabenbelkacem Nov 28, 2024
fd5e751
Narratives added
alayabenbelkacem Nov 28, 2024
8c5070b
added release notes
alayabenbelkacem Dec 9, 2024
a7bbd7b
updated known-issues
alayabenbelkacem Dec 10, 2024
d3f420c
Merge branch 'main' into zib-TimeInterval and added reference to zib …
ArdonToonstra Dec 11, 2024
6870d0e
updated known-issue.yml
ArdonToonstra Dec 11, 2024
f55ca13
updated known-issue
ArdonToonstra Dec 11, 2024
ab78d99
add missing nl-core proflie
AmyKoo1 Jan 7, 2025
bfb64f5
Added symptom condition with associated observation profiles
alayabenbelkacem Jan 30, 2025
455980f
Added option for component concepts as well
alayabenbelkacem Jan 30, 2025
68f6f30
Added condition reference
alayabenbelkacem Jan 30, 2025
cc5c9bb
Merge branch 'zib-TimeInterval' into zib-Symptom(Condition)
LuudSlagter Jan 31, 2025
fad297c
Changed urls, added definition codes, tweaked several mappings in the…
LuudSlagter Jan 31, 2025
df0c0bf
Moved mapping from extension to underlying value
LuudSlagter Jan 31, 2025
07af34e
Removed member profiles and slices on hasMember
LuudSlagter Feb 3, 2025
695ccc3
Added duration of SymptomPeriod
LuudSlagter Feb 3, 2025
5c3b4c1
Textual finetuning to reflect use of components instead of hasMembers
LuudSlagter Feb 5, 2025
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
7 changes: 7 additions & 0 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ zib-NameInformation.GivenName:
HumanName.given:
- cardinality: 1..* instead of 0..1
reason: The GivenName is optional according to the zib, but when this datatype profile is used, a name should be provided.

ext-TimeInterval.Duration:
zib deviations:
Extension.value[x]:
- alias: TijdsDuur instead of tijdsDuur
for: NL-CM:20.3.4 (Extension.value[x])
reason: The zib concept name "tijdsDuur" is incorrect, concept names should begin with a capital letter. This will be fixed in a next version of the zibs (ZIB-2551).

zib-O2Saturation:
zib deviations:
Expand Down
41 changes: 41 additions & 0 deletions nl-core/StructureDefinitions/nl-core-TimeInterval.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-TimeInterval" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<url value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TimeInterval" />
<name value="NlcoreTimeInterval" />
<title value="nl core TimeInterval" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
<name value="Nictiz" />
<telecom>
<system value="url" />
<value value="https://www.nictiz.nl" />
<use value="work" />
</telecom>
</contact>
<description value="A time interval indicates the time between two moments in time. Interval can be defined by a start time and end time , start time and duration or duration and end time." />
<purpose value="A derived profile from [zib-TimeInterval](http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval) to provide a version better suited for implementation purposes. This profile augments the base profile with elements found in the various use cases that have adopted the zib." />
<copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<uri value="https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)" />
<name value="zib TimeInterval-v1.3(2024EN)" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<type value="Period" />
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval" />
<derivation value="constraint" />
<differential>
<element id="Period">
<path value="Period" />
<alias value="nl-core-TimeInterval" />
</element>
</differential>
</StructureDefinition>
8 changes: 7 additions & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,10 @@
* `.code.text` ; mapping ; Moved mapping of FurtherSpecificationProblemName from `.code.extension:furtherSpecificationProblemName.value[x]`. ; ZIBFHIR-145
* `.bodySite` ; cardinality ; Changed max cardinality from 1 to *. ; ZIB-1433
* `.bodySite` ; terminology ; Binding strength changed from required to extensible. ; ZIBFHIR-113
* `.note.text` ; textual ; Changed definition of Comment. ; ZIB-1610
* `.note.text` ; textual ; Changed definition of Comment. ; ZIB-1610

## TimeInterval (zib-TimeInterval, nl-core-TimeInterval)
* `.start.extension:relativeStartTime.value[x]` ; mapping ; Added mapping of RelativeStartTime. ; ZIB-2148
* `.start` ; textual ; Renamed from startDateTime to StartDateTime. ; ZIB-1756
* `.end.extension:relativeEndTime.value[x]` ; mapping ; Added mapping of RelativeEndTime. ; ZIB-2148
* `.end` ; textual ; Renamed from endDateTime to EndDateTime. ; ZIB-1756
67 changes: 67 additions & 0 deletions zib/StructureDefinitions/ext-TimeInterval.Duration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-TimeInterval.Duration" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration" />
<name value="ExtTimeIntervalDuration" />
<title value="ext TimeInterval.Duration" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
<name value="Nictiz" />
<telecom>
<system value="url" />
<value value="https://www.nictiz.nl" />
<use value="work" />
</telecom>
</contact>
<description value="An extension to provide the Duration concept of zib TimeInterval." />
<purpose value="This extension can be used to represent the Duration concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) TimeInterval v1.3 (2024)](https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)).&#xD;&#xA;&#xD;&#xA;Please note: this extension should not be added to profiles in isolation, but via either the [zib-TimeInterval](http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval) profile or the [ext-TimeInterval.Period](http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period) extension. See the documentation on these resources for more information." />
<copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<uri value="https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)" />
<name value="zib TimeInterval-v1.3(2024EN)" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Period" />
</context>
<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://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<short value="Duration" />
<definition value="The duration of the interval in appropriate units of time (e.g. days or hours, etc.)." />
<alias value="TijdsDuur" />
<type>
<code value="Duration" />
</type>
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<map value="NL-CM:20.3.4" />
<comment value="Duration" />
</mapping>
</element>
</differential>
</StructureDefinition>
51 changes: 51 additions & 0 deletions zib/StructureDefinitions/ext-TimeInterval.Period.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-TimeInterval.Period" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period" />
<name value="ExtTimeIntervalPeriod" />
<title value="ext TimeInterval.Period" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
<name value="Nictiz" />
<telecom>
<system value="url" />
<value value="https://www.nictiz.nl" />
<use value="work" />
</telecom>
</contact>
<description value="An extension to provide all concepts of zib TimeInterval, to be used in resources where none of these concepts are natively supported." />
<purpose value="This extension is one of the three StructureDefinitions that can be used to represent the Dutch (partial) [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) TimeInterval v1.3 (2024)](https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)). &#xD;&#xA;&#xD;&#xA;This zib is represented in FHIR by a combination of two datatypes: _Period_ and _Duration_. To support this zib across different FHIR resource types, three related StructureDefinitions are provided:&#xD;&#xA;&#xD;&#xA;* [ext-TimeInterval.Duration](http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration): extension to provide the _Duration_ datatype to resource types where no element with this datatype isn't normally available. This extension should not be used in isolation, but only via one of the two resources described below!&#xD;&#xA;* [zib-TimeInterval](http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval): profile on the _Period_ datatype that defines mappings to zib TimeInterval and brings in the ext-TimeInterval.Duration extension mentioned above. For resource types that natively support an element of the _Period_ datatype but not of the _Duration_ datatype, this profile should be used.&#xD;&#xA;* [ext-TimeInterval.Period](http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period) (this extension): extension to provide the _Period_ datatype plus the _Duration_ extension mentioned above, with mappings to zib TimeInterval. For resource types that support neither elements of datatype _Period_ nor _Duration_, this extension should be used. *Note*: In hindsight the name of this extension is confusing, 'ext-TimeInterval' would have been better suited.&#xD;&#xA;* *Note*: when the resource type natively supports elements of datatype _Period_ and _Duration_, the zib should be mapped onto these elements directly." />
<copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
<fhirVersion value="4.0.1" />
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="MedicationRequest" />
</context>
<context>
<type value="element" />
<expression value="MedicationDispense" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<differential>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<type>
<code value="Period" />
<profile value="http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval" />
</type>
</element>
</differential>
</StructureDefinition>
63 changes: 63 additions & 0 deletions zib/StructureDefinitions/ext-TimeInterval.RelativeEndTime.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-TimeInterval.RelativeEndTime" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.RelativeEndTime" />
<name value="ExtTimeIntervalRelativeEndTime" />
<title value="ext TimeInterval.RelativeEndTime" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
<name value="Nictiz" />
<telecom>
<system value="url" />
<value value="https://www.nictiz.nl" />
<use value="work" />
</telecom>
</contact>
<description value="An extension to provide the RelativeEndTime concept of zib TimeInterval." />
<purpose value="This extension can be used to represent the RelativeEndTime concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) TimeInterval v1.3 (2024)](https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)).&#xD;&#xA;&#xD;&#xA;Please note: this extension should not be added to profiles in isolation, but via either the [zib-TimeInterval](http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval) profile or the [ext-TimeInterval.Period](http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period) extension. See the documentation on these resources for more information." />
<copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<uri value="https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)" />
<name value="zib TimeInterval-v1.3(2024EN)" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Period.end" />
</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://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.RelativeEndTime" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<short value="RelativeEndTime" />
<definition value="Textual representation of an end time associated with an event for which the timing is not yet fixed. For example &quot;Stop the day before operation&quot;." />
<alias value="RelatieveEindTijd" />
<type>
<code value="string" />
</type>
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<map value="NL-CM:20.3.8" />
<comment value="RelativeEndTime" />
</mapping>
</element>
</differential>
</StructureDefinition>
63 changes: 63 additions & 0 deletions zib/StructureDefinitions/ext-TimeInterval.RelativeStartTime.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-TimeInterval.RelativeStartTime" />
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
</text>
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.RelativeStartTime" />
<name value="ExtTimeIntervalRelativeStartTime" />
<title value="ext TimeInterval.RelativeStartTime" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
<name value="Nictiz" />
<telecom>
<system value="url" />
<value value="https://www.nictiz.nl" />
<use value="work" />
</telecom>
</contact>
<description value="An extension to provide the RelativeStartTime concept of zib TimeInterval." />
<purpose value="This extension can be used to represent the RelativeStartTime concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) TimeInterval v1.3 (2024)](https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)).&#xD;&#xA;&#xD;&#xA;Please note: this extension should not be added to profiles in isolation, but via either the [zib-TimeInterval](http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval) profile or the [ext-TimeInterval.Period](http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Period) extension. See the documentation on these resources for more information." />
<copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
<fhirVersion value="4.0.1" />
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<uri value="https://zibs.nl/wiki/TimeInterval-v1.3(2024EN)" />
<name value="zib TimeInterval-v1.3(2024EN)" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<context>
<type value="element" />
<expression value="Period.start" />
</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://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.RelativeStartTime" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<short value="RelativeStartTime" />
<definition value="Textual representation of a start time associated with an event for which the time is not fixed or known. For example &quot;Start the day after discharge from hospital&quot;." />
<alias value="RelatieveStartTijd" />
<type>
<code value="string" />
</type>
<mapping>
<identity value="zib-timeinterval-v1.3-2024EN" />
<map value="NL-CM:20.3.7" />
<comment value="RelativeStartTime" />
</mapping>
</element>
</differential>
</StructureDefinition>
Loading