## Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-OrganDonationObservation

Left: | US Core Sexual Orientation Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right: | ADI Organ Donation (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-OrganDonationObservation)

### 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/pacio-adi/StructureDefinition/PADI-OrganDonationObservation'
Error | StructureDefinition.version | Values for version differ: '4.1.0' vs '0.1.0'
Information | StructureDefinition.name | Values for name differ: 'USCoreSexualOrientationObservationProfile' vs 'PADIOrganDonationObservation'
Information | StructureDefinition.title | Values for title differ: 'US Core Sexual Orientation Observation Profile' vs 'ADI Organ Donation'
Information | StructureDefinition.date | Values for date differ: '2022-01-15' vs '2021-12-06T20:50:55+00:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 Patient Empowerment Working Group'
Warning | Observation | Elements differ in definition: 'This profile is created to support recording Sexual Orientation per the ONC definition in USCDI v2.' 'Measurements and simple assertions made about a patient, device or other subject.'
Error | Observation.text | Elements differ in definition for mustSupport: 'false' 'true'
Error | Observation.status | Elements differ in definition for mustSupport: 'true' 'false'
Warning | Observation.code | Elements differ in short: 'Sexual Orientation' 'Type of observation (code / type)'
Error | Observation.code.text | Elements differ in definition for mustSupport: 'false' 'true'
Warning | Observation.effective[x] | Elements differ in definition: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' '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.'
Error | Observation.effective[x] | Elements differ in definition for mustSupport: 'true' 'false'
Error | Observation.value[x] | Elements differ in definition for mustSupport: 'false' 'true'
Error | Observation.note | Elements differ in definition for mustSupport: 'false' 'true'

### 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 | 2022-01-15 | 2021-12-06T20:50:55+00:00 | Values Differ
description | Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve a Patient's Sexual Orientation. | This profile is used to represent the author's thoughts about organ donation. | Values Differ
experimental | false |  | Removed the item 'false'
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCoreSexualOrientationObservationProfile | PADIOrganDonationObservation | Values Differ
publisher | HL7 International - Cross-Group Projects | HL7 Patient Empowerment Working Group | Values Differ
purpose |  |
status | active |
title | US Core Sexual Orientation Observation Profile | ADI Organ Donation | Values Differ
type | Observation |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation | http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-OrganDonationObservation | 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 definition: "This profile is created to support recording Sexual Orientation per the ONC definition in USCDI v2." "Measurements and simple assertions made about a patient, device or other subject."
id | Σ |  |  |  | Σ |  |  |  |
meta | Σ |  |  |  | Σ |  |  |  |
implicitRules | ?!Σ |  |  |  | ?!Σ |  |  |  |
language |  |  |  |  |  |  |  |  |
text |  |  |  |  | S |  |  |  | Elements differ in definition for mustSupport: "false" "true"
contained |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?! |  |  |  | ?! |  |  |  |
identifier | Σ |  |  |  | Σ |  |  |  |
basedOn | Σ |  |  |  | Σ |  |  |  |
partOf | Σ |  |  |  | Σ |  |  |  |
status | ?!S Σ |  |  |  | ?!Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
category |  |  |  |  |  |  |  |  |
code | S Σ |  |  |  | S Σ |  |  |  | Elements differ in short: "Sexual Orientation" "Type of observation (code / type)"
id |  |  |  |  |  |  |  |  |
Slices for extension |  |  | Extension |  |  |  | Extension |  |
coding | Σ |  |  |  | Σ |  |  |  |
text | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
subject | S Σ |  |  |  | S Σ |  |  |  |
focus | Σ |  |  |  | Σ |  |  |  |
encounter | Σ |  |  |  | Σ |  |  |  |
effective[x] | S Σ I |  |  |  | Σ |  |  |  | Elements differ in definition: "This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person." "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." Elements differ in definition for mustSupport: "true" "false"
issued | Σ |  |  |  | Σ |  |  |  |
performer | Σ |  |  |  | Σ |  |  |  |
Slices for value[x] | Σ I |  |  |  | S Σ I |  |  |  | Elements differ in definition for mustSupport: "false" "true"
dataAbsentReason | I |  |  |  | I |  |  |  |
interpretation |  |  |  |  |  |  |  |  |
note |  |  |  |  | S |  |  |  | Elements differ in definition for mustSupport: "false" "true"
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