Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions FHIR-us-qicore.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<artifact deprecated="true" id="StructureDefinition/event-status" key="StructureDefinition-event-status" name="Event Status"/>
<artifact deprecated="true" id="StructureDefinition/event-subject" key="StructureDefinition-event-subject" name="Event Subject"/>
<artifact deprecated="true" id="ValueSet/qicore-example-foods" key="ValueSet-qicore-example-foods" name="Example Foods"/>
<artifact id="Observation/example-odh" key="Observation-example-odh" name="Example Observation - example-odh"/>
<artifact deprecated="true" id="Library/FHIRCommon" key="Library-FHIRCommon" name="FHIR Common"/>
<artifact deprecated="true" id="Library/FHIRHelpers" key="Library-FHIRHelpers" name="FHIR Helpers"/>
<artifact id="FamilyMemberHistory/example" key="FamilyMemberHistory-example" name="FamilyMemberHistory example"/>
Expand Down Expand Up @@ -129,8 +130,9 @@
<artifact id="NutritionOrder/example" key="NutritionOrder-example" name="NutrientOrder example"/>
<artifact deprecated="true" id="Basic/example" key="Basic-example" name="Nutrition Intake example"/>
<artifact deprecated="true" id="StructureDefinition/qicore-nutritionrequest" key="NutritionRequest" name="NutritionRequest"/>
<artifact id="Observation/example-odh" key="Observation-example-odh" name="ODH Observation example"/>
<artifact id="Observation/example" key="Observation-example" name="Observation example"/>
<artifact id="Observation/example-hematocrit" key="Observation-example-hematocrit" name="Observation example - Hematocrit"/>
<artifact id="Observation/example" key="Observation-example" name="Observation example - Hemoglobin"/>
<artifact id="Observation/example-wbc" key="Observation-example-wbc" name="Observation example - White Blood Cell"/>
<artifact deprecated="true" id="Observation/negation-with-code-example" key="Observation-negation-with-code-example" name="ObservationCancelled with code example"/>
<artifact deprecated="true" id="Observation/negation-example" key="Observation-negation-example" name="ObservationCancelled with value set example"/>
<artifact id="Organization/example" key="Organization-example" name="Organization example"/>
Expand Down
4 changes: 4 additions & 0 deletions input/intro-notes/DiagnosticReport-example-intro.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<!--Begin Generated Intro Tag (DO NOT REMOVE)-->
This is an example, representative of what panel results should look like. Not all results are included.
</div>
3 changes: 0 additions & 3 deletions input/pages/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,3 @@
* [Task rejected using a value set to indicate what was not done](Task-negation-example.html)
* [Task rejected using a code to indicate what was not done](Task-negation-with-code-example.html)

**Additional Examples**
* [ODH Example](Observation-example.html)

2 changes: 1 addition & 1 deletion input/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ QI-Core’s concept of negation follows the informative publication established

The measure or CDS artifact uses specifically designed QI-Core profiles to indicate that an activity intentionally did not occur for a valid reason.

When there is a need to document evidence that an expected activity was not done due to patient intent and/or specific criteria, systems should use one of the QI-Core specific (negation rationale)[negation.html] patterns that align with existing profiles representing the expected actions..
When there is a need to document evidence that an expected activity was not done due to patient intent and/or specific criteria, systems should use one of the QI-Core specific [negation rationale](negation.html) patterns that align with existing profiles representing the expected actions.
<a href="negation.html"><b>QI-Core Negation</b></a> provides detailed descriptions and guidance.


Expand Down
408 changes: 239 additions & 169 deletions input/qicore.xml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions input/resources/diagnosticreport-example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@
<result>
<reference value="Observation/example"/>
</result>
<result>
<reference value="Observation/example-hematocrit"/>
</result>
<result>
<reference value="Observation/example-wbc"/>
</result>
</DiagnosticReport>
45 changes: 45 additions & 0 deletions input/resources/observation-example-hematocrit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../../../FHIR-Spec/4.0.0/fhir-all-xsd/fhir-all.xsd">
<id value="example-hematocrit"/>
<meta>
<profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab"/>
</meta>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="laboratory"/>
<display value="Laboratory"/>
</coding>
</category>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="4544-3"/>
<display value="Hematocrit [Volume Fraction] of Blood by Automated count"/>
</coding>
</code>
<subject>
<reference value="Patient/example-2"/>
</subject>
<encounter>
<reference value="Encounter/example"/>
</encounter>
<effectivePeriod>
<start value="2023-04-02T10:30:10+01:00"/>
<end value="2023-04-05T10:30:10+01:00"/>
</effectivePeriod>
<issued value="2023-04-03T15:30:10+01:00"/>
<performer>
<reference value= "Organization/example1"/>
<display value="Hendricks Country Hospital"/>
</performer>
<valueQuantity>
<value value="30"/>
<unit value="%"/>
<system value="http://unitsofmeasure.org"/>
<code value="%"/>
</valueQuantity>
</Observation>


