1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
567 views
by michael-h-5027 (14.8k points)

I want to change the highlighted OID to 2.16.840.1.1.1.1.1.1.1.

 

   <providerOrganization>
            <id extension="Training" root="2.16.840.1.113883.19.1"/>
            <id extension="42" root="2.16.840.1.113883.19.2"/>
            <id extension="1225648184001060" root="2.16.840.1.113883.19.3"/>
            <id root="2.16.840.1.113883.4.6"/>
            <name>Southside Clinic</name>
            <telecom use="WP" value="tel:+1-503-233-2233"/>
            <telecom use="PUB" value="mailto:bbergeron@west.com"/>
            <addr use="WP">
               <streetAddressLine>10288 SW 43rd Ave</streetAddressLine>
               <streetAddressLine>Suite 400</streetAddressLine>
               <city>Portland</city>
               <state>OR</state>
               <postalCode>97202</postalCode>
               <country>US</country>
            </addr>
         </providerOrganization>

1 Answer

0 votes

If you have a channel cache with your OID, you can create a custom mapping with this:

message.setNode('/ClinicalDocument/recordTarget/patientRole/providerOrganization/id/@root', channelCache.getValue('defaultAssigningAuthorityId'));

or you could enter your OID in the message.setNode:

message.setNode('/ClinicalDocument/recordTarget/patientRole/providerOrganization/id/@root', '2.16.840.1.1.1.1.1.1.1');

You can get the xpath by going to your sample

 

Choose the view node path option

 

Copy the path

 

Once you have changed the path in your custom mapping you can test to make sure it has changed

by michael-h-5027 (14.8k points)
...