Skip to content

Commit

Permalink
Updated nl-core extensions for CiO 2.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LuudSlagter committed Oct 4, 2024
1 parent ea7ce45 commit 732e91a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 49 deletions.
15 changes: 9 additions & 6 deletions resources/nl-core/ext-AllergyIntolerance.Type.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-pg-12: 'StuctureDefinition.id should start 'ext-' if it defines an Extension' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-zpg-01: 'StuctureDefinition.id should start with 'nl-core-' or 'ext-'' (defined in http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-zpg-e-01: 'StuctureDefinition.id should start with 'ext-'' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-pg-01: 'The canonical URL should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-pg-07: 'The name of the StructureDefinition should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-12: 'StuctureDefinition.id should start 'ext-' if it defines an Extension' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-zpg-01: 'StuctureDefinition.id should start with 'nl-core-' or 'ext-'' (defined in http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-zpg-e-01: 'StuctureDefinition.id should start with 'ext-'' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-01: 'The canonical URL should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-AllergyIntolerance.Type.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-07: 'The name of the StructureDefinition should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)
<id value="ext-AllergyIntolerance.Type" />
<url value="http://nictiz.nl/fhir/StructureDefinition/ext-AllergyIntolerance.Type" />
<name value="ExtAllergyIntoleranceType" />
<title value="ext AllergyIntolerance Type" />
<id value="extension-AllergyIntolerance.type" />
<url value="http://nictiz.nl/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type" />
<name value="ExtensionAllergyIntoleranceType" />
<title value="extension AllergyIntolerance.type" />
<status value="draft" />
<publisher value="Nictiz" />
<contact>
Expand All @@ -14,8 +14,7 @@
<use value="work" />
</telecom>
</contact>
<description value="An extension to provide the type of an AllergyIntolerance resource, without the need of using the _required_ binding present on `AllergyIntolerance.type`. Note that in R5 this binding has been made _preferred_, making this extension technically a pre-adopt. This extension should be replaced by the extension 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type'." />
<purpose value="This extension represents the type of an AllergyIntolerance resource, needed to distinguish between HypersensitivityIntolerance and Reaction building blocks for implementations following the information standard [CiO](https://informatiestandaarden.nictiz.nl/wiki/Landingspagina_Contra-indicaties_en_Overgevoeligheden)." />
<description value="An extension to provide the type of an AllergyIntolerance resource, without the need of using the _required_ binding present on `AllergyIntolerance.type`. Note that in R5 this binding has been made _preferred_, making this extension technically a pre-adopt. This extension should be replaced by the extension 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type' whenever it's made available as part of the package hl7.fhir.extensions.r4:4.0.1 mentioned on http://hl7.org/fhir/R5/versions.html#extensions." />
<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" />
Expand All @@ -42,6 +41,10 @@
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="preferred" />
<valueSet value="http://hl7.org/fhir/ValueSet/allergy-intolerance-type" />
</binding>
</element>
</differential>
</StructureDefinition>
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-pg-12: 'StuctureDefinition.id should start 'ext-' if it defines an Extension' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-zpg-01: 'StuctureDefinition.id should start with 'nl-core-' or 'ext-'' (defined in http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

Constraint failed: sd-zpg-e-01: 'StuctureDefinition.id should start with 'ext-'' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-12: 'StuctureDefinition.id should start 'ext-' if it defines an Extension' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-zpg-01: 'StuctureDefinition.id should start with 'nl-core-' or 'ext-'' (defined in http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-NlCore) (at StructureDefinition)

Check failure on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-zpg-e-01: 'StuctureDefinition.id should start with 'ext-'' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-01: 'The canonical URL should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)

Check warning on line 2 in resources/nl-core/ext-Communication.Payload.ContentCodeableConcept.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Constraint failed: sd-pg-07: 'The name of the StructureDefinition should conform to the profiling guidelines' (defined in https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4) (at StructureDefinition)
<id value="ext-Communication.Payload.ContentCodeableConcept"/>
<url value="http://nictiz.nl/fhir/5.0/StructureDefinition/extension-Communication.payload.content[x]:contentCodeableConcept"/>
<name value="ExtCommunicationPayloadContentCodeableConcept"/>
<title value="ext Communication.Payload.ContentCodeableConcept"/>
<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 extend `Communication.payload.content` with a CodeableConcept data type. This is a pre-adopt of R5 in which the string data type of this element is changed to a CodeableConcept."/>
<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="Communication.payload.content"/>
</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/5.0/StructureDefinition/extension-Communication.payload.content[x]:contentCodeableConcept"/>
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]"/>
<type>
<code value="CodeableConcept"/>
</type>
</element>
</differential>
</StructureDefinition>
<id value="extension-Communication.payload.contentCodeableConcept" />
<url value="http://nictiz.nl/fhir/5.0/StructureDefinition/extension-Communication.payload.content%5Bx%5D:contentCodeableConcept" />
<name value="ExtensionCommunicationPayloadContentCodeableConcept" />
<title value="extension Communication.payload.contentCodeableConcept" />
<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 extend `Communication.payload.content` with a CodeableConcept data type. This is a pre-adopt of R5 in which the string data type of this element is changed to a CodeableConcept. This extension should be replaced by the extension 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Communication.payload.content[x]:contentCodeableConcept' whenever it's made available as part of the package hl7.fhir.extensions.r4:4.0.1 mentioned on http://hl7.org/fhir/R5/versions.html#extensions." />
<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="Communication.payload.content" />
</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/5.0/StructureDefinition/extension-Communication.payload.content%5Bx%5D:contentCodeableConcept" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<type>
<code value="CodeableConcept" />
</type>
</element>
</differential>
</StructureDefinition>

0 comments on commit 732e91a

Please sign in to comment.