## Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation

Left: | US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right: | QICore NonPatient Observation (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation'
Error | StructureDefinition.version | Values for version differ: '9.0.0-ballot' vs '7.0.2'
Information | StructureDefinition.name | Values for name differ: 'USCoreObservationSexualOrientationProfile' vs 'QICoreNonPatientObservation'
Information | StructureDefinition.title | Values for title differ: 'US Core Observation Sexual Orientation Profile' vs 'QICore NonPatient Observation'
Information | StructureDefinition.date | Values for date differ: '2023-10-17' vs '2018-08-22'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Clinical Quality Information'
Information | StructureDefinition.short | Values for short differ: 'registered | preliminary | final | amended +' vs '(QI) registered | prliminary | final | amended | corrected | cancelled | entered-in-error | unknown'
Warning | Observation.status | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.short | Values for short differ: 'Classification of type of observation' vs '(QI) Classification of type of observation'
Information | Observation.category | Element minimum cardinalities differ: '0' vs '1'
Information | StructureDefinition.short | Values for short differ: 'Sexual Orientation' vs '(QI) Type of observation (code / type)'
Warning | Observation.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | Observation.code | Example/preferred bindings differ at Observation.code using binding from QICoreNonPatientObservation
Information | StructureDefinition.short | Values for short differ: 'Who and/or what the observation is about' vs '(QI) The device/location/implantable device the observation is about'
Information | StructureDefinition.definition | Values for definition differ: 'The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.' vs 'The device/location/implantable device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.'
Information | StructureDefinition.comment | Values for comment differ: 'One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.' vs 'One would expect this element to be a cardinality of 1..1.'
Warning | Observation.subject | Elements differ in definition for mustSupport: 'true' vs 'false'
Error | Observation.subject | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device]])
Information | StructureDefinition.short | Values for short differ: 'Clinically relevant time/time-period for observation' vs '(QI) Clinically relevant time/time-period for observation'
Information | StructureDefinition.definition | Values for definition differ: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' vs '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.'
Warning | Observation.effective[x] | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.short | Values for short differ: 'Who is responsible for the observation' vs '(QI) Who is responsible for the observation'
Information | StructureDefinition.short | Values for short differ: 'Actual result' vs '(QI) Actual result'
Information | StructureDefinition.short | Values for short differ: 'High, low, normal, etc.' vs '(QI) High, low, normal, etc.'
Information | StructureDefinition.short | Values for short differ: 'Related measurements the observation is made from' vs '(QI) QI Core Profiles or other resource the observation is made from'
Information | StructureDefinition.definition | Values for definition differ: '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.' vs 'Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived.'
Error | Observation.derivedFrom | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence|4.0.1]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])

### 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 | 2023-10-17 | 2018-08-22 | Values Differ
description | The US Core Observation Sexual Orientation Profile inherits from the FHIR [Observation](https://hl7.org/fhir/R4/observation.html) resource; refer to refer to it for scope and usage definitions. This Profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient. It specifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption. | Profile of NonPatient Observation for decision support/quality metrics evaluating resource use and availability rather than focusing on patients. Defines the core set of elements and extensions for quality rule and measure authors. | Values Differ
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCoreObservationSexualOrientationProfile | QICoreNonPatientObservation | Values Differ
publisher | HL7 International / Cross-Group Projects | HL7 International / Clinical Quality Information | Values Differ
purpose |  |
status | active |
title | US Core Observation Sexual Orientation Profile | QICore NonPatient Observation | Values Differ
type | Observation |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation | Values Differ
version | 9.0.0-ballot | 7.0.2 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Observation | C | 0..* | Observation | Measurements and simple assertions Constraints: us-core-2 | C | 0..* | Observation | Measurements and simple assertions |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Business Identifier for observation | Σ | 0..* | Identifier | Business Identifier for observation |
basedOn | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order |
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event |
status | ?!S Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ?? (required) | ?!Σ | 1..1 | code | (QI) registered | prliminary | final | amended | corrected | cancelled | entered-in-error | unknown Binding: ?? (required): Codes providing the status of an observation. | Elements differ in definition for mustSupport: 'true' vs 'false'
category |  | 0..* | CodeableConcept | Classification of type of observation Binding: ?? (preferred): Codes for high level observation categories. |  | 1..* | CodeableConcept | (QI) Classification of type of observation Binding: ?? (preferred): Codes for high level observation categories. | Element minimum cardinalities differ: '0' vs '1'
code | S Σ | 1..1 | CodeableConcept | Sexual Orientation Binding: ?? (example): Codes identifying names of simple observations. Required Pattern: {"coding":[{"system":"http://loinc.org","code":"76690-7"}]} | Σ | 1..1 | CodeableConcept | (QI) Type of observation (code / type) Binding: ?? (preferred): This value set specifies the type of observation | Elements differ in definition for mustSupport: 'true' vs 'false' Example/preferred bindings differ at Observation.code using binding from QICoreNonPatientObservation
subject | S Σ | 1..1 | Reference(US Core Patient Profile) | Who and/or what the observation is about | Σ | 1..1 | Reference(QICore Device | QICore Location | US Core Implantable Device Profile) | (QI) The device/location/implantable device the observation is about | Elements differ in definition for mustSupport: 'true' vs 'false' Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device]])
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record |
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made |
effective[x] | S Σ | 0..1 | dateTime S, Period, Timing, instant | Clinically relevant time/time-period for observation | Σ | 0..1 | dateTime, Period, Timing, instant | (QI) Clinically relevant time/time-period for observation | Elements differ in definition for mustSupport: 'true' vs 'false'
issued | Σ | 0..1 | instant | Date/Time this version was made available | Σ | 0..1 | instant | Date/Time this version was made available |
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who is responsible for the observation | Σ | 0..* | Reference(QICore Practitioner | QICore Organization | QICore Patient | QICore PractitionerRole | QICore CareTeam | QICore RelatedPerson) | (QI) Who is responsible for the observation |
Slices for value[x] | Σ C | 0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | Actual result Slice: Unordered, Open by type:$this | Σ C | 0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | (QI) Actual result Slice: Unordered, Open by type:$this |
dataAbsentReason | C | 0..1 | CodeableConcept | Why the result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. | C | 0..1 | CodeableConcept | Why the result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
interpretation |  | 0..* | CodeableConcept | High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. |  | 0..* | CodeableConcept | (QI) High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. |
note |  | 0..* | Annotation | Comments about the observation |  | 0..* | Annotation | Comments about the observation |
bodySite |  | 0..1 | CodeableConcept | Observed body part Binding: ?? (example): Codes describing anatomical locations. May include laterality. |  | 0..1 | CodeableConcept | Observed body part Binding: ?? (example): Codes describing anatomical locations. May include laterality. |
method |  | 0..1 | CodeableConcept | How it was done Binding: ?? (example): Methods for simple observations. |  | 0..1 | CodeableConcept | How it was done Binding: ?? (example): Methods for simple observations. |
specimen |  | 0..1 | Reference(Specimen) | Specimen used for this observation |  | 0..1 | Reference(Specimen) | Specimen used for this observation |
device |  | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device |  | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device |
referenceRange | C | 0..* | BackboneElement | Provides guide for interpretation | C | 0..* | BackboneElement | Provides guide for interpretation |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
low | C | 0..1 | ?? | Low Range, if relevant | C | 0..1 | ?? | Low Range, if relevant |
high | C | 0..1 | ?? | High Range, if relevant | C | 0..1 | ?? | High Range, if relevant |
type |  | 0..1 | CodeableConcept | Reference range qualifier Binding: ?? (preferred): Code for the meaning of a reference range. |  | 0..1 | CodeableConcept | Reference range qualifier Binding: ?? (preferred): Code for the meaning of a reference range. |
appliesTo |  | 0..* | CodeableConcept | Reference range population Binding: ?? (example): Codes identifying the population the reference range applies to. |  | 0..* | CodeableConcept | Reference range population Binding: ?? (example): Codes identifying the population the reference range applies to. |
age |  | 0..1 | Range | Applicable age range, if relevant |  | 0..1 | Range | Applicable age range, if relevant |
text |  | 0..1 | string | Text based reference range in an observation |  | 0..1 | string | Text based reference range in an observation |
hasMember | Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group |
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from | Σ | 0..* | Reference(QICore Simple Observation | QICore QuestionnaireResponse | QICore ImagingStudy | US Core DocumentReference Profile | Media | MolecularSequence) | (QI) QI Core Profiles or other resource the observation is made from | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation|4.0.1], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence|4.0.1]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])
component | Σ | 0..* | BackboneElement | Component results | Σ | 0..* | BackboneElement | Component results |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Binding: ?? (example): Codes identifying names of simple observations. | Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Binding: ?? (example): Codes identifying names of simple observations. |
value[x] | Σ | 0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | Actual component result | Σ | 0..1 | Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period | Actual component result |
dataAbsentReason | C | 0..1 | CodeableConcept | Why the component result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. | C | 0..1 | CodeableConcept | Why the component result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. |
interpretation |  | 0..* | CodeableConcept | High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. |  | 0..* | CodeableConcept | High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. |
referenceRange |  | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result |  | 0..* | See referenceRange (Observation) | Provides guide for interpretation of component result |
Documentation for this format