## Profile Comparison between http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter vs http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter

Left: | PhCP Encounter (http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter)
Right: | PhCP Encounter (http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.2.0' vs '1.0.0'
Information | StructureDefinition.name | Values for name differ: 'PhCPEncounter' vs 'PhCPEncounter_test'
Information | StructureDefinition.date | Values for date differ: '2019-03-27T07:23:36+11:00' vs '2021-02-11T17:07:56+00:00'
Information | StructureDefinition.jurisdiction | Added the item 'urn:iso:std:iso:3166#US'
Warning | StructureDefinition.fhirVersion | Values for fhirVersion differ: '4.0.0' vs '4.0.1'
Warning | Encounter | Elements differ in short: 'US Core Encounter Profile' 'An interaction during which services are provided to the patient'
Error | Encounter.subject | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]])
Error | Encounter.participant.individual | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner]])
Error | Encounter.diagnosis | Elements differ in definition for mustSupport: 'true' 'false'
Error | Encounter.diagnosis.condition | Elements differ in definition for mustSupport: 'true' 'false'
Error | Encounter.diagnosis.condition | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Condition], CanonicalType[http://hl7.org/fhir/StructureDefinition/Procedure]])
Error | Encounter.diagnosis.rank | Elements differ in definition for mustSupport: 'true' 'false'
Error | Encounter.location.location | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-location]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Location]])
Error | Encounter.serviceProvider | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]]) Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter |
copyright |  |
date | 2019-03-27T07:23:36+11:00 | 2021-02-11T17:07:56+00:00 | Values Differ
description | This is where the main encounter information is recorded. It includes codes for describing the care environment. This profile constrains the US Core Encounter profile. It includes value sets intended for use by pharmacy systems. Everywhere it is referenced, an unconstrained US Core Encounter reference is also allowed. |
experimental |  |
fhirVersion | 4.0.0 | 4.0.1 | Values Differ
jurisdiction |  |
jurisdiction[0] |  | urn:iso:std:iso:3166#US | Added the item 'urn:iso:std:iso:3166#US'
kind | resource |
name | PhCPEncounter | PhCPEncounter_test | Values Differ
publisher |  | HL7 Structured Documents Work Group | Added the item 'HL7 Structured Documents Work Group'
purpose |  |
status | draft |
title | PhCP Encounter |
type | Encounter |
url | http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter |
version | 0.2.0 | 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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Encounter |  |  |  |  |  |  |  |  | Elements differ in short: "US Core Encounter Profile" "An interaction during which services are provided to the patient"
id | Σ |  |  |  | Σ |  |  |  |
meta | Σ |  |  |  | Σ |  |  |  |
implicitRules | ?!Σ |  |  |  | ?!Σ |  |  |  |
language |  |  |  |  |  |  |  |  |
text |  |  |  |  |  |  |  |  |
contained |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?! |  |  |  | ?! |  |  |  |
identifier | S Σ |  |  |  | S Σ |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
use | ?!Σ |  |  |  | ?!Σ |  |  |  |
type | Σ |  |  |  | Σ |  |  |  |
system | S Σ |  |  |  | S Σ |  |  |  |
value | S Σ |  |  |  | S Σ |  |  |  |
period | Σ |  |  |  | Σ |  |  |  |
assigner | Σ |  |  |  | Σ |  |  |  |
status | ?!S Σ |  |  |  | ?!S Σ |  |  |  |
statusHistory |  |  |  |  |  |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
status |  |  |  |  |  |  |  |  |
period |  |  |  |  |  |  |  |  |
class | S Σ |  |  |  | S Σ |  |  |  |
classHistory |  |  |  |  |  |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
class |  |  |  |  |  |  |  |  |
period |  |  |  |  |  |  |  |  |
type | S Σ |  |  |  | S Σ |  |  |  |
serviceType | Σ |  |  |  | Σ |  |  |  |
priority |  |  |  |  |  |  |  |  |
subject | S Σ |  |  |  | S Σ |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]])
episodeOfCare | Σ |  |  |  | Σ |  |  |  |
basedOn |  |  |  |  |  |  |  |  |
participant | S Σ |  |  |  | S Σ |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
type | S Σ |  |  |  | S Σ |  |  |  |
period | S |  |  |  | S |  |  |  |
individual | S Σ |  |  |  | S Σ |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner]])
appointment | Σ |  |  |  | Σ |  |  |  |
period | S |  |  |  | S |  |  |  |
length |  |  |  |  |  |  |  |  |
reasonCode | S Σ |  |  |  | S Σ |  |  |  |
reasonReference | Σ |  |  |  | Σ |  |  |  |
diagnosis | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false"
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
condition | S Σ |  |  |  | Σ |  |  |  | Elements differ in definition for mustSupport: "true" "false" Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Condition], CanonicalType[http://hl7.org/fhir/StructureDefinition/Procedure]])
use |  |  |  |  |  |  |  |  |
rank | S |  |  |  |  |  |  |  | Elements differ in definition for mustSupport: "true" "false"
account |  |  |  |  |  |  |  |  |
hospitalization | S |  |  |  | S |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
preAdmissionIdentifier |  |  |  |  |  |  |  |  |
origin |  |  |  |  |  |  |  |  |
admitSource |  |  |  |  |  |  |  |  |
reAdmission |  |  |  |  |  |  |  |  |
dietPreference |  |  |  |  |  |  |  |  |
specialCourtesy |  |  |  |  |  |  |  |  |
specialArrangement |  |  |  |  |  |  |  |  |
destination |  |  |  |  |  |  |  |  |
dischargeDisposition | S |  |  |  | S |  |  |  |
location | S |  |  |  | S |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
location | S |  |  |  | S |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-location]]) Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Location]])
status |  |  |  |  |  |  |  |  |
physicalType |  |  |  |  |  |  |  |  |
period |  |  |  |  |  |  |  |  |
serviceProvider | S |  |  |  | S |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]]) Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]])
partOf |  |  |  |  |  |  |  |  |
Documentation for this format