Skip to content

Commit

Permalink
Added known issue and deleted default profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin committed Aug 22, 2023
1 parent c9bef31 commit 6203427
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 58 deletions.
10 changes: 8 additions & 2 deletions known-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,13 +632,19 @@ zib-TextResult.VisualResult:
zib deviations:
Media.content:
- cardinality: 1..1 instead of 0..*
reason: The use of the Media resource referenced in zib-TextResult DiagnosticReport.media.link is optional (0..*), but if the Media resource is used, Media.content should be present (1..1).
reason: The use of the Media resource referenced in zib-TextResult DiagnosticReport.media.link is optional (0..*), but if the Media resource is used, Media.content should be present (1..1).

zib-TNMTumorClassification:
ignored issues:
"Observation.hasMember:*":
- message: "Rule sd-zpg-03: 'References to other resource profiles should be added next to the HL7 base references.'"
reason: "The restriction only applies to, and defines, this slice. The slicing is open so the base references can still be used."

zib-TNMTumorClassification.DistantMetastasisLocalization:
zib deviations:
Observation.bodySite:
- datatype: CodeableConcept instead of a reference
reason: The referenced zib AnatomicalLocation is profiled on a datatype level and not a resource. Therefore it cannot be referenced, rather its concepts and constraints are added inline. This element conforms to the zib AnatomicalLocation.
reason: The referenced zib AnatomicalLocation is profiled on a datatype level and not a resource. Therefore it cannot be referenced, rather its concepts and constraints are added inline. This element conforms to the zib AnatomicalLocation.

zib-TNMTumorClassification.RegionalLymphNodesLocalization:
zib deviations:
Expand Down
26 changes: 1 addition & 25 deletions resources/nl-core/nl-core-TNMTumorClassification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
<sliceName value="t_PrimaryTumor" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.TPrimaryTumor" />
</type>
</element>
Expand All @@ -66,9 +63,6 @@
<sliceName value="pn_PerineuralInvasion" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.PnPerineuralInvasion" />
</type>
</element>
Expand All @@ -77,9 +71,6 @@
<sliceName value="r_ResidualTumor" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.RResidualTumor" />
</type>
</element>
Expand All @@ -88,9 +79,6 @@
<sliceName value="m_DistantMetastasis" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.MDistantMetastasis" />
</type>
</element>
Expand All @@ -99,20 +87,14 @@
<sliceName value="n_RegionalLymphnodes" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.RegionalLymphNodesLocalization" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.NRegionalLymphnodes" />
</type>
</element>
<element id="Observation.hasMember:v_VenousInvasion">
<path value="Observation.hasMember" />
<sliceName value="v_VenousInvasion" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.VVenousInvasion" />
</type>
</element>
Expand All @@ -121,9 +103,6 @@
<sliceName value="g_HistopathologicalGrading" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.GHistopathologicalGrading" />
</type>
</element>
Expand All @@ -132,9 +111,6 @@
<sliceName value="m_NumberOfPrimaryTumors" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TNMTumorClassification.mNumberOfPrimaryTumors" />
</type>
</element>
Expand Down
38 changes: 7 additions & 31 deletions resources/zib/zib-TNMTumorClassification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.T_PrimaryTumor" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.TPrimaryTumor" />
</type>
</element>
<element id="Observation.hasMember:pn_PerineuralInvasion">
Expand All @@ -156,10 +153,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.Pn_PerineuralInvasion" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.PnPerineuralInvasion" />
</type>
</element>
<element id="Observation.hasMember:r_ResidualTumor">
Expand All @@ -168,10 +162,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.R_ResidualTumor" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.RResidualTumor" />
</type>
</element>
<element id="Observation.hasMember:m_DistantMetastasis">
Expand All @@ -180,10 +171,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.M_DistantMetastasis" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.MDistantMetastasis" />
</type>
</element>
<element id="Observation.hasMember:n_RegionalLymphnodes">
Expand All @@ -192,10 +180,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.N_RegionalLymphnodes" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.NRegionalLymphnodes" />
</type>
</element>
<element id="Observation.hasMember:v_VenousInvasion">
Expand All @@ -204,10 +189,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.V_VenousInvasion" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.VVenousInvasion" />
</type>
</element>
<element id="Observation.hasMember:g_HistopathologicalGrading">
Expand All @@ -216,10 +198,7 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.G_HistopathologicalGrading" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.GHistopathologicalGrading" />
</type>
</element>
<element id="Observation.hasMember:m_NumberOfPrimaryTumors">
Expand All @@ -228,9 +207,6 @@
<max value="1" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.mNumberOfPrimaryTumors" />

Check warning on line 210 in resources/zib/zib-TNMTumorClassification.xml

View workflow job for this annotation

GitHub Actions / Strict QA on changed materials

Canonical URL 'http://nictiz.nl/fhir/StructureDefinition/zib-TNMTumorClassification.mNumberOfPrimaryTumors' does not resolve
</type>
</element>
Expand Down

0 comments on commit 6203427

Please sign in to comment.