Skip to content

Country Observation Validation Fails Due to Missing or Invalid CD Value Element #1117

Description

@bhargavchowdhary

Country observations in the generated CDA document do not comply with the CDA implementation guide requirements. Each Country observation must contain exactly one value element with xsi:type="CD" and a code selected from the Country ValueSet.

Validation Errors

  • CONF:4482-1073
  • CONF:4482-1084

The observation shall contain exactly one (1..1) value element with @xsi:type="CD".

The code shall be selected from ValueSet Country (OID: 2.16.840.1.113883.3.88.12.80.63, Dynamic).

Affected XML Paths

  • /ClinicalDocument/component/structuredBody/component[9]/section/entry[5]/observation
  • /ClinicalDocument/component/structuredBody/component[9]/section/entry[6]/observation

Expected Behavior

Each Country observation should include exactly one value element with xsi:type="CD" containing a valid code from the Country ValueSet.

Actual Behavior

The generated observation is missing the required value element or contains an invalid code, resulting in CDA validation failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions