Skip to content

Commit

Permalink
FHIR-45602 adding expanded results status valueset
Browse files Browse the repository at this point in the history
  • Loading branch information
jddamore committed Jul 31, 2024
1 parent c4d7d2d commit 72aaf45
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 7 deletions.
1 change: 1 addition & 0 deletions input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Alias: $observation-category = http://terminology.hl7.org/CodeSystem/observation
Alias: $v3-ObservationInterpretation = http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation
Alias: $referencerange-meaning = http://terminology.hl7.org/CodeSystem/referencerange-meaning
Alias: $condition-ver-status = http://terminology.hl7.org/CodeSystem/condition-ver-status
Alias: $observation-status = http://hl7.org/fhir/observation-status
Alias: $icd-10 = http://hl7.org/fhir/sid/icd-10
Alias: $icd-o-3 = http://terminology.hl7.org/CodeSystem/icd-o-3
Alias: $organization-type = http://terminology.hl7.org/CodeSystem/organization-type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ This observation may represent the result of a simple laboratory test such as he
* . ^definition = "This observation may represent the result of a simple laboratory or pathology test such as hematocrit, or it may group the set of results produced by a multi-test study or panel such as a complete blood count, a dynamic function test, or a urine specimen study. In the latter case, the observation carries the overall conclusion of the study and references the atomic results of the study as \"has-member\" child observations"
* . ^comment = "Represents either a lab simple observation or the group of observations produced by a laboratory study."
* obeys ips-2 and ips-3
* status = #final (exactly)
* status ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"
* status ^extension[=].valueString = "default: final"
* status from ResultsStatusUvIps (required)
* status ^label = "Completed or Replaced Status Codes"
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
* status ^binding.extension[=].valueString = "ObservationStatus"
* category only CodeableConceptIPS
* category ^slicing.discriminator.type = #pattern
* category ^slicing.discriminator.path = "$this"
Expand Down
8 changes: 4 additions & 4 deletions input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ It allows also providing details about the related study using the partOf elemen
* ^jurisdiction = $m49.htm#001
* obeys hasMemberOrComponent
* partOf only Reference(ImagingStudyUvIps)
* status = #final (exactly)
* status ^extension.url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"
* status ^extension.valueString = "default: final"
* status ^definition = "The status of the result value. Only final results feed patient summaries."
* status from ResultsStatusUvIps (required)
* status ^label = "Completed or Replaced Status Codes"
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
* status ^binding.extension[=].valueString = "ObservationStatus"
* category only CodeableConceptIPS
* category ^slicing.discriminator.type = #pattern
* category ^slicing.discriminator.path = "$this"
Expand Down
19 changes: 19 additions & 0 deletions input/fsh/valuesets/ResultsStatusUvIps.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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
"""
* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
* ^status = #active
* ^experimental = false
* ^publisher = "HL7 International / Patient Care"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
* ^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"
3 changes: 3 additions & 0 deletions input/ignoreWarnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ 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 72aaf45

Please sign in to comment.