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

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

### Messages

Error | StructureDefinition.version | Values for version differ: '0.2.0' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2017-07-21T05:29:09+10:00' vs '2017-07-20T15:29:09.2599666-04: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 | MedicationDispense.status | Elements differ in short: 'preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown' 'preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown'
Error | MedicationDispense.performer.actor | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole]])
Error | MedicationDispense.authorizingPrescription | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationDispense |
copyright |  |
date | 2017-07-21T05:29:09+10:00 | 2017-07-20T15:29:09.2599666-04:00 | Values Differ
description | This profile records the act of supplying medications (i.e., dispensing). |
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 | PhCPMedicationDispense |
publisher |  | HL7 Structured Documents Work Group | Added the item 'HL7 Structured Documents Work Group'
purpose |  |
status | draft |
title | PhCP MedicationDispense |
type | MedicationDispense |
url | http://hl7.org/fhir/us/phcp/StructureDefinition/PhCP-MedicationDispense |
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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationDispense | I |  |  |  | I |  |  |  |
id | Σ |  |  |  | Σ |  |  |  |
meta | Σ |  |  |  | Σ |  |  |  |
implicitRules | ?!Σ |  |  |  | ?!Σ |  |  |  |
language |  |  |  |  |  |  |  |  |
text |  |  |  |  |  |  |  |  |
contained |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?! |  |  |  | ?! |  |  |  |
identifier |  |  |  |  |  |  |  |  |
partOf |  |  |  |  |  |  |  |  |
status | ?!Σ |  |  |  | ?!Σ |  |  |  | Elements differ in short: "preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown" "preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown"
statusReason[x] |  |  |  |  |  |  |  |  |
category |  |  |  |  |  |  |  |  |
medication[x] | S Σ |  |  |  | S Σ |  |  |  |
subject | Σ |  |  |  | Σ |  |  |  |
context |  |  |  |  |  |  |  |  |
supportingInformation |  |  |  |  |  |  |  |  |
performer | S |  |  |  | S |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
function |  |  |  |  |  |  |  |  |
actor | S |  |  |  | S |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole]])
location |  |  |  |  |  |  |  |  |
authorizingPrescription | S |  |  |  | S |  |  |  | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest]]) Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest]])
type |  |  |  |  |  |  |  |  |
quantity | S |  |  |  | S |  |  |  |
daysSupply | S |  |  |  | S |  |  |  |
whenPrepared | Σ |  |  |  | Σ |  |  |  |
whenHandedOver | S |  |  |  | S |  |  |  |
destination |  |  |  |  |  |  |  |  |
receiver |  |  |  |  |  |  |  |  |
note |  |  |  |  |  |  |  |  |
dosageInstruction |  |  |  |  |  |  |  |  |
substitution |  |  |  |  |  |  |  |  |
id |  |  |  |  |  |  |  |  |
extension |  |  | Extension |  |  |  | Extension |  |
modifierExtension | ?!Σ |  |  |  | ?!Σ |  |  |  |
wasSubstituted |  |  |  |  |  |  |  |  |
type |  |  |  |  |  |  |  |  |
reason |  |  |  |  |  |  |  |  |
responsibleParty |  |  |  |  |  |  |  |  |
detectedIssue |  |  |  |  |  |  |  |  |
eventHistory |  |  |  |  |  |  |  |  |
Documentation for this format