Profile Comparison between http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense vs http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense

Left:Medication Dispense (http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense)
Right:Medication Dispense (http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense)

Messages

InformationSupply.typeIdStructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
InformationSupply.product.typeIdStructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
InformationSupply.product.manufacturedProductStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible ((manufacturedLabeledDrug | manufacturedMaterial).count() = 1)
InformationSupply.performer.typeIdStructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
InformationSupply.performer.assignedEntity.typeIdStructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or item.city.count() = 1)
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4))
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or use.exists())
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or item.country.exists())
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (item.xmlText.empty())
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state')))
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?')))
InformationSupply.performer.assignedEntity.addrStructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible ((item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1))

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Supply
      .copyright
        .descriptionThis template records the act of supplying medications (i.e., dispensing). The moodCode equaling "EVN" (Event), signals that the "supply" has occurred and thus has been dispensed.This template records the act of supplying medications (i.e., dispensing). The moodCode equaling "EVN" (Event), signals that the "supply" has occurred and thus has been dispensed. #### Templates Used Although open templates may contain any valid CDA content, the following templates are specifically called out by this template: **Optional EntryRelationships**: [MedicationSupplyOrder](StructureDefinition-MedicationSupplyOrder.html)
        • Values Differ
        .experimental
          .fhirVersion5.0.0
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindlogical
                  .nameMedicationDispense
                    .publisherHealth Level Seven
                      .purpose
                        .statusdraft
                          .titleMedication Dispense
                            .typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
                              .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Supply C1..1SupplyBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                Constraints: should-text-ref-value, should-effectiveTime, should-repeatNumber, should-quantity
                                C1..1SupplyBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                Constraints: should-text-ref-value, should-effectiveTime, should-repeatNumber, should-quantity
                                  ... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                    ... realmCode 0..*CS0..*CS
                                      ... typeId 0..1IIC0..1II
                                      • StructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
                                      .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                        .... assigningAuthorityName 0..1??0..1??
                                          .... displayable 0..1??0..1??
                                            .... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                              .... extension 1..1stringPrimitive Type string
                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                              1..1stringPrimitive Type string
                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                ... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
                                                1..*IISlice: Unordered, Open by value:root, value:extension
                                                  ... classCode 1..1??Binding: ?? (required)
                                                  Fixed Value: SPLY
                                                  1..1??Binding: ?? (required)
                                                  Fixed Value: SPLY
                                                    ... moodCode 1..1??Binding: ?? (required)
                                                    Fixed Value: EVN
                                                    1..1??Binding: ?? (required)
                                                    Fixed Value: EVN
                                                      ... id 1..*II1..*II
                                                        ... code 1..1CDThe CDA base standard limits codes that can be used at CDA supply.statusCode which do not represent typical medication dispense statuses. In order to provide correct domain vocabulary and align with FHIR, CDA supply.statusCode is fixed to completed and the FHIR MedicationDispense status value set is used at supply.code.
                                                        Binding: ?? (required)
                                                        1..1CDThe CDA base standard limits codes that can be used at CDA supply.statusCode which do not represent typical medication dispense statuses. In order to provide correct domain vocabulary and align with FHIR, CDA supply.statusCode is fixed to completed and the FHIR MedicationDispense status value set is used at supply.code.
                                                        Binding: ?? (required)
                                                          ... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
                                                            .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                              .... compression 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                .... integrityCheck 0..1??0..1??
                                                                  .... integrityCheckAlgorithm 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                    .... language 0..1??0..1??
                                                                      .... mediaType 0..1??Binding: ?? (example)0..1??Binding: ?? (example)
                                                                        .... representation 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                          .... xmlText 0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
                                                                            .... reference C0..1TELConstraints: value-starts-octothorpeC0..1TELConstraints: value-starts-octothorpe
                                                                              .... thumbnail 0..1ED0..1ED
                                                                                ... statusCode 1..1CSBinding: ?? (required)1..1CSBinding: ?? (required)
                                                                                  .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                    .... code 1..1??Fixed Value: completed1..1??Fixed Value: completed
                                                                                      .... codeSystem 0..00..0
                                                                                        .... codeSystemName 0..00..0
                                                                                          .... codeSystemVersion 0..00..0
                                                                                            .... displayName 0..00..0
                                                                                              .... sdtcValueSet 0..1??XML: valueSet (urn:hl7-org:sdtc)0..1??XML: valueSet (urn:hl7-org:sdtc)
                                                                                                .... sdtcValueSetVersion 0..1??XML: valueSetVersion (urn:hl7-org:sdtc)0..1??XML: valueSetVersion (urn:hl7-org:sdtc)
                                                                                                  .... originalText 0..00..0
                                                                                                    .... qualifier 0..00..0
                                                                                                      .... translation 0..00..0
                                                                                                        ... effectiveTime 0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TS
                                                                                                          ... priorityCode 0..*CEBinding: ?? (example)
                                                                                                          0..*CEBinding: ?? (example)
                                                                                                            ... repeatNumber 0..1IVL_INTIn "EVN" (event) mood, the repeatNumber is the number of dispenses. For example, a repeatNumber of "3" indicates the third dispense.0..1IVL_INTIn "EVN" (event) mood, the repeatNumber is the number of dispenses. For example, a repeatNumber of "3" indicates the third dispense.
                                                                                                              ... independentInd 0..1BL0..1BL
                                                                                                                ... quantity 0..1PQ0..1PQ
                                                                                                                  ... expectedUseTime 0..1IVL_TS0..1IVL_TS
                                                                                                                    ... product 1..1InfrastructureRoot1..1InfrastructureRoot
                                                                                                                      .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                        .... realmCode 0..*CS0..*CS
                                                                                                                          .... typeId 0..1IIC0..1II
                                                                                                                          • StructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
                                                                                                                          ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                            ..... assigningAuthorityName 0..1??0..1??
                                                                                                                              ..... displayable 0..1??0..1??
                                                                                                                                ..... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                  ..... extension 1..1stringPrimitive Type string
                                                                                                                                  URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                  1..1stringPrimitive Type string
                                                                                                                                  URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                    .... templateId 0..*II0..*II
                                                                                                                                      .... typeCode 0..1??Binding: ?? (required)
                                                                                                                                      Fixed Value: PRD
                                                                                                                                      0..1??Binding: ?? (required)
                                                                                                                                      Fixed Value: PRD
                                                                                                                                        .... manufacturedProduct C1..1??, ??Base for all types and resources1..1??, ??
                                                                                                                                        • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible ((manufacturedLabeledDrug | manufacturedMaterial).count() = 1)
                                                                                                                                        ... subject 0..1Subject0..1Subject
                                                                                                                                          ... specimen 0..*Specimen0..*Specimen
                                                                                                                                            ... performer 0..1Performer20..1Performer2
                                                                                                                                              .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                .... realmCode 0..*CS0..*CS
                                                                                                                                                  .... typeId 0..1IIC0..1II
                                                                                                                                                  • StructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
                                                                                                                                                  ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                    ..... assigningAuthorityName 0..1??0..1??
                                                                                                                                                      ..... displayable 0..1??0..1??
                                                                                                                                                        ..... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                                          ..... extension 1..1stringPrimitive Type string
                                                                                                                                                          URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                          1..1stringPrimitive Type string
                                                                                                                                                          URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                            .... templateId 0..*II0..*II
                                                                                                                                                              .... typeCode 0..1??Binding: ?? (required)
                                                                                                                                                              Fixed Value: PRF
                                                                                                                                                              0..1??Binding: ?? (required)
                                                                                                                                                              Fixed Value: PRF
                                                                                                                                                                .... sdtcFunctionCode 0..1CEXML: functionCode (urn:hl7-org:sdtc)0..1CEXML: functionCode (urn:hl7-org:sdtc)
                                                                                                                                                                  .... time 0..1IVL_TS0..1IVL_TS
                                                                                                                                                                    .... modeCode 0..1CE0..1CE
                                                                                                                                                                      .... assignedEntity C1..1AssignedEntityConstraints: should-addrC1..1AssignedEntityConstraints: should-addr
                                                                                                                                                                        ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                          ..... realmCode 0..*CS0..*CS
                                                                                                                                                                            ..... typeId 0..1IIC0..1II
                                                                                                                                                                            • StructureDefinition MedicationDispense has added constraint that is not found in MedicationDispense and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
                                                                                                                                                                            ...... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                              ...... assigningAuthorityName 0..1??0..1??
                                                                                                                                                                                ...... displayable 0..1??0..1??
                                                                                                                                                                                  ...... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                                                                    ...... extension 1..1stringPrimitive Type string
                                                                                                                                                                                    URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                    1..1stringPrimitive Type string
                                                                                                                                                                                    URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                      ..... templateId 0..*II0..*II
                                                                                                                                                                                        ..... classCode 0..1??Binding: ?? (required)
                                                                                                                                                                                        Fixed Value: ASSIGNED
                                                                                                                                                                                        0..1??Binding: ?? (required)
                                                                                                                                                                                        Fixed Value: ASSIGNED
                                                                                                                                                                                          ..... id 1..*II1..*II
                                                                                                                                                                                            ..... sdtcIdentifiedBy 0..*IdentifiedByXML: identifiedBy (urn:hl7-org:sdtc)
                                                                                                                                                                                            0..*IdentifiedByXML: identifiedBy (urn:hl7-org:sdtc)
                                                                                                                                                                                              ..... code 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                                                                                                ..... addr C0..1??Base for all types and resources
                                                                                                                                                                                                0..1??
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or item.city.count() = 1)
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4))
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or use.exists())
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or item.country.exists())
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (item.xmlText.empty())
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state')))
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible (nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?')))
                                                                                                                                                                                                • StructureDefinition MedicationDispense has a constraint that is removed in MedicationDispense and it is uncertain whether they are compatible ((item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1))
                                                                                                                                                                                                ..... telecom 0..*TEL0..*TEL
                                                                                                                                                                                                  ..... assignedPerson 0..1Person0..1Person
                                                                                                                                                                                                    ..... representedOrganization 0..1Organization0..1Organization
                                                                                                                                                                                                      ..... sdtcPatient 0..1BaseXML: patient (urn:hl7-org:sdtc)0..1BaseXML: patient (urn:hl7-org:sdtc)
                                                                                                                                                                                                        ...... id 1..1IIXML Namespace: urn:hl7-org:sdtc1..1IIXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                                          ... author 0..*Author0..*Author
                                                                                                                                                                                                            ... informant 0..*Informant0..*Informant
                                                                                                                                                                                                              ... participant 0..*Participant20..*Participant2
                                                                                                                                                                                                                ... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by profile:supply, value:typeCode
                                                                                                                                                                                                                0..*EntryRelationshipSlice: Unordered, Open by profile:supply, value:typeCode
                                                                                                                                                                                                                  ... reference 0..*Reference0..*Reference
                                                                                                                                                                                                                    ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                                                                      ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                      0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                                                        doco Documentation for this format