Skip to content

Commit

Permalink
FHIR-45602 - Update value set definition and related profile text. Th…
Browse files Browse the repository at this point in the history
…e '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.
  • Loading branch information
rhausam committed Jul 31, 2024
1 parent 85d8efb commit c536295
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions input/fsh/valuesets/ResultsStatusUvIps.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
3 changes: 0 additions & 3 deletions input/ignoreWarnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c536295

Please sign in to comment.