From cdb5c8eb7384b95a005fa09516fd264b7d8aa3a7 Mon Sep 17 00:00:00 2001 From: Rob Hausam Date: Thu, 1 Aug 2024 08:58:13 -0500 Subject: [PATCH] FHIR-46517 - Added imaging example including Range-uv-ips data type. Fixed typo in ObservationResultsRadiologyUvIps profile. --- ...-example-with-numeric-range-measurement.fsh | 18 ++++++++++++++++++ .../ObservationResultsRadiologyUvIps.fsh | 2 +- input/ignoreWarnings.txt | 4 ---- sushi-config.yaml | 4 ++++ 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 input/fsh/instances/observation-imaging-example-with-numeric-range-measurement.fsh diff --git a/input/fsh/instances/observation-imaging-example-with-numeric-range-measurement.fsh b/input/fsh/instances/observation-imaging-example-with-numeric-range-measurement.fsh new file mode 100644 index 00000000..5b362c25 --- /dev/null +++ b/input/fsh/instances/observation-imaging-example-with-numeric-range-measurement.fsh @@ -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" \ No newline at end of file diff --git a/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh b/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh index c42c9759..0c6e8e2c 100644 --- a/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh +++ b/input/fsh/profiles/ObservationResultsRadiologyUvIps.fsh @@ -6,7 +6,7 @@ Description: """This profile represents the constraints applied to the Observati This observation may represent the conclusions of a diagnostic procedure such a Chest RX, or it may group the set of results produced by that single or multi-modality procedure. -In the latter case, the main observation (this one) carries the overall conclusion of the study and/or a global interpretation by the observer of the study as value of this observation; and may references the atomic results of the study as "child observations". +In the latter case, the main observation (this one) carries the overall conclusion of the study and/or a global interpretation by the observer of the study as value of this observation; and may reference the atomic results of the study as "child observations". It allows also providing details about the related study using the partOf element referring to an ImagingStudy resource. """ diff --git a/input/ignoreWarnings.txt b/input/ignoreWarnings.txt index 0fea26ec..d540fefd 100644 --- a/input/ignoreWarnings.txt +++ b/input/ignoreWarnings.txt @@ -13,7 +13,3 @@ 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% - -# 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 \ No newline at end of file diff --git a/sushi-config.yaml b/sushi-config.yaml index 3caea0a6..cc795aef 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -138,6 +138,10 @@ resources: name: 'Observation: imaging CT Abdomen W contrast IV, sub-observations' description: 'Observation: imaging CT Abdomen W contrast IV,sub-observations' exampleCanonical: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips + Observation/ips-example-imaging-5: + name: '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' + exampleCanonical: http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips ImagingStudy/TII-ImagingStudy-5-1: name: 'ImagingStudy: referred DICOM study' description: 'ImagingStudy: referred DICOM study'