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

Left:Planned Supply (http://hl7.org/cda/us/ccda/StructureDefinition/PlannedSupply)
Right:Planned Supply (http://hl7.org/cda/us/ccda/StructureDefinition/PlannedSupply)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0' vs '4.0.0-ballot'
InformationStructureDefinition.dateValues for date differ: '2024-05-18T00:16:25-05:00' vs '2024-12-19T00:36:20+00:00'
InformationSupply.typeIdStructureDefinition PlannedSupply has added constraint that is not found in PlannedSupply and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())
InformationSupply.product.typeIdStructureDefinition PlannedSupply has added constraint that is not found in PlannedSupply and it is uncertain whether they are compatible (root.exists() or nullFlavor.exists())

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Supply
      .copyright
        .date2024-05-18T00:16:25-05:002024-12-19T00:36:20+00:00
        • Values Differ
        .descriptionThis template represents both medicinal and non-medicinal supplies ordered, requested, or intended for the patient (e.g., medication prescription, order for wheelchair). The importance of the supply order or request to the patient and provider may be indicated in the Priority Preference. The effectiveTime indicates the time when the supply is intended to take place and author time indicates when the documentation of the plan occurred. The Planned Supply template may also indicate the potential insurance coverage for the procedure. Depending on the type of supply, the product or participant will be either a Medication Information product (medication), an Immunization Medication Information product (immunization), or a Product Instance participant (device/equipment).
          .experimental
            .fhirVersion5.0.0
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindlogical
                    .namePlannedSupply
                      .publisherHealth Level Seven
                        .purpose
                          .statusdraft
                            .titlePlanned Supply
                              .typehttp://hl7.org/cda/stds/core/StructureDefinition/Supply
                                .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/PlannedSupply
                                  .version3.0.04.0.0-ballot
                                  • Values Differ

                                  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)
                                  should-text-ref-value: SHOULD contain text/reference/@value
                                  should-effectiveTime: SHOULD contain effectiveTime
                                  shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
                                  should-author: SHOULD contain author
                                  C1..1SupplyBase 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
                                  should-effectiveTime: SHOULD contain effectiveTime
                                  shall-product-or-device: The supply SHALL contain either 1 product or 1 device participant (@typeCode='DEV')
                                  should-author: SHOULD contain author
                                    ... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                      ... realmCode 0..*CS0..*CS
                                        ... typeId 0..1IIC0..1IIII-1: An II instance must have either a root or an nullFlavor.
                                        • StructureDefinition PlannedSupply has added constraint that is not found in PlannedSupply 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
                                                .... 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: SPLY
                                                    1..1??Binding: ?? (required)
                                                    Fixed Value: SPLY
                                                      ... moodCode 1..1??Binding: ?? (required)1..1??Binding: ?? (required)
                                                        ... id 1..*II1..*II
                                                          ... code 0..1CDBinding: ?? (example)0..1CDBinding: ?? (example)
                                                            ... 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 0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TSThe effectiveTime in a planned supply represents the time that the supply should occur.
                                                                                                          0..1SXCM_TS, IVL_TS, EIVL_TS, PIVL_TS, SXPR_TSThe effectiveTime in a planned supply represents the time that the supply should occur.
                                                                                                            ... priorityCode 0..*CEBinding: ?? (example)
                                                                                                            0..*CEBinding: ?? (example)
                                                                                                              ... repeatNumber 0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.0..1IVL_INTIn a Planned Supply, repeatNumber indicates the number of times the supply event can occur. For example, if a medication is filled at a pharmacy and the prescription may be refilled 3 more times, the supply RepeatNumber equals 4.
                                                                                                                ... independentInd 0..1BL0..1BL
                                                                                                                  ... quantity 0..1PQ0..1PQ
                                                                                                                    ... expectedUseTime 0..1IVL_TS0..1IVL_TS
                                                                                                                      ... product 0..1InfrastructureRootRepresents either a medication or an immunization supply0..1InfrastructureRootRepresents either a medication or an immunization supply
                                                                                                                        .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                          .... realmCode 0..*CS0..*CS
                                                                                                                            .... typeId 0..1IIC0..1IIII-1: An II instance must have either a root or an nullFlavor.
                                                                                                                            • StructureDefinition PlannedSupply has added constraint that is not found in PlannedSupply 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
                                                                                                                                    ..... 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: PRD
                                                                                                                                        0..1??Binding: ?? (required)
                                                                                                                                        Fixed Value: PRD
                                                                                                                                          .... 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 supply could be identified using supply/performer.
                                                                                                                                                0..*Performer2The clinician who is expected to perform the supply could be identified using supply/performer.
                                                                                                                                                  ... author 0..1??The author in a supply represents the clinician who is requesting or planning the supply.
                                                                                                                                                  0..1??The author in a supply represents the clinician who is requesting or planning the supply.
                                                                                                                                                    ... informant 0..*Informant0..*Informant
                                                                                                                                                      ... Slices for participant 0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
                                                                                                                                                      Slice: Unordered, Open by value:typeCode
                                                                                                                                                      0..*Participant2This participant represents a device that is ordered, requested or intended for the patient.
                                                                                                                                                      Slice: Unordered, Open by value:typeCode
                                                                                                                                                        ... Slices for entryRelationship 0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
                                                                                                                                                        Slice: Unordered, Open by profile:act, profile:observation
                                                                                                                                                        0..*EntryRelationshipThe following entryRelationship represents the insurance coverage the patient may have for the supply.
                                                                                                                                                        Slice: Unordered, Open by profile:act, profile:observation
                                                                                                                                                          ... 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