Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping between CDA and Bundle/Composition #157

Closed
qligier opened this issue Oct 17, 2022 · 6 comments
Closed

Mapping between CDA and Bundle/Composition #157

qligier opened this issue Oct 17, 2022 · 6 comments
Assignees
Labels
Milestone

Comments

@qligier
Copy link
Member

qligier commented Oct 17, 2022

There are some inconsistencies in the "Mapping to CDA" section of Bundles and Compositions.

For example, the CDA id is mapped to Bundle.identifier and the setId to Composition.identifier. That would imply the Bundle and Composition shall use the same identifier (as the id and setId are the same for the first version of a document). Is it allowed? Is it needed any more?

The CDA effectiveTime is mapped both from Bundle.timestamp and Composition.date.

The CDA languageCode is mapped from the Composition. Wouldn't the Bundle.language be more coherent?

@ziegm
Copy link
Collaborator

ziegm commented Oct 26, 2022

@qligier
We would drop the mapping. Can we close the issue then?

@qligier
Copy link
Member Author

qligier commented Oct 26, 2022

There's no need to fix the mapping instructions since they'll be dropped, but the underlying questions still need to be addressed.

Do we use the attributes from the composition, the bundle or do we require both to be equal?

@oliveregger
Copy link
Collaborator

The current CH Core EPR profiles require bot version dependent Bundle.identifier and version independent Composition.identifier. Does that help to clarify which one to use?

@qligier
Copy link
Member Author

qligier commented Oct 27, 2022

So, for the first version, they're equal, and the Bundle.identifier shall change for future versions?

But what's the difference between Bundle.timestamp and Composition.date? Both are described as "The document's creation date and time", and the concept of version independent date is a bit weird.

@oliveregger
Copy link
Collaborator

oliveregger commented Oct 27, 2022

So, for the first version, they're equal, and the Bundle.identifier shall change for future versions?

could change for future versions.

But what's the difference between Bundle.timestamp and Composition.date? Both are described as "The document's creation date and time", and the concept of version independent date is a bit weird.

see http://hl7.org/fhir/composition-definitions.html
Composition.dateTime is used for tracking, organizing versions and searching. Note that this is the time of authoring. When packaged in a document, Bundle.timestamp is the date of packaging.

@ziegm ziegm added the cda label Oct 27, 2022
@ziegm ziegm added this to the STU 3 milestone Oct 27, 2022
ziegm added a commit that referenced this issue Oct 27, 2022
@ziegm
Copy link
Collaborator

ziegm commented Oct 27, 2022

@pjolo
FYI: I close this issue and ask for review through issue 150

@ziegm ziegm closed this as completed Oct 27, 2022
@ziegm ziegm self-assigned this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants