From c5362957ff4e5bf7ac84853f59e487bd1f6ebb73 Mon Sep 17 00:00:00 2001 From: Rob Hausam Date: Wed, 31 Jul 2024 10:11:46 -0500 Subject: [PATCH] FHIR-45602 - Update value set definition and related profile text. The 'appended' code does not need to be added now, and should be automatically included when it is available in R6 based on the 'is-a' hierarchy. --- .../ObservationResultsLaboratoryPathologyUvIps.fsh | 2 +- .../profiles/ObservationResultsRadiologyUvIps.fsh | 2 +- input/fsh/valuesets/ResultsStatusUvIps.fsh | 12 +++++++----- input/ignoreWarnings.txt | 3 --- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/input/fsh/profiles/ObservationResultsLaboratoryPathologyUvIps.fsh b/input/fsh/profiles/ObservationResultsLaboratoryPathologyUvIps.fsh index f594a712..a3d7a628 100644 --- a/input/fsh/profiles/ObservationResultsLaboratoryPathologyUvIps.fsh +++ b/input/fsh/profiles/ObservationResultsLaboratoryPathologyUvIps.fsh @@ -18,7 +18,7 @@ This observation may represent the result of a simple laboratory test such as he * . ^comment = "Represents either a lab simple observation or the group of observations produced by a laboratory study." * obeys ips-2 and ips-3 * status from ResultsStatusUvIps (required) -* status ^label = "Completed or Replaced Status Codes" +* status ^label = "Observation 'complete' status codes" * status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" * status ^binding.extension[=].valueString = "ObservationStatus" * category only CodeableConceptIPS diff --git a/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh b/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh index 0a0ad165..c42c9759 100644 --- a/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh +++ b/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh @@ -19,7 +19,7 @@ It allows also providing details about the related study using the partOf elemen * obeys hasMemberOrComponent * partOf only Reference(ImagingStudyUvIps) * status from ResultsStatusUvIps (required) -* status ^label = "Completed or Replaced Status Codes" +* status ^label = "Observation 'complete' status codes" * status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" * status ^binding.extension[=].valueString = "ObservationStatus" * category only CodeableConceptIPS diff --git a/input/fsh/valuesets/ResultsStatusUvIps.fsh b/input/fsh/valuesets/ResultsStatusUvIps.fsh index 9bd6d1a3..43654373 100644 --- a/input/fsh/valuesets/ResultsStatusUvIps.fsh +++ b/input/fsh/valuesets/ResultsStatusUvIps.fsh @@ -2,7 +2,7 @@ ValueSet: ResultsStatusUvIps Id: results-status-uv-ips Title: "Results Status Codes - IPS" Description: """ -IPS Status codes allowable for results. This value set includes a subset of completed or replaced codes from http://hl7.org/fhir/observation-status +IPS Observation status codes allowable for results. This value set includes the subset of \"complete\" (results available, with no further actions needed or anticipated) status codes from http://hl7.org/fhir/observation-status. """ * ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset" * ^status = #active @@ -13,7 +13,9 @@ IPS Status codes allowable for results. This value set includes a subset of com * ^jurisdiction = $m49.htm#001 * ^immutable = false * ^copyright = "Produced by HL7 under the terms of HL7® Governance and Operations Manual relating to Intellectual Property (Section 16), specifically its copyright, trademark and patent provisions." -* $observation-status#final "Final" -* $observation-status#amended "Amended" -* $observation-status#corrected "Corrected" -* $observation-status#appended "Appended" +* include codes from system $observation-status + where concept is-a #final "Final" +* include codes from system $observation-status + where concept is-a #amended "Amended" +* include codes from system $observation-status + where concept is-a #corrected "Corrected" \ No newline at end of file diff --git a/input/ignoreWarnings.txt b/input/ignoreWarnings.txt index cf1b9764..0fea26ec 100644 --- a/input/ignoreWarnings.txt +++ b/input/ignoreWarnings.txt @@ -14,9 +14,6 @@ INFORMATION: Immunization/75680: Immunization.vaccineCode.coding[2].system: A de # The EDQM codesystem has properties not known to FHIR publication tooling %No definition can be found for the system http://standardterms.edqm.eu, and the property% -# This code is forthcoming to the valueset and IPS would like to pre-adopt -WARNING: ValueSet/results-status-uv-ips: ValueSet.compose.include[0].concept[3]: The code 'appended' is not valid in the system http://hl7.org/fhir/observation-status (Unknown code 'appended' in the CodeSystem - # It is not possible to include examples on datatypes (oddly this error does not arise on other datatypes which lack examples) WARNING: StructureDefinition.where(url = 'http://hl7.org/fhir/uv/ips/StructureDefinition/Range-uv-ips'): The Implementation Guide contains no examples for this data type profile WARNING: StructureDefinition.where(url = 'http://hl7.org/fhir/uv/ips/StructureDefinition/SimpleQuantity-uv-ips'): The Implementation Guide contains no examples for this data type profile \ No newline at end of file