Skip to content

Commit 0ac03b9

Browse files
committed
FHIR-48336 relazing status codes in Results resources
1 parent ca93b70 commit 0ac03b9

7 files changed

+77
-4
lines changed

input/fsh/aliases.fsh

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Alias: $v3-ObservationInterpretation = http://terminology.hl7.org/CodeSystem/v3-
1919
Alias: $referencerange-meaning = http://terminology.hl7.org/CodeSystem/referencerange-meaning
2020
Alias: $condition-ver-status = http://terminology.hl7.org/CodeSystem/condition-ver-status
2121
Alias: $observation-status = http://hl7.org/fhir/observation-status
22+
Alias: $diagnostic-report-status = http://hl7.org/fhir/diagnostic-report-status
23+
Alias: $imaging-study-status = http://hl7.org/fhir/imagingstudy-status
2224
Alias: $icd-10 = http://hl7.org/fhir/sid/icd-10
2325
Alias: $icd-o-3 = http://terminology.hl7.org/CodeSystem/icd-o-3
2426
Alias: $organization-type = http://terminology.hl7.org/CodeSystem/organization-type

input/fsh/profiles/DiagnosticReportUvIps.fsh

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ Description: "This profile constrains the DiagnosticReport resource to represent
1212
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
1313
* ^jurisdiction = $m49.htm#001
1414
* ^purpose = "This profile constrains the DiagnosticReport resource to use the specific IPS profiles for observations and coded data types."
15-
* status = #final (exactly)
15+
* status from DiagnosticReportStatusUvIps (required)
16+
* status ^label = "Observation status codes except 'entered-in-error'"
17+
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
18+
* status ^binding.extension[=].valueString = "ObservationStatus"
1619
* category 1..1 MS
1720
* category only CodeableConceptIPS
1821
* code only CodeableConceptIPS

input/fsh/profiles/ImagingStudyUvIps.fsh

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Description: """This profile represents the constraints applied to the ImagingSt
1212
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
1313
* ^jurisdiction = $m49.htm#001
1414
* identifier MS
15+
* status from ImagingStudyStatusUvIps (required)
16+
* status ^label = "Imaging study status codes except 'entered-in-error'"
17+
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
18+
* status ^binding.extension[=].valueString = "ImagingStudyStatus"
1519
* subject only Reference(PatientUvIps)
1620
* subject MS
1721
* subject.reference 1.. MS

input/fsh/profiles/ObservationResultsLaboratoryPathologyUvIps.fsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This observation may represent the result of a simple laboratory test such as he
1818
* . ^comment = "Represents either a lab simple observation or the group of observations produced by a laboratory study."
1919
* obeys ips-2 and ips-3
2020
* status from ResultsStatusUvIps (required)
21-
* status ^label = "Observation 'complete' status codes"
21+
* status ^label = "Observation status codes except 'entered-in-error'"
2222
* status ^binding.extension[0].url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
2323
* status ^binding.extension[=].valueString = "ObservationStatus"
2424
* category only CodeableConceptIPS
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
ValueSet: DiagnosticReportStatusUvIps
2+
Id: diagnostics-report-status-uv-ips
3+
Title: "Diagnostics Report Status Codes - IPS"
4+
Description: """
5+
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.
6+
"""
7+
* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
8+
* ^status = #active
9+
* ^experimental = false
10+
* ^publisher = "HL7 International / Patient Care"
11+
* ^contact.telecom.system = #url
12+
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
13+
* ^jurisdiction = $m49.htm#001
14+
* ^immutable = false
15+
* ^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."
16+
* include codes from system $diagnostic-report-status
17+
where concept is-a #registered "Registered"
18+
* include codes from system $diagnostic-report-status
19+
where concept is-a #partial "Partial"
20+
* include codes from system $diagnostic-report-status
21+
where concept is-a #preliminary "Preliminary"
22+
* include codes from system $diagnostic-report-status
23+
where concept is-a #final "Final"
24+
* include codes from system $diagnostic-report-status
25+
where concept is-a #amended "Amended"
26+
* include codes from system $diagnostic-report-status
27+
where concept is-a #corrected "Corrected"
28+
* include codes from system $diagnostic-report-status
29+
where concept is-a #corrected "Appended"
30+
* include codes from system $diagnostic-report-status
31+
where concept is-a #cancelled "Cancelled"
32+
* include codes from system $diagnostic-report-status
33+
where concept is-a #unknown "Unknown"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
ValueSet: ImagingStudyStatusUvIps
2+
Id: imaging-study-status-uv-ips
3+
Title: "Imaging Study Status Codes - IPS"
4+
Description: """
5+
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.
6+
"""
7+
* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
8+
* ^status = #active
9+
* ^experimental = false
10+
* ^publisher = "HL7 International / Patient Care"
11+
* ^contact.telecom.system = #url
12+
* ^contact.telecom.value = "http://www.hl7.org/Special/committees/patientcare"
13+
* ^jurisdiction = $m49.htm#001
14+
* ^immutable = false
15+
* ^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."
16+
* include codes from system $imaging-study-status
17+
where concept is-a #registered "Registered"
18+
* include codes from system $imaging-study-status
19+
where concept is-a #available "Available"
20+
* include codes from system $imaging-study-status
21+
where concept is-a #cancelled "Cancelled"
22+
* include codes from system $imaging-study-status
23+
where concept is-a #unknown "Unknown"

input/fsh/valuesets/ResultsStatusUvIps.fsh

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ValueSet: ResultsStatusUvIps
22
Id: results-status-uv-ips
33
Title: "Results Status Codes - IPS"
44
Description: """
5-
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.
5+
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.
66
"""
77
* ^meta.profile = "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
88
* ^status = #active
@@ -13,9 +13,17 @@ IPS Observation status codes allowable for results. This value set includes the
1313
* ^jurisdiction = $m49.htm#001
1414
* ^immutable = false
1515
* ^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."
16+
* include codes from system $observation-status
17+
where concept is-a #registered "Registered"
18+
* include codes from system $observation-status
19+
where concept is-a #preliminary "Preliminary"
1620
* include codes from system $observation-status
1721
where concept is-a #final "Final"
1822
* include codes from system $observation-status
1923
where concept is-a #amended "Amended"
2024
* include codes from system $observation-status
21-
where concept is-a #corrected "Corrected"
25+
where concept is-a #corrected "Corrected"
26+
* include codes from system $observation-status
27+
where concept is-a #cancelled "Cancelled"
28+
* include codes from system $observation-status
29+
where concept is-a #unknown "Unknown"

0 commit comments

Comments
 (0)