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

Left:Planned Medication Activity (http://hl7.org/cda/us/ccda/StructureDefinition/PlannedMedicationActivity)
Right:Planned Medication Activity (http://hl7.org/cda/us/ccda/StructureDefinition/PlannedMedicationActivity)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0-ballot' vs '3.0.0'
InformationStructureDefinition.dateValues for date differ: '2023-12-21T01:13:10+10:00' vs '2024-05-18T00:16:25-05:00'
InformationSubstanceAdministration.effectiveTimeElement maximum cardinalities differ: '1' vs '2147483647'
InformationStructureDefinition.commentValues for comment differ: 'The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32952).' vs 'The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHOULD be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32952).'
InformationStructureDefinition.commentValues for comment differ: 'The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32133).' vs 'The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32133).'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
      .copyright
        .date2023-12-21T01:13:10+10:002024-05-18T00:16:25-05:00
        • Values Differ
        .descriptionThis template represents planned medication activities. The priority of the medication activity to the patient and provider is communicated through Priority Preference. The effectiveTime indicates the time when the medication activity is intended to take place. The authorTime indicates when the documentation of the plan occurred.
          .experimental
            .fhirVersion5.0.0
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindlogical
                    .namePlannedMedicationActivity
                      .publisherHealth Level Seven
                        .purpose
                          .statusdraft
                            .titlePlanned Medication Activity
                              .typehttp://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
                                .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/PlannedMedicationActivity
                                  .version3.0.0-ballot3.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. SubstanceAdministration C1..1SubstanceAdministrationBase for all types and resources
                                  Instance of this type are validated by templateId
                                  Logical Container: ClinicalDocument (CDA Class)
                                  should-text-ref-value: SHOULD contain text/reference/@value
                                  dose-unit-or-admin-unit: If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present.
                                  should-author: SHOULD contain author
                                  C1..1SubstanceAdministrationBase for all types and resources
                                  Instance of this type are validated by templateId
                                  Logical Container: ClinicalDocument (CDA Class)
                                  should-text-ref-value: SHOULD contain text/reference/@value
                                  dose-unit-or-admin-unit: If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present.
                                  should-author: SHOULD contain author
                                    ... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                      ... realmCode 0..*CS0..*CS
                                        ... typeId 0..1II0..1II
                                          .... 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
                                                  .... st-simple 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: SBADM
                                                      1..1??Binding: ?? (required)
                                                      Fixed Value: SBADM
                                                        ... moodCode 1..1??Binding: ?? (required)1..1??Binding: ?? (required)
                                                          ... id 1..*II1..*II
                                                            ... code 0..1CDBinding: ?? (example)0..1CDBinding: ?? (example)
                                                              ... negationInd 0..1??0..1??
                                                                ... 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..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrativeC0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
                                                                                    .... 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: active1..1??Fixed Value: active
                                                                                            .... 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 1..1IVL_TSThe effectiveTime in a planned medication activity represents the time that the medication activity should occur.
                                                                                                              1..*SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TSSlice: Unordered, Open by type:$this
                                                                                                              • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                              ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                ... repeatNumber 0..1IVL_INTIn a Planned Medication Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times.0..1IVL_INTIn a Planned Medication Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times.
                                                                                                                  ... routeCode C0..1CEBinding: ?? (required)
                                                                                                                  should-translation: SHOULD contain translation
                                                                                                                  C0..1CEBinding: ?? (required)
                                                                                                                  should-translation: SHOULD contain translation
                                                                                                                    .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                      .... code 0..1??0..1??
                                                                                                                        .... codeSystem 0..1??, ??, ??0..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..00..0
                                                                                                                                        .... translation 0..*CDBinding: ?? (required)
                                                                                                                                        0..*CDBinding: ?? (preferred)
                                                                                                                                          ... approachSiteCode 0..*CDBinding: ?? (required)
                                                                                                                                          0..*CDBinding: ?? (required)
                                                                                                                                            ... doseQuantity C0..1IVL_PQshould-unit: SHOULD contain @unitC0..1IVL_PQshould-unit: SHOULD contain @unit
                                                                                                                                              .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                .... unit 0..1??NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units
                                                                                                                                                Binding: ?? (required)
                                                                                                                                                0..1??NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units
                                                                                                                                                Binding: ?? (preferred)
                                                                                                                                                  .... value 0..1??0..1??
                                                                                                                                                    .... translation 0..*PQR0..*PQR
                                                                                                                                                      .... operator 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                        .... low 0..1IVXB_PQ0..1IVXB_PQ
                                                                                                                                                          .... center 0..1PQ0..1PQ
                                                                                                                                                            .... width 0..1PQ0..1PQ
                                                                                                                                                              .... high 0..1IVXB_PQ0..1IVXB_PQ
                                                                                                                                                                ... rateQuantity C0..1IVL_PQshould-unit: SHOULD contain @unitC0..1IVL_PQshould-unit: SHOULD contain @unit
                                                                                                                                                                  .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                    .... unit 0..1??NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units
                                                                                                                                                                    Binding: ?? (required)
                                                                                                                                                                    0..1??NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units
                                                                                                                                                                    Binding: ?? (required)
                                                                                                                                                                      .... value 0..1??0..1??
                                                                                                                                                                        .... translation 0..*PQR0..*PQR
                                                                                                                                                                          .... operator 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                            .... low 0..1IVXB_PQ0..1IVXB_PQ
                                                                                                                                                                              .... center 0..1PQ0..1PQ
                                                                                                                                                                                .... width 0..1PQ0..1PQ
                                                                                                                                                                                  .... high 0..1IVXB_PQ0..1IVXB_PQ
                                                                                                                                                                                    ... maxDoseQuantity 0..1RTO_PQ_PQ0..1RTO_PQ_PQ
                                                                                                                                                                                      ... administrationUnitCode 0..1CEBinding: ?? (required)0..1CEBinding: ?? (required)
                                                                                                                                                                                        ... consumable 1..1InfrastructureRoot1..1InfrastructureRoot
                                                                                                                                                                                          .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                            .... realmCode 0..*CS0..*CS
                                                                                                                                                                                              .... typeId 0..1II0..1II
                                                                                                                                                                                                ..... 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
                                                                                                                                                                                                        ..... st-simple 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: CSM
                                                                                                                                                                                                            0..1??Binding: ?? (required)
                                                                                                                                                                                                            Fixed Value: CSM
                                                                                                                                                                                                              .... manufacturedProduct C1..1??Base for all types and resources
                                                                                                                                                                                                              product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
                                                                                                                                                                                                              C1..1??Base for all types and resources
                                                                                                                                                                                                              product-choice: manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)
                                                                                                                                                                                                                ... subject 0..1Subject0..1Subject
                                                                                                                                                                                                                  ... specimen 0..*Specimen0..*Specimen
                                                                                                                                                                                                                    ... performer 0..*Performer2The clinician who is expected to perform the medication activity could be identified using substanceAdministration/performer.
                                                                                                                                                                                                                    0..*Performer2The clinician who is expected to perform the medication activity could be identified using substanceAdministration/performer.
                                                                                                                                                                                                                      ... author 0..1??The author in a planned medication activity represents the clinician who is requesting or planning the medication activity.
                                                                                                                                                                                                                      0..1??The author in a planned medication activity represents the clinician who is requesting or planning the medication activity.
                                                                                                                                                                                                                        ... informant 0..*Informant0..*Informant
                                                                                                                                                                                                                          ... participant 0..*Participant20..*Participant2
                                                                                                                                                                                                                            ... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned medication activity.
                                                                                                                                                                                                                            Slice: Unordered, Open by profile:act, profile:observation
                                                                                                                                                                                                                            0..*EntryRelationshipThe following entryRelationship captures any instructions associated with the planned medication activity.
                                                                                                                                                                                                                            Slice: Unordered, Open by profile:act, profile:observation
                                                                                                                                                                                                                              ... reference 0..*Reference0..*Reference
                                                                                                                                                                                                                                ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                                                                                  .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                                                    .... realmCode 0..*CS0..*CS
                                                                                                                                                                                                                                      .... typeId 0..1II0..1II
                                                                                                                                                                                                                                        ..... 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
                                                                                                                                                                                                                                                ..... st-simple 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 1..1??Binding: ?? (required)
                                                                                                                                                                                                                                                    Fixed Value: PRCN
                                                                                                                                                                                                                                                    1..1??Binding: ?? (required)
                                                                                                                                                                                                                                                    Fixed Value: PRCN
                                                                                                                                                                                                                                                      .... criterion 1..1??Base for all types and resources1..1??Base for all types and resources
                                                                                                                                                                                                                                                        ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                                                        0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                                                                                          doco Documentation for this format