Skip to content

Commit

Permalink
FHIR-48336 relazing status codes in Results resources
Browse files Browse the repository at this point in the history
  • Loading branch information
jddamore committed Nov 25, 2024
1 parent ca93b70 commit 0ac03b9
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 4 deletions.
2 changes: 2 additions & 0 deletions input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Alias: $v3-ObservationInterpretation = http://terminology.hl7.org/CodeSystem/v3-
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: $diagnostic-report-status = http://hl7.org/fhir/diagnostic-report-status
Alias: $imaging-study-status = http://hl7.org/fhir/imagingstudy-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
5 changes: 4 additions & 1 deletion input/fsh/profiles/DiagnosticReportUvIps.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ Description: "This profile constrains the DiagnosticReport resource to represent
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
* ^jurisdiction = $m49.htm#001
* ^purpose = "This profile constrains the DiagnosticReport resource to use the specific IPS profiles for observations and coded data types."
* status = #final (exactly)
* status from DiagnosticReportStatusUvIps (required)
* status ^label = "Observation status codes except 'entered-in-error'"
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
* status ^binding.extension[=].valueString = "ObservationStatus"
* category 1..1 MS
* category only CodeableConceptIPS
* code only CodeableConceptIPS
Expand Down
4 changes: 4 additions & 0 deletions input/fsh/profiles/ImagingStudyUvIps.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Description: """This profile represents the constraints applied to the ImagingSt
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
* ^jurisdiction = $m49.htm#001
* identifier MS
* status from ImagingStudyStatusUvIps (required)
* status ^label = "Imaging study status codes except 'entered-in-error'"
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
* status ^binding.extension[=].valueString = "ImagingStudyStatus"
* subject only Reference(PatientUvIps)
* subject MS
* subject.reference 1.. MS
Expand Down
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 = "Observation 'complete' status codes"
* status ^label = "Observation status codes except 'entered-in-error'"
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
* status ^binding.extension[=].valueString = "ObservationStatus"
* category only CodeableConceptIPS
Expand Down
33 changes: 33 additions & 0 deletions input/fsh/valuesets/DiagnosticReportStatusUvIps.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
ValueSet: DiagnosticReportStatusUvIps
Id: diagnostics-report-status-uv-ips
Title: "Diagnostics Report Status Codes - IPS"
Description: """
IPS Diagnostic Report status codes allowable for diagnostics reports. This value set includes all status codes except \"entered-in-error\" from http://hl7.org/fhir/diagnostic-report-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."
* include codes from system $diagnostic-report-status
where concept is-a #registered "Registered"
* include codes from system $diagnostic-report-status
where concept is-a #partial "Partial"
* include codes from system $diagnostic-report-status
where concept is-a #preliminary "Preliminary"
* include codes from system $diagnostic-report-status
where concept is-a #final "Final"
* include codes from system $diagnostic-report-status
where concept is-a #amended "Amended"
* include codes from system $diagnostic-report-status
where concept is-a #corrected "Corrected"
* include codes from system $diagnostic-report-status
where concept is-a #corrected "Appended"
* include codes from system $diagnostic-report-status
where concept is-a #cancelled "Cancelled"
* include codes from system $diagnostic-report-status
where concept is-a #unknown "Unknown"
23 changes: 23 additions & 0 deletions input/fsh/valuesets/ImagingStudyStatusUvIps.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ValueSet: ImagingStudyStatusUvIps
Id: imaging-study-status-uv-ips
Title: "Imaging Study Status Codes - IPS"
Description: """
IPS Imaging Study status codes allowable for results. section This value set includes all imaging study status codes except \"entered-in-error\" from http://hl7.org/fhir/imagingstudy-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."
* include codes from system $imaging-study-status
where concept is-a #registered "Registered"
* include codes from system $imaging-study-status
where concept is-a #available "Available"
* include codes from system $imaging-study-status
where concept is-a #cancelled "Cancelled"
* include codes from system $imaging-study-status
where concept is-a #unknown "Unknown"
12 changes: 10 additions & 2 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 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.
IPS Observation status codes allowable for results. This value set includes all observation status codes except \"entered-in-error\" from http://hl7.org/fhir/observation-status.
"""
* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
* ^status = #active
Expand All @@ -13,9 +13,17 @@ IPS Observation status codes allowable for results. This value set includes the
* ^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."
* include codes from system $observation-status
where concept is-a #registered "Registered"
* include codes from system $observation-status
where concept is-a #preliminary "Preliminary"
* 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"
where concept is-a #corrected "Corrected"
* include codes from system $observation-status
where concept is-a #cancelled "Cancelled"
* include codes from system $observation-status
where concept is-a #unknown "Unknown"

0 comments on commit 0ac03b9

Please sign in to comment.