## Profile Comparison between http://hl7.org/fhir/uv/ihe-sdc-ecc/StructureDefinition/ihe-sdc-ecc-DocumentReference vs http://hl7.org/fhir/uv/ihe-sdc-ecc/StructureDefinition/ihe-sdc-ecc-DocumentReference

Left: | IHE SDC/eCC on FHIR DocumentReference (http://hl7.org/fhir/uv/ihe-sdc-ecc/StructureDefinition/ihe-sdc-ecc-DocumentReference)
Right: | IHE SDC/eCP on FHIR DocumentReference (http://hl7.org/fhir/uv/ihe-sdc-ecc/StructureDefinition/ihe-sdc-ecc-DocumentReference)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0-ballot' vs '1.0.0'
Information | StructureDefinition.title | Values for title differ: 'IHE SDC/eCC on FHIR DocumentReference' vs 'IHE SDC/eCP on FHIR DocumentReference'
Information | StructureDefinition.date | Values for date differ: '2022-08-08T20:29:29+00:00' vs '2023-08-16T18:57:17+00:00'
Warning | DocumentReference.identifier | Elements differ in short: 'Any additional form identifying information' vs 'form identifying information'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/DocumentReference |
copyright |  |
date | 2022-08-08T20:29:29+00:00 | 2023-08-16T18:57:17+00:00 | Values Differ
description | A DocumentReference Profile meant to share an IHE SDC Form whether completed or blank |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | DocumentReferenceSDCeCC |
publisher | HL7 International - Orders and Observations |
purpose |  |
status | active |
title | IHE SDC/eCC on FHIR DocumentReference | IHE SDC/eCP on FHIR DocumentReference | Values Differ
type | DocumentReference |
url | http://hl7.org/fhir/uv/ihe-sdc-ecc/StructureDefinition/ihe-sdc-ecc-DocumentReference |
version | 1.0.0-ballot | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
DocumentReference |  | 0..* | DocumentReference | A reference to a document |  | 0..* | DocumentReference | A reference to a document |
id | Σ | 0..1 | string | 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 |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
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 |
masterIdentifier | S Σ | 1..1 | Identifier | the form's SDC ID if blank, or @instanceVersionGUID if filled | S Σ | 1..1 | Identifier | the form's SDC ID if blank, or @instanceVersionGUID if filled |
identifier | S Σ | 0..* | Identifier | Any additional form identifying information | S Σ | 0..* | Identifier | form identifying information | Elements differ in short: 'Any additional form identifying information' vs 'form identifying information'
status | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. |
docStatus | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document. | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document. |
type | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred): Precise type of clinical document. | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred): Precise type of clinical document. |
category | S Σ | 1..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level. | S Σ | 1..* | CodeableConcept | Categorization of document Binding: ?? (example): High-level kind of a clinical document at a macro level. |
subject | S Σ | 0..1 | Reference(Patient | Practitioner | Group | Device) | Who/what is the subject of the document | S Σ | 0..1 | Reference(Patient | Practitioner | Group | Device) | Who/what is the subject of the document |
date | Σ | 0..1 | instant | When this document reference was created | Σ | 0..1 | instant | When this document reference was created |
author | S Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Who and/or what authored the document | S Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | Who and/or what authored the document |
authenticator |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |
custodian |  | 0..1 | Reference(Organization) | Organization which maintains the document |  | 0..1 | Reference(Organization) | Organization which maintains the document |
relatesTo | S Σ | 0..* | BackboneElement | Relationships to other documents | S Σ | 0..* | BackboneElement | Relationships to other documents |
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 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. |
target | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | Σ | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | Σ | 0..1 | string | Human-readable description | Σ | 0..1 | string | Human-readable description |
securityLabel | S Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | S Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
content | S Σ | 1..1 | BackboneElement | Document referenced | S Σ | 1..1 | BackboneElement | Document referenced |
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 |
attachment | Σ | 1..1 | Attachment | Where to access the document | Σ | 1..1 | Attachment | Where to access the document |
format | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred): Document Format Codes. |
context | S Σ | 0..1 | BackboneElement | Clinical context of document | S Σ | 0..1 | BackboneElement | Clinical context of document |
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 |
encounter |  | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |  | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |
event |  | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. |  | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | Time of service that is being documented | Σ | 0..1 | Period | Time of service that is being documented |
facilityType |  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. |  | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (example): XDS Facility Type. |
practiceSetting |  | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty). |  | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty). |
sourcePatientInfo |  | 0..1 | Reference(Patient) | Patient demographics from source |  | 0..1 | Reference(Patient) | Patient demographics from source |
related |  | 0..* | Reference(Resource) | Related identifiers or resources |  | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format