Skip to content

Commit

Permalink
Two extensions added as pre-adopts of R5 for communication and allerg…
Browse files Browse the repository at this point in the history
…yintolerance resources.
  • Loading branch information
alayabenbelkacem committed Oct 3, 2024
1 parent 5bab022 commit ea7ce45
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
47 changes: 47 additions & 0 deletions resources/nl-core/ext-AllergyIntolerance.Type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>

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

View workflow job for this annotation

GitHub Actions / Loose QA on the entire repo

The fixed value for the extension URL is http://nictiz.nl/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type which doesn't match the canonical URL http://nictiz.nl/fhir/StructureDefinition/ext-AllergyIntolerance.Type (at StructureDefinition)

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

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

The fixed value for the extension URL is http://nictiz.nl/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type which doesn't match the canonical URL http://nictiz.nl/fhir/StructureDefinition/ext-AllergyIntolerance.Type (at StructureDefinition)
<StructureDefinition xmlns="http://hl7.org/fhir">

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-08: 'The title 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 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-08: 'The title 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" />
<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 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)." />
<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="AllergyIntolerance" />
</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-AllergyIntolerance.type" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<definition value="Type of the AllergyIntolerance." />
<type>
<code value="CodeableConcept" />
</type>
</element>
</differential>
</StructureDefinition>
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">

Check warning 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-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: 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)
<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>

0 comments on commit ea7ce45

Please sign in to comment.