Skip to content

Instantly share code, notes, and snippets.

@eedrummer
Last active August 29, 2015 14:00
Show Gist options
  • Save eedrummer/90df8e3def3b4870ff08 to your computer and use it in GitHub Desktop.
Save eedrummer/90df8e3def3b4870ff08 to your computer and use it in GitHub Desktop.
Provider matching in popHealth

The OPML snippet will create 3 providers. The root provider is Community Provider Network. There are two child providers: Night Vale Community Medicine and Desert Bluffs Family Medicine. In the provided Cat I snippet, line 12 will cause the patient to be associated with Night Vale Community Hospital.

<serviceEvent classCode="PCPR">
<effectiveTime>
<low value='20120101050000'/>
<high nullFlavor='UNK'/>
</effectiveTime>
<performer typeCode="PRF">
<time>
<low value='20120101050000'/>
<high nullFlavor='UNK'/>
</time>
<assignedEntity>
<id root="Facility" extension="100" />
<representedOrganization>
</representedOrganization>
</assignedEntity>
</performer>
</serviceEvent>
<opml version="1.1">
<head/>
<body>
<outline name="Community Provider Network">
<outline Facility="100" tin="" name="Night Vale Community Medicine" address="1 Hidden Dr. Night Vale, AZ"/>
<outline Facility="101" tin="" name="Desert Bluffs Family Medicine" address="1 Sunny Rd. Desert Bluffs, AZ"/>
</outline>
</body>
</opml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment