## Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response vs http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-ersd-esld-count

Left: | US Core Screening Response Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response)
Right: | Observation - Diagnosis ERSD/ESLD Count (http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-ersd-esld-count)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response' vs 'http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-ersd-esld-count'
Error | StructureDefinition.version | Values for version differ: '4.1.0' vs '0.1.0'
Information | StructureDefinition.name | Values for name differ: 'USCoreObservationScreeningResponse' vs 'ObservationDiagnosisErsdEsldCount'
Information | StructureDefinition.title | Values for title differ: 'US Core Screening Response Observation Profile' vs 'Observation - Diagnosis ERSD/ESLD Count'
Information | StructureDefinition.date | Values for date differ: '2021-11-12' vs '2022-01-10T05:39:41+00:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International - Public Health Work Group'
Warning | Observation | Elements differ in short: 'questionnaire observations' 'Measurements and simple assertions'
Warning | Observation | Elements differ in definition: 'For Observations derived from surveys/questionnaires.' 'Measurements and simple assertions made about a patient, device or other subject.'
Warning | Observation | Elements differ in comments: 'Used for simple observations such as education status, food insecurity observations, etc. This profile allows the representation of SDOH observations based on SDOH screening questionnaire responses (which can also be represented using SDC QuestionnaireResponse).' 'Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.'
Error | Observation.status | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.category | Elements differ in requirements: 'To identify that observation is derived from a questionnaire.' 'Used for filtering what observations are retrieved and displayed.'
Error | Observation.category | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.code | Elements differ in short: 'Type of observation (code / type)' 'Count of hospitalized patients with ESRD/ESLD diagnoses'
Information | Observation.code | Example/preferred bindings differ at Observation.code using binding from USCoreObservationScreeningResponse
Error | Observation.subject | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.effective[x] | Elements differ in short: 'Clinically relevant time/time-period for observation' 'Time period of count'
Warning | Observation.effective[x] | Elements differ in definition: 'The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the 'physiologically relevant time'.' 'Date specimen collected/drawn.'
Warning | Observation.effective[x] | Elements differ in comments: 'At least a date should be present unless this observation is a historical report.' 'At least a date should be present unless this observation is a historical report. For recording imprecise or 'fuzzy' times (For example, a blood glucose measurement taken 'after breakfast') use the [Timing] datatype which allow the measurement to be tied to regular life events.'
Error | Observation.performer | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.value[x] | Elements differ in comments: 'An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.' 'An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section] below.'
Warning | Observation.dataAbsentReason | Elements differ in comments: ''Null' or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For a given LOINC question, if the LOINC answer list includes concepts such as 'unknown' or 'not available', they should be used for Observation.value. Where these concepts are not part of the value set for Observation.value, the Observation.dataAbsentReason can be used if necessary and appropriate.' 'Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be 'detected', 'not detected', 'inconclusive', or 'specimen unsatisfactory'. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code 'error' could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.'
Error | Observation.dataAbsentReason | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.derivedFrom | Elements differ in short: 'Related questionnaire responses or observations that the observation is made from' 'Related measurements the observation is made from'
Warning | Observation.derivedFrom | Elements differ in definition: 'Questionnaire responses or observations from which this observation value is derived.' 'The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.'
Error | Observation.derivedFrom | Elements differ in definition for mustSupport: 'true' 'false'
Error | Observation.derivedFrom | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response], CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])
Warning | Observation.component | Elements differ in definition: 'Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples: Individuals may be multiracial. Component is used to capture one or more races.' 'Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.'
Warning | Observation.component | Elements differ in comments: 'For questions represented in LOINC that specify “check all that apply”, the LOINC question should be used for Observation.code and for Observation.component.code. For “check all that apply” questions, the answers (regardless of whether one or more are selected) should only be represented using Observation.component.value and Observation.value should be empty.' 'For a discussion on the ways Observations can be assembled in groups together see [Notes] below.'
Error | Observation.component | Elements differ in definition for mustSupport: 'true' 'false'
Error | Observation.component.code | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.component.value[x] | Elements differ in comments: 'see `Observation.value[x]` comments' 'Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section] below.'
Error | Observation.component.value[x] | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.component.dataAbsentReason | Elements differ in comments: 'see `Observation.dataAbsentReason` comments' ''Null' or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be 'detected', 'not detected', 'inconclusive', or 'test not done'. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code 'error' could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.'
Error | Observation.component.dataAbsentReason | Elements differ in definition for mustSupport: 'true' 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Observation |
copyright | Used by permission of HL7 International, all rights reserved Creative Commons License |  | Removed the item 'Used by permission of HL7 International, all rights reserved Creative Commons License'
date | 2021-11-12 | 2022-01-10T05:39:41+00:00 | Values Differ
description | Profile for observations that represent question and answer pairs from from surveys/questionnaires such as Social Determinants of Health (SDOH) screening instruments. | This profile represents the count of all patients hospitalized during a specified time period who meet the criteria of ESRD/ESLD diagnoses (primary or secondary position), irrespective of whether they have experienced an adverse event. | Values Differ
experimental |  | false | Added the item 'false'
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCoreObservationScreeningResponse | ObservationDiagnosisErsdEsldCount | Values Differ
publisher | HL7 International - Cross-Group Projects | HL7 International - Public Health Work Group | Values Differ
purpose |  |
status | active |
title | US Core Screening Response Observation Profile | Observation - Diagnosis ERSD/ESLD Count | Values Differ
type | Observation |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response | http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-ersd-esld-count | Values Differ
version | 4.1.0 | 0.1.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Observation | I |  |  |  | I |  |  |  | Elements differ in short: "questionnaire observations" "Measurements and simple assertions" Elements differ in definition: "For Observations derived from surveys/questionnaires." "Measurements and simple assertions made about a patient, device or other subject." Elements differ in comments: "Used for simple observations such as education status, food insecurity observations, etc. This profile allows the representation of SDOH observations based on SDOH screening questionnaire responses (which can also be represented using SDC QuestionnaireResponse)." "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc."
id | Σ |  |  |  | Σ |  |  |  |
meta | Σ |  |  |  | Σ |  |  |  |
implicitRules | ?!Σ |  |  |  | ?!Σ |  |  |  |
language |  |  |  |  |  |  |  |  |
text |  |  |  |  |  |  |  |  |
contained |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?! |  |  |  | ?! |  |  |  |
identifier | Σ |  |  |  | Σ |  |  |  |
basedOn | Σ |  |  |  | Σ |  |  |  |
partOf | Σ |  |  |  | Σ |  |  |  |
status | ?!S Σ |  |  |  | ?!Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
Slices for category | S |  |  |  |  |  |  |  | Elements differ in requirements: "To identify that observation is derived from a questionnaire." "Used for filtering what observations are retrieved and displayed." Elements differ in definition for mustSupport: "true" "false"
code | S Σ |  |  |  | S Σ |  |  |  | Elements differ in short: "Type of observation (code / type)" "Count of hospitalized patients with ESRD/ESLD diagnoses" Example/preferred bindings differ at Observation.code using binding from USCoreObservationScreeningResponse
subject | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
focus | Σ |  |  |  | Σ |  |  |  |
encounter | Σ |  |  |  | Σ |  |  |  |
effective[x] | S Σ I |  |  |  | S Σ |  |  |  | Elements differ in short: "Clinically relevant time/time-period for observation" "Time period of count" Elements differ in definition: "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time"." "Date specimen collected/drawn." Elements differ in comments: "At least a date should be present unless this observation is a historical report." "At least a date should be present unless this observation is a historical report. For recording imprecise or "fuzzy" times (For example, a blood glucose measurement taken "after breakfast") use the [Timing] datatype which allow the measurement to be tied to regular life events."
issued | Σ |  |  |  | Σ |  |  |  |
performer | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
value[x] | S Σ I |  |  |  | S Σ I |  |  |  | Elements differ in comments: "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value." "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section] below."
dataAbsentReason | S I |  |  |  | I |  |  |  | Elements differ in comments: ""Null" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For a given LOINC question, if the LOINC answer list includes concepts such as 'unknown' or 'not available', they should be used for Observation.value. Where these concepts are not part of the value set for Observation.value, the Observation.dataAbsentReason can be used if necessary and appropriate." "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be "detected", "not detected", "inconclusive", or "specimen unsatisfactory". The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code "error" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values." Elements differ in definition for mustSupport: "true" "false"
interpretation |  |  |  |  |  |  |  |  |
note |  |  |  |  |  |  |  |  |
bodySite |  |  |  |  |  |  |  |  |
method |  |  |  |  |  |  |  |  |
specimen |  |  |  |  |  |  |  |  |
device |  |  |  |  |  |  |  |  |
referenceRange | I |  |  |  | I |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
low | I |  |  |  | I |  |  |  |
high | I |  |  |  | I |  |  |  |
type |  |  |  |  |  |  |  |  |
appliesTo |  |  |  |  |  |  |  |  |
age |  |  |  |  |  |  |  |  |
text |  |  |  |  |  |  |  |  |
hasMember | Σ |  |  |  | Σ |  |  |  |
derivedFrom | S Σ |  |  |  | Σ |  |  |  | Elements differ in short: "Related questionnaire responses or observations that the observation is made from" "Related measurements the observation is made from" Elements differ in definition: "Questionnaire responses or observations from which this observation value is derived." "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image." Elements differ in definition for mustSupport: "true" "false" Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-response], CanonicalType[http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])
component | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition: "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples: Individuals may be multiracial. Component is used to capture one or more races." "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations." Elements differ in comments: "For questions represented in LOINC that specify “check all that apply”, the LOINC question should be used for Observation.code and for Observation.component.code. For “check all that apply” questions, the answers (regardless of whether one or more are selected) should only be represented using Observation.component.value and Observation.value should be empty." "For a discussion on the ways Observations can be assembled in groups together see [Notes] below." Elements differ in definition for mustSupport: "true" "false"
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
code | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
value[x] | S Σ I |  |  |  | Σ |  |  |  | Elements differ in comments: "see `Observation.value[x]` comments" "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section] below." Elements differ in definition for mustSupport: "true" "false"
dataAbsentReason | S I |  |  |  | I |  |  |  | Elements differ in comments: "see `Observation.dataAbsentReason` comments" ""Null" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be "detected", "not detected", "inconclusive", or "test not done". The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code "error" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values." Elements differ in definition for mustSupport: "true" "false"
interpretation |  |  |  |  |  |  |  |  |
referenceRange |  |  |  |  |  |  |  |  |
Documentation for this format