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

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

### Messages

Error | StructureDefinition.version | Values for version differ: '0.2.0' vs '1.0.0'
Information | StructureDefinition.name | Values for name differ: 'PharmacistCarePlanDocument' vs 'PhCPComposition'
Information | StructureDefinition.status | Values for status differ: 'draft' vs 'active'
Information | StructureDefinition.date | Values for date differ: '2017-07-21T06:48:23+10:00' vs '2020-11-13'
Information | StructureDefinition.publisher | Values for publisher differ: 'Lantana Consulting Group' vs 'HL7 Structured Documents Work Group'
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'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/us/ccda-r4/StructureDefinition/CCDA-on-FHIR-Care-Plan' vs 'http://hl7.org/fhir/us/ccda/StructureDefinition/Care-Plan-Document'
Error | Composition.language | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.identifier | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.status | Unable to resolve left value set http://hl7.org/fhir/ValueSet/composition-status|4.1.0 at Composition.status
Error | Composition.type | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.subject | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.subject | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-patient]]), Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]])
Error | Composition.encounter | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter]]) Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter]])
Error | Composition.date | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.author | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.author | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-practitionerrole], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
Error | Composition.title | Elements differ in definition for mustSupport: 'false' 'true'
Warning | Composition.confidentiality | Elements differ in short: 'confidentiality' 'Use the confidentiality codes in Meta.security'
Warning | Composition.confidentiality | Elements differ in definition: 'The code specifying the level of confidentiality of the Composition.' 'Use the confidentiality codes in Meta.security (https://hl7.org/fhir/security-labels.html)'
Error | Composition.confidentiality | Cardinality Mismatch: 1..1/0..0
Error | Composition.confidentiality | Unable to resolve left value set http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|4.1.0 at Composition.confidentiality
Error | Composition.attester.mode | Unable to resolve left value set http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.1.0 at Composition.attester.mode
Error | Composition.custodian | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.custodian | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-organization]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]])
Error | Composition.relatesTo.code | Unable to resolve left value set http://hl7.org/fhir/ValueSet/document-relationship-type|4.1.0 at Composition.relatesTo.code
Error | Composition.event.period | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.event.detail | Elements differ in definition for mustSupport: 'false' 'true'
Error | Composition.section.mode | Unable to resolve left value set http://hl7.org/fhir/ValueSet/list-mode|4.1.0 at Composition.section.mode

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/ccda-r4/StructureDefinition/CCDA-on-FHIR-Care-Plan | http://hl7.org/fhir/us/ccda/StructureDefinition/Care-Plan-Document | Values Differ
copyright |  |
date | 2017-07-21T06:48:23+10:00 | 2020-11-13 | Values Differ
description | The Pharmacist Care Plan standardizes the information gathered and developed through the process of medication planning and management in community, hospital, and long term post-acute care (LTPAC) settings. It allows exchange of information between providers of care to optimize medication-related decision support and patient adherence to medication regimens both within a healthcare setting and when a patient moves between healthcare settings. Standardization of information used in this form will promote interoperability; support a comprehensive, multi-discipline longitudinal care plan; and create information suitable for reuse in quality measurement, public health reporting, research, and for reimbursement. In assessment of and consultation with the patient, the Pharmacist Care Plan focuses on: * Maximizing the effectiveness of medications ordered and currently used * Identifying and addressing barriers to successful implementation of the therapy regimen * Assuring patient understanding of the reasons for and use of the medication and the goals of therapy * Resolving conflicting orders and plans These activities help the patient achieve the best possible outcomes of treatment and an enhanced sense of wellbeing. |
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 | PharmacistCarePlanDocument | PhCPComposition | Values Differ
publisher | Lantana Consulting Group | HL7 Structured Documents Work Group | Values Differ
purpose |  |
status | draft | active | Values Differ
title |  | PhCP Composition | Added the item 'PhCP Composition'
type | Composition |
url | http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Composition |
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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Composition |  |  |  |  |  |  |  |  |
id | Σ |  |  |  | Σ |  |  |  |
meta | Σ |  |  |  | Σ |  |  |  |
implicitRules | ?!Σ |  |  |  | ?!Σ |  |  |  |
language |  |  |  |  | S |  |  |  | Elements differ in definition for mustSupport: "false" "true"
text |  |  |  |  |  |  |  |  |
contained |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?! |  |  |  | ?! |  |  |  |
identifier | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
status | ?!Σ |  |  |  | ?!Σ |  |  |  | Unable to resolve left value set http://hl7.org/fhir/ValueSet/composition-status|4.1.0 at Composition.status
type | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
category | Σ |  |  |  | Σ |  |  |  |
subject | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true" Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-patient]]), Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group]])
encounter | S Σ |  |  |  | S Σ |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter]]) Reference([CanonicalType[http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-Encounter], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter]])
date | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
author | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true" Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-practitionerrole], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
title | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
confidentiality | Σ |  |  |  | Σ |  |  |  | Elements differ in short: "confidentiality" "Use the confidentiality codes in Meta.security" Elements differ in definition: "The code specifying the level of confidentiality of the Composition." "Use the confidentiality codes in Meta.security (https://hl7.org/fhir/security-labels.html)" Cardinality Mismatch: 1..1/0..0 Unable to resolve left value set http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|4.1.0 at Composition.confidentiality
attester |  |  | (Slice Definition) |  |  |  | (Slice Definition) |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
mode |  |  |  |  |  |  |  |  | Unable to resolve left value set http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.1.0 at Composition.attester.mode
time |  |  |  |  |  |  |  |  |
party |  |  |  |  |  |  |  |  |
custodian | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true" Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core-r4/StructureDefinition/us-core-organization]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization]])
relatesTo |  |  |  |  |  |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
code |  |  |  |  |  |  |  |  | Unable to resolve left value set http://hl7.org/fhir/ValueSet/document-relationship-type|4.1.0 at Composition.relatesTo.code
target[x] |  |  |  |  |  |  |  |  |
event | S Σ |  |  |  | S Σ |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
code | Σ |  |  |  | Σ |  |  |  |
period | Σ |  |  |  | S Σ |  |  |  | Elements differ in definition for mustSupport: "false" "true"
detail | Σ |  | (Slice Definition) |  | S Σ |  | (Slice Definition) |  | Elements differ in definition for mustSupport: "false" "true"
section | I |  | (Slice Definition) |  | I |  | (Slice Definition) |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
title |  |  |  |  |  |  |  |  |
code |  |  |  |  |  |  |  |  |
author |  |  |  |  |  |  |  |  |
focus |  |  |  |  |  |  |  |  |
text | I |  |  |  | I |  |  |  |
mode |  |  |  |  |  |  |  |  | Unable to resolve left value set http://hl7.org/fhir/ValueSet/list-mode|4.1.0 at Composition.section.mode
orderedBy |  |  |  |  |  |  |  |  |
entry | I |  |  |  | I |  |  |  |
emptyReason | I |  |  |  | I |  |  |  |
section | I |  |  |  | I |  |  |  |
Documentation for this format