54 changes: 54 additions & 0 deletions input/resources/observation-example-wbc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../../../FHIR-Spec/4.0.0/fhir-all-xsd/fhir-all.xsd">
<id value="example-wbc"/>
<meta>
<profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab"/>
</meta>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="laboratory"/>
<display value="Laboratory"/>
</coding>
</category>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="6690-2"/>
<display value="Leukocytes [#/volume] in Blood by Automated count"/>
</coding>
</code>
<subject>
<reference value="Patient/example-2"/>
</subject>
<encounter>
<reference value="Encounter/example"/>
</encounter>
<effectivePeriod>
<start value="2023-04-02T10:30:10+01:00"/>
<end value="2023-04-05T10:30:10+01:00"/>
</effectivePeriod>
<issued value="2023-04-03T15:30:10+01:00"/>
<performer>
<reference value= "Organization/example1"/>
<display value="Hendricks Country Hospital"/>
</performer>
<valueQuantity>
<value value="11"/>
<unit value="10*9/L"/>
<system value="http://unitsofmeasure.org"/>
<code value="10*9/L"/>
</valueQuantity>
<interpretation>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
<code value="N"/>
<display value="Normal"/>
</coding>
<text value="Normal"/>
</interpretation>
</Observation>


182 changes: 44 additions & 138 deletions input/resources/observation-example.xml
Original file line number Diff line number Diff line change
@@ -1,147 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../../../FHIR-Spec/4.0.0/fhir-all-xsd/fhir-all.xsd">
<id value="example"/>
<meta>
<profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"/>
</meta>
<extension url="http://hl7.org/fhir/StructureDefinition/observation-bodyPosition">
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="33586001"/>
<display value="Sitting position (finding)"/>
</coding>
</valueCodeableConcept>
</extension>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="vital-signs"/>
<display value="Vital Signs"/>
</coding>
</category>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="30350-3"/>
<display value="Hemoglobin [Mass/volume] in Venous blood"/>
</coding>
</code>
<subject>
<reference value="Patient/example"/>
</subject>
<encounter>
<reference value="Encounter/example"/>
</encounter>
<effectivePeriod>
<start value="2013-04-02T10:30:10+01:00"/>
<end value="2013-04-05T10:30:10+01:00"/>
</effectivePeriod>
<issued value="2013-04-03T15:30:10+01:00"/>
<performer>
<reference value= "Practitioner/example"/>
<display value="Practitioner"/>
</performer>
<valueQuantity>
<value value="7.2"/>
<unit value="g/dl"/>
<system value="http://unitsofmeasure.org"/>
<code value="g/dL"/>
</valueQuantity>
<interpretation>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0078"/>
<code value="L"/>
<display value="Low"/>
</coding>
<text value="Below low normal"/>
</interpretation>
<bodySite>
<coding>
<system value="http://snomed.info/sct"/>
<code value="308046002"/>
<display value="Superficial forearm vein"/>
</coding>
</bodySite>
<method>
<coding>
<system value="http://snomed.info/sct"/>
<code value="120220003"/>
<display value="Injection to forearm"/>
</coding>
</method>
<derivedFrom>
<reference value="Observation/example"/>
</derivedFrom>
<component>
<!--
Observations are often coded in multiple code systems.
- LOINC provides a very specific code (though not more specific in this particular
case)
- snomed provides a clinically relevant code that is usually less granular
than LOINC
- the source system provides its own code, which may be less or more granular
than LOINC

this is shown here to demonstrate the concept of translations within the codeableConcept
datatype. The diastolic code below only has a LOINC code
-->
<code>
<!-- LOINC -code -->
<coding>
<system value="http://loinc.org"/>
<code value="8480-6"/>
<display value="Systolic blood pressure"/>
</coding>
<!-- SNOMED CT Codes -->
<coding>
<system value="http://snomed.info/sct"/>
<code value="271649006"/>
<display value="Systolic blood pressure"/>
</coding>
</code>
<valueQuantity>
<value value="107"/>
<unit value="mmHg"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
</valueQuantity>
<!-- an interpretation for the individual composite observation -->
<interpretation>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0078"/>
<code value="N"/>
<display value="normal"/>
</coding>
<text value="Normal"/>
</interpretation>
<!-- Should have a refrange as well -->
</component>
<component>
<!-- this codes only has a LOINC code -->
<id value="example"/>
<meta>
<profile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab"/>
</meta>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="laboratory"/>
<display value="Laboratory"/>
</coding>
</category>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="8462-4"/>
<display value="Diastolic blood pressure"/>
</coding>
<coding>
<system value="http://loinc.org"/>
<code value="718-7"/>
<display value="Hemoglobin [Mass/volume] in Blood"/>
</coding>
</code>
<subject>
<reference value="Patient/example-2"/>
</subject>
<encounter>
<reference value="Encounter/example"/>
</encounter>
<effectivePeriod>
<start value="2023-04-02T10:30:10+01:00"/>
<end value="2023-04-05T10:30:10+01:00"/>
</effectivePeriod>
<issued value="2023-04-03T15:30:10+01:00"/>
<performer>
<reference value= "Organization/example1"/>
<display value="Hendricks Country Hospital"/>
</performer>
<valueQuantity>
<value value="60"/>
<unit value="mmHg"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
<value value="7.2"/>
<unit value="g/dL"/>
<system value="http://unitsofmeasure.org"/>
<code value="g/dL"/>
</valueQuantity>
<!-- an interpretation for the individual composite observation -->
<interpretation>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0078"/>
<code value="L"/>
<display value="low"/>
</coding>
<text value="Below low normal"/>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>
<code value="L"/>
<display value="Low"/>
</coding>
<text value="Low"/>
</interpretation>
<!-- Should have a refrange as well -->
</component>
</Observation>