-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'instance-declaration-changes' into master
- Loading branch information
Showing
14 changed files
with
289 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
input/fsh/instances/observation-imaging-example-with-numeric-range-measurement.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Instance: ips-example-imaging-5 | ||
InstanceOf: Observation | ||
Title: "Observation: imaging Chest X-ray - PA and lateral, with additional sub-observation including numeric range" | ||
Description: "Observation: imaging Chest X-ray - PA and lateral, with additional sub-observation including numeric range" | ||
Usage: #example | ||
* partOf = Reference(TII-ImagingStudy-5-1) | ||
* status = #final | ||
* category = $observation-category#imaging "Imaging" | ||
* code = $loinc#42272-5 "XR Chest PA and Lateral" | ||
* code.text = "Chest X-ray - PA and lateral" | ||
* subject = Reference(Patient/eumfh-39-07) | ||
* effectiveDateTime = "1995-06-08" | ||
* performer[0] = Reference(Practitioner/eumfh-39-07) | ||
* performer[+] = Reference(TII-Organization1) | ||
* valueString = "FINDINGS: Normal cardiomediastinal silhouette. No focal parenchymal process. No pleural effusions. No pneumothorax. No acute osseous abnormalities. IMPRESSION: No acute cardiopulmonary findings." | ||
* component[0].code = $loinc#38181-4 "XR Chest Diameter.lateral" | ||
* component[=].valueRange.low = 27.8 'cm' "cm" | ||
* component[=].valueRange.high = 29.6 'cm' "cm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Invariant: ips-2 | ||
Description: "if no \"hasMember\" element is present then Observation must have a\" value\"" | ||
* severity = #error | ||
* expression = "value.exists() or hasMember.exists()" | ||
Description: "At least one of these Observation elements shall be provided: \"value\", \"dataAbsentReason\", \"hasMember\" or \"component\"" | ||
Severity: #error | ||
Expression: "value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Invariant: ips-3 | ||
Description: "If observation has components, at least one of these Observation.component elements shall be provided: \"value\" or \"dataAbsentReason\"" | ||
Severity: #error | ||
Expression: "component.exists() implies (component.value.exists() or component.dataAbsentReason.exists())" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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. | ||
""" | ||
* ^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 $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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.