Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Encounters section is null for CCD R1.1 when entries required templateId is not present in document #136

@StanislauParuchnik

Description

@StanislauParuchnik

Hi, I get null when I call getEncountersSection() on ContinuityOfCareDocument object, though if I add necessary templateId=2.16.840.1.113883.10.20.22.2.22.1 entry getEncountersSection() returns an object.

As far as I'm aware CCD R1.1 specification doesn't restrict encounters section to have entries:
MAY contain zero or one [0..1] Encounters Section (entries optional) (templateId:2.16.840.1.113883.10.20.22.2.22) (CONF:9457).

Attaching sample maven project with test class which demonstrates this behavior.
encounters-demo.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions