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-AbilityToEat #22

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ issues should occur: true
# These might occur in one or more profiles, or in none if they have been fixed in the meantime.

issues should occur: false

zib-AbilityToEat.EatingLimitations:
zib deviations:
Observation.value[x]:valueCodeableConcept:
- cardinality: 0..1 instead of 0..*
reason: The value can only occur once, but this profile is referenced 0..* times via .hasMember, making the effective cardinality 0..* as required by the zib.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.EatingLimitations.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Cannot check whether the target profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient on Observation.subject is valid constraint on the base because it is not known (at StructureDefinition.differential.element[1])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.EatingLimitations.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Unable to resolve profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient (at StructureDefinition.differential.element[1].type[0].targetProfile[0])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.EatingLimitations.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Cannot check whether the target profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient on Observation.subject is valid constraint on the base because it is not known (at StructureDefinition.differential.element[1])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.EatingLimitations.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Unable to resolve profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient (at StructureDefinition.differential.element[1].type[0].targetProfile[0])
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-AbilityToEat.EatingLimitations"/>
<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-AbilityToEat.EatingLimitations"/>
<name value="NlcoreAbilityToEatEatingLimitations"/>
<title value="nl core AbilityToEat.EatingLimitations"/>
<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="Eating constraints specify the patient's constraints in eating."/>
<purpose value="A derived profile from [zib-AbilityToEat.EatingLimitations](http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat.EatingLimitations) 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-abilitytoeat-v3.1.1-2024EN" />
<uri value="https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN)" />
<name value="zib AbilityToEat-v3.1.1(2024EN)" />
</mapping>
<kind value="resource"/>
<abstract value="false"/>
<type value="Observation"/>
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat.EatingLimitations"/>
<derivation value="constraint"/>
<differential>
<element id="Observation">
<path value="Observation"/>
<comment value="This Observation resource represents the EatingLimitations concept (NL-CM:4.7.4) of zib AbilityToEat. It can be used together with the [nl-core-AbilityToEat](http://nictiz.nl/fhir/StructureDefinition/nl-core-AbilityToEat) profile on the Observation resource, which groups references to the current and other resources on `Observation.hasMember`."/>
<alias value="nl-core-AbilityToEat.EatingLimitations"/>
</element>
<element id="Observation.subject">
<path value="Observation.subject"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient"/>

Check notice on line 49 in nl-core/StructureDefinitions/nl-core-AbilityToEat.EatingLimitations.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient' does not resolve (at StructureDefinition.differential.element[1].type[0].targetProfile[4])
</type>
</element>
</differential>
</StructureDefinition>
61 changes: 61 additions & 0 deletions nl-core/StructureDefinitions/nl-core-AbilityToEat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Cannot check whether the target profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient on Observation.subject is valid constraint on the base because it is not known (at StructureDefinition.differential.element[1])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Unable to resolve profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient (at StructureDefinition.differential.element[1].type[0].targetProfile[0])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Cannot check whether the target profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient on Observation.subject is valid constraint on the base because it is not known (at StructureDefinition.differential.element[1])

Check warning on line 1 in nl-core/StructureDefinitions/nl-core-AbilityToEat.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Unable to resolve profile http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient (at StructureDefinition.differential.element[1].type[0].targetProfile[0])
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="nl-core-AbilityToEat"/>
<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-AbilityToEat"/>
<name value="NlcoreAbilityToEat"/>
<title value="nl core AbilityToEat"/>
<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="Being able to independently prepare and consume food is part of self-care. Limitations in this ability indicate a reduced ability to cope for oneself.&#xD;&#xA;This activity and activities such as those including drinking, getting dressed and bathing are also known as activities of daily living (ADL). These are the activities people go through in daily life. The extent to which a person is able to do all these activities by themselves is a measure for their total ability to do things independently."/>
<purpose value="A derived profile from [zib-AbilityToEat](http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat) 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-abilitytoeat-v3.1.1-2024EN" />
<uri value="https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN)" />
<name value="zib AbilityToEat-v3.1.1(2024EN)" />
</mapping>
<kind value="resource"/>
<abstract value="false"/>
<type value="Observation"/>
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat"/>
<derivation value="constraint"/>
<differential>
<element id="Observation">
<path value="Observation"/>
<comment value="The EatingLimitations concept (NL-CM:4.7.4) is represented using distinct Observation resources, using profile [nl-core-AbilityToEat.EatingLimitations](http://nictiz.nl/fhir/StructureDefinition/nl-core-AbilityToEat.EatingLimitations). It is referenced from this resource using `Observation.hasMember`."/>
<alias value="nl-core-AbilityToEat"/>
</element>
<element id="Observation.subject">
<path value="Observation.subject"/>
<type>
<code value="Reference"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient"/>

Check notice on line 49 in nl-core/StructureDefinitions/nl-core-AbilityToEat.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient' does not resolve (at StructureDefinition.differential.element[1].type[0].targetProfile[4])
</type>
</element>
<element id="Observation.hasMember:eatingLimitations">
<path value="Observation.hasMember"/>
<sliceName value="eatingLimitations"/>
<type>
<code value="Reference"/>
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-AbilityToEat.EatingLimitations"/>
</type>
</element>
</differential>
</StructureDefinition>
2 changes: 2 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## AbilityToEat (zib-AbilityToEat, nl-core-AbilityToEat)
* No significant changes
79 changes: 79 additions & 0 deletions zib/StructureDefinitions/zib-AbilityToEat.EatingLimitations.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="zib-AbilityToEat.EatingLimitations"/>
<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/zib-AbilityToEat.EatingLimitations"/>
<name value="ZibAbilityToEatEatingLimitations"/>
<title value="zib AbilityToEat.EatingLimitations"/>
<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="Eating constraints specify the patient's constraints in eating."/>
<purpose value="This Observation resource represents the EatingLimitations concept (NL-CM:4.7.4) of Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) AbilityToEat v3.1.1 (2024)](https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN))."/>
<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-abilitytoeat-v3.1.1-2024EN"/>
<uri value="https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN)"/>
<name value="zib AbilityToEat-v3.1.1(2024EN)"/>
</mapping>
<kind value="resource"/>
<abstract value="true"/>
<type value="Observation"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<derivation value="constraint"/>
<differential>
<element id="Observation">
<path value="Observation"/>
<comment value="This Observation resource represents the EatingLimitations concept (NL-CM:4.7.4) of zib AbilityToEat. It can be used together with the [zib-AbilityToEat](http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat) profile on the Observation resource, which groups references to the current and other resources on `Observation.hasMember`."/>
</element>
<element id="Observation.code">
<path value="Observation.code"/>
<patternCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="288843005"/>
</coding>
</patternCodeableConcept>
</element>
<element id="Observation.value[x]">
<path value="Observation.value[x]"/>
<slicing>
<discriminator>
<type value="type"/>
<path value="$this"/>
</discriminator>
<rules value="open"/>
</slicing>
</element>
<element id="Observation.value[x]:valueCodeableConcept">
<path value="Observation.value[x]"/>
<sliceName value="valueCodeableConcept"/>
<short value="EatingLimitations"/>
<definition value="Eating constraints specify the patient's constraints in eating."/>
<alias value="EetBeperkingen"/>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.7.2--20240415000000"/>
</binding>
<mapping>
<identity value="zib-abilitytoeat-v3.1.1-2024EN"/>
<map value="NL-CM:4.7.4"/>
<comment value="EatingLimitations"/>
</mapping>
</element>
</differential>
</StructureDefinition>
105 changes: 105 additions & 0 deletions zib/StructureDefinitions/zib-AbilityToEat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="zib-AbilityToEat"/>
<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/zib-AbilityToEat"/>
<name value="ZibAbilityToEat"/>
<title value="zib AbilityToEat"/>
<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="Being able to independently prepare and consume food is part of self-care. Limitations in this ability indicate a reduced ability to cope for oneself.&#xD;&#xA;This activity and activities such as those including drinking, getting dressed and bathing are also known as activities of daily living (ADL). These are the activities people go through in daily life. The extent to which a person is able to do all these activities by themselves is a measure for their total ability to do things independently."/>
<purpose value="This Observation resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) AbilityToEat v3.1.1 (2024)](https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN))."/>
<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-abilitytoeat-v3.1.1-2024EN"/>
<uri value="https://zibs.nl/wiki/AbilityToEat-v3.1.1(2024EN)"/>
<name value="zib AbilityToEat-v3.1.1(2024EN)"/>
</mapping>
<kind value="resource"/>
<abstract value="true"/>
<type value="Observation"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<derivation value="constraint"/>
<differential>
<element id="Observation">
<path value="Observation"/>
<short value="AbilityToEat"/>
<comment value="The EatingLimitations concept (NL-CM:4.7.4) is represented using distinct Observation resources, using profile [zib-AbilityToEat.EatingLimitations](http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat.EatingLimitations). It is referenced from this resource using `Observation.hasMember`."/>
<alias value="VermogenTotEten"/>
<mapping>
<identity value="zib-abilitytoeat-v3.1.1-2024EN"/>
<map value="NL-CM:4.7.1"/>
<comment value="AbilityToEat"/>
</mapping>
</element>
<element id="Observation.code">
<path value="Observation.code"/>
<patternCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="288883002"/>
</coding>
</patternCodeableConcept>
</element>
<element id="Observation.value[x]">
<path value="Observation.value[x]"/>
<slicing>
<discriminator>
<type value="type"/>
<path value="$this"/>
</discriminator>
<rules value="open"/>
</slicing>
</element>
<element id="Observation.value[x]:valueCodeableConcept">
<path value="Observation.value[x]"/>
<sliceName value="valueCodeableConcept"/>
<short value="Eating"/>
<definition value="Feeding oneself: bringing food to the mouth and feeding oneself until satisfied."/>
<alias value="Eten"/>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.7.1--20240415000000"/>
</binding>
<mapping>
<identity value="zib-abilitytoeat-v3.1.1-2024EN"/>
<map value="NL-CM:4.7.3"/>
<comment value="Eating"/>
</mapping>
</element>
<element id="Observation.hasMember">
<path value="Observation.hasMember"/>
<slicing>
<discriminator>
<type value="profile"/>
<path value="resolve()"/>
</discriminator>
<rules value="open"/>
</slicing>
</element>
<element id="Observation.hasMember:eatingLimitations">
<path value="Observation.hasMember"/>
<sliceName value="eatingLimitations"/>
<definition value="The EatingLimitations concept (NL-CM:4.7.4) of zib AbilityToEat, represented as a distinct Observation resource."/>
<type>
<code value="Reference"/>
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToEat.EatingLimitations"/>
</type>
</element>
</differential>
</StructureDefinition>
Loading