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

Left:Discharge Medication (http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication)
Right:Discharge Medication (http://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication)

Messages

InformationAct.typeIdStructureDefinition DischargeMedication has added constraint that is not found in DischargeMedication and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Act
      .copyright
        .descriptionThis template represents medications that the patient is intended to take (or stop) after discharge.This template represents medications that the patient is intended to take (or stop) after discharge. #### Templates Used Although open templates may contain any valid CDA content, the following templates are specifically called out by this template: **Required EntryRelationships**: [MedicationActivity](StructureDefinition-MedicationActivity.html)
        • Values Differ
        .experimental
          .fhirVersion5.0.0
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindlogical
                  .nameDischargeMedication
                    .publisherHealth Level Seven
                      .purpose
                        .statusdraft
                          .titleDischarge Medication
                            .typehttp://hl7.org/cda/stds/core/StructureDefinition/Act
                              .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/DischargeMedication

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Act C1..1ActBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                Constraints: should-text-ref-value
                                C1..1ActBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                Constraints: should-text-ref-value
                                  ... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                    ... realmCode 0..*CS0..*CS
                                      ... typeId 0..1IIC0..1II
                                      • StructureDefinition DischargeMedication has added constraint that is not found in DischargeMedication 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
                                                ... classCode 1..1??Binding: ?? (required)
                                                Fixed Value: ACT
                                                1..1??Binding: ?? (required)
                                                Fixed Value: ACT
                                                  ... moodCode 1..1??Binding: ?? (required)
                                                  Fixed Value: EVN
                                                  1..1??Binding: ?? (required)
                                                  Fixed Value: EVN
                                                    ... negationInd 0..1??0..1??
                                                      ... id 0..*II0..*II
                                                        ... code 1..1CDHospital discharge medication
                                                        Binding: ?? (example)
                                                        1..1CDHospital discharge medication
                                                        Binding: ?? (example)
                                                          .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                            .... code 1..1??Required Pattern: 10183-21..1??Required Pattern: 10183-2
                                                              .... codeSystem 1..1??, ??, ??LOINC
                                                              Required Pattern: 2.16.840.1.113883.6.1
                                                              1..1??, ??, ??LOINC
                                                              Required Pattern: 2.16.840.1.113883.6.1
                                                                .... codeSystemName 0..1??0..1??
                                                                  .... codeSystemVersion 0..1??0..1??
                                                                    .... displayName 0..1??0..1??
                                                                      .... 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..1ED0..1ED
                                                                            .... qualifier 0..*CR0..*CR
                                                                              .... translation 1..1CDDischarge Medication
                                                                              1..1CDDischarge Medication
                                                                                ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                  ..... code 1..1??Required Pattern: 75311-11..1??Required Pattern: 75311-1
                                                                                    ..... codeSystem 1..1??, ??, ??LOINC
                                                                                    Required Pattern: 2.16.840.1.113883.6.1
                                                                                    1..1??, ??, ??LOINC
                                                                                    Required Pattern: 2.16.840.1.113883.6.1
                                                                                      ..... codeSystemName 0..1??0..1??
                                                                                        ..... codeSystemVersion 0..1??0..1??
                                                                                          ..... displayName 0..1??0..1??
                                                                                            ..... 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..1ED0..1ED
                                                                                                  ..... qualifier 0..*CR0..*CR
                                                                                                    ..... translation 0..*CD0..*CD
                                                                                                      ... 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..1IVL_TS0..1IVL_TS
                                                                                                                                                      ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                                                        ... languageCode 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                                                                          ... subject 0..1Subject0..1Subject
                                                                                                                                                            ... specimen 0..*Specimen0..*Specimen
                                                                                                                                                              ... performer 0..*Performer20..*Performer2
                                                                                                                                                                ... author 0..*Author0..*Author
                                                                                                                                                                  ... informant 0..*Informant0..*Informant
                                                                                                                                                                    ... participant 0..*Participant20..*Participant2
                                                                                                                                                                      ... Slices for entryRelationship 1..*EntryRelationshipSlice: Unordered, Open by profile:substanceAdministration, value:typeCode
                                                                                                                                                                      1..*EntryRelationshipSlice: Unordered, Open by profile:substanceAdministration, value:typeCode
                                                                                                                                                                        ... reference 0..*Reference0..*Reference
                                                                                                                                                                          ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                            ... sdtcPrecondition2 0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                            0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                              ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                              0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                doco Documentation for this format