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

Left:Sex Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SexObservation)
Right:Sex Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SexObservation)

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'
InformationObservation.effectiveTimeStructureDefinition SexObservation has added constraint that is not found in SexObservation and it is uncertain whether they are compatible ((low | high | width | center).empty())
InformationObservation.effectiveTime.lowElement maximum cardinalities differ: '0' vs '1'
InformationObservation.effectiveTime.centerElement maximum cardinalities differ: '0' vs '1'
InformationObservation.effectiveTime.widthElement maximum cardinalities differ: '0' vs '1'
InformationObservation.effectiveTime.highElement maximum cardinalities differ: '0' vs '1'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Observation
      .copyright
        .date2023-12-21T01:13:10+10:002024-05-18T00:16:25-05:00
        • Values Differ
        .descriptionThis Sex Observation template is used to reflect the documentation of a person's sex. Systems choosing to record the source of information should include the Provenance participation. USCDI v3 includes a data element for sex, intended to support the exchange of a sex value that is not characterized as sex assigned at birth or birth sex. This version of the C-CDA companion guide supports USCDI Sex data element. Sex assigned at birth or birth sex must be recorded using the Birth Sex Observation which falls under the broader category of a 'Sex observation'. A Data Absent Reason (DAR) code value of 'asked-declined' may be used when a person has chosen not to disclose their sex. Future versions of the template may be informed by the content of the HL7 Cross Paradigm IG: Gender Harmony - Sex and Gender Representation, which may include additional guidance on this Sex observation and the relationship to administrative gender (administrativeGenderCode). It is recommended systems include the Sex Observation in the Social History section.
          .experimental
            .fhirVersion5.0.0
              .jurisdiction
                ..jurisdiction[0]urn:iso:std:iso:3166#US
                  .kindlogical
                    .nameSexObservation
                      .publisherHealth Level Seven
                        .purpose
                          .statusdraft
                            .titleSex Observation
                              .typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
                                .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/SexObservation
                                  .version3.0.0-ballot3.0.0
                                  • Values Differ

                                  Structure

                                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                  .. Observation C1..1ObservationBase 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
                                  C1..1ObservationBase 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
                                    ... 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: OBS
                                                      1..1??Binding: ?? (required)
                                                      Fixed Value: OBS
                                                        ... 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..1CDSex
                                                              Binding: ?? (example)
                                                              1..1CDSex
                                                              Binding: ?? (example)
                                                                .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                  .... code 1..1??Required Pattern: 46098-01..1??Required Pattern: 46098-0
                                                                    .... 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
                                                                                      ... derivationExpr 0..1ST0..1ST
                                                                                        ... 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: 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 1..1IVL_TSC1..1IVL_TSvalue-only: Interval fields SHALL not be present
                                                                                                                                      • StructureDefinition SexObservation has added constraint that is not found in SexObservation and it is uncertain whether they are compatible ((low | high | width | center).empty())
                                                                                                                                      .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                        .... value 0..1??Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz] 0..1??value should be used instead of low/high
                                                                                                                                        Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
                                                                                                                                          .... operator 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                            .... low 0..00..1IVXB_TS
                                                                                                                                            • Element maximum cardinalities differ: '0' vs '1'
                                                                                                                                            .... center 0..00..1TS
                                                                                                                                            • Element maximum cardinalities differ: '0' vs '1'
                                                                                                                                            .... width 0..00..1PQ
                                                                                                                                            • Element maximum cardinalities differ: '0' vs '1'
                                                                                                                                            .... high 0..00..1IVXB_TS
                                                                                                                                            • Element maximum cardinalities differ: '0' vs '1'
                                                                                                                                            ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                                              ... repeatNumber 0..1IVL_INT0..1IVL_INT
                                                                                                                                                ... languageCode 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                                                                  ... value 1..1CD1..1CD
                                                                                                                                                    .... nullFlavor 0..00..0
                                                                                                                                                      .... code 1..1??Binding: ?? (required)1..1??Binding: ?? (preferred)
                                                                                                                                                        .... 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..*CR0..*CR
                                                                                                                                                                        .... translation 0..*CD0..*CD
                                                                                                                                                                          ... interpretationCode 0..*CEBinding: ?? (required)
                                                                                                                                                                          0..*CEBinding: ?? (required)
                                                                                                                                                                            ... methodCode 0..*CEBinding: ?? (example)
                                                                                                                                                                            0..*CEBinding: ?? (example)
                                                                                                                                                                              ... targetSiteCode 0..*CD0..*CD
                                                                                                                                                                                ... subject 0..1Subject0..1Subject
                                                                                                                                                                                  ... specimen 0..*Specimen0..*Specimen
                                                                                                                                                                                    ... performer 0..*Performer20..*Performer2
                                                                                                                                                                                      ... author 0..*Author0..*Author
                                                                                                                                                                                        ... informant 0..*Informant0..*Informant
                                                                                                                                                                                          ... participant 0..*Participant20..*Participant2
                                                                                                                                                                                            ... entryRelationship 0..*EntryRelationship0..*EntryRelationship
                                                                                                                                                                                              ... reference 0..*Reference0..*Reference
                                                                                                                                                                                                ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                                                  ... sdtcPrecondition2 0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                                                  0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                                                    ... referenceRange 0..*InfrastructureRoot0..*InfrastructureRoot
                                                                                                                                                                                                      .... 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: REFV
                                                                                                                                                                                                                        0..1??Binding: ?? (required)
                                                                                                                                                                                                                        Fixed Value: REFV
                                                                                                                                                                                                                          .... observationRange 1..1ObservationRange1..1ObservationRange
                                                                                                                                                                                                                            ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                            0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                                                              doco Documentation for this format