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 if author = device #13

Closed
ziegm opened this issue Jul 8, 2022 · 0 comments
Closed

Mapping if author = device #13

ziegm opened this issue Jul 8, 2022 · 0 comments
Assignees

Comments

@ziegm
Copy link
Contributor

ziegm commented Jul 8, 2022

Current mapping:

CDA - Medication List document from PMP:

    <author>
        <templateId root="2.16.756.5.30.1.1.10.9.23"/>
        <functionCode code="COMPOSER" codeSystem="2.16.840.1.113883.5.88" codeSystemName="Participation Function" displayName="composer software"/>
        <time value="20220708080440+0000"/>
        <assignedAuthor>
            <id root="2.51.1.3" extension="7601002860123"/>
            <assignedAuthoringDevice>
                <manufacturerModelName>CARA's PMP</manufacturerModelName>
                <softwareName>PMP CARA v0.1</softwareName>
            </assignedAuthoringDevice>
        </assignedAuthor>
    </author>

FHIR - Transformed Medication List document:
Composition.author.reference -> "urn:uuid:7de6a015-efcb-45c6-8e80-2384972640be"

   <entry>
      <fullUrl value="urn:uuid:ac73e073-b101-4be0-864d-e0d2ae2a02d9"/>
      <resource>
          <Practitioner>
              <identifier>
                  <system value="urn:oid:2.51.1.3"/>
                  <value value="7601002860123"/>
              </identifier>
          </Practitioner>
      </resource>
  </entry>

Change mapping, e.g.

    <entry>
        <fullUrl value="urn:uuid:ac73e073-b101-4be0-864d-e0d2ae2a02d9"/>
        <resource>
            <Device>
                <deviceName>
                    <name value="CARA's PMP"/>
                    <type value="model-name"/>
                </deviceName>
            </Device>
        </resource>
    </entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants