## Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test vs http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-diabetes-count

Left: | US Core Clinical Test Result Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test)
Right: | Observation - Diagnosis Diabetes Count (http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-diabetes-count)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test' vs 'http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-diabetes-count'
Error | StructureDefinition.version | Values for version differ: '4.1.0' vs '0.1.0'
Information | StructureDefinition.name | Values for name differ: 'USCoreClinicalTestResultObservationProfile' vs 'ObservationDiagnosisDiabetesCount'
Information | StructureDefinition.title | Values for title differ: 'US Core Clinical Test Result Observation Profile' vs 'Observation - Diagnosis Diabetes Count'
Information | StructureDefinition.date | Values for date differ: '2021-11-09' 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'
Error | Observation.status | Elements differ in definition for mustSupport: 'true' 'false'
Error | Observation.category | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.code | Elements differ in short: 'Clinical Test Name' 'Count of hospitalized patients with Diabetes diagnoses'
Warning | Observation.code | Elements differ in definition: 'The name of the non-imaging or non-laboratory test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC.' 'Describes what was observed. Sometimes this is called the observation 'name'.'
Warning | Observation.code | Elements differ in comments: 'The typical patterns for codes are: 1) a LOINC code either as a translation from a 'local' code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.' '*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.'
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'. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.' 'Time period of count'
Warning | Observation.value[x] | Elements differ in short: 'Result Value' 'Actual result'
Error | Observation.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-09 | 2022-01-10T05:39:41+00:00 | Values Differ
description | Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve clinical test results | This profile represents the count of all patients hospitalized during a specified time period who meet the criteria of Diabetes 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 | USCoreClinicalTestResultObservationProfile | ObservationDiagnosisDiabetesCount | Values Differ
publisher | HL7 International - Cross-Group Projects | HL7 International - Public Health Work Group | Values Differ
purpose |  |
status | active |
title | US Core Clinical Test Result Observation Profile | Observation - Diagnosis Diabetes Count | Values Differ
type | Observation |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test | http://hl7.org/fhir/us/nhsn-ade/StructureDefinition/Observation-diagnosis-diabetes-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 |  |  |  |
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 definition for mustSupport: "true" "false"
code | S Σ |  |  |  | S Σ |  |  |  | Elements differ in short: "Clinical Test Name" "Count of hospitalized patients with Diabetes diagnoses" Elements differ in definition: "The name of the non-imaging or non-laboratory test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC." "Describes what was observed. Sometimes this is called the observation "name"." Elements differ in comments: "The typical patterns for codes are: 1) a LOINC code either as a translation from a "local" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display." "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation."
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". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself." "Time period of count"
issued | Σ |  |  |  | Σ |  |  |  |
performer | Σ |  |  |  | Σ |  |  |  |
value[x] | S Σ I |  |  |  | S Σ I |  |  |  | Elements differ in short: "Result Value" "Actual result"
dataAbsentReason | S I |  |  |  | I |  |  |  | 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 | Σ |  |  |  | Σ |  |  |  |
component | Σ |  |  |  | Σ |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
code | Σ |  |  |  | Σ |  |  |  |
value[x] | Σ |  |  |  | Σ |  |  |  |
dataAbsentReason | I |  |  |  | I |  |  |  |
interpretation |  |  |  |  |  |  |  |  |
referenceRange |  |  |  |  |  |  |  |  |
Documentation for this format