Skip to content

Instantly share code, notes, and snippets.

@jmandel
Created February 27, 2012 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmandel/1927168 to your computer and use it in GitHub Desktop.
Save jmandel/1927168 to your computer and use it in GitHub Desktop.
SMART Pan-SHARP: Sample Patient RDF File
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sp="http://smartplatforms.org/terms#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:spcode="http://smartplatforms.org/terms/codes/">
<sp:Demographics>
<v:n>
<v:Name>
<v:given-name>Jacob</v:given-name>
<v:additional-name>M</v:additional-name>
<v:family-name>Perkins</v:family-name>
</v:Name>
</v:n>
<foaf:gender>male</foaf:gender>
<v:bday>1939-12-25</v:bday>
<sp:medicalRecordNumber>
<sp:Code>
<dcterms:title>My Hospital Record 2304575</dcterms:title>
<dcterms:identifier>2304575</dcterms:identifier>
<sp:system>My Hospital Record</sp:system>
</sp:Code>
</sp:medicalRecordNumber>
</sp:Demographics>
<sp:Medication rdf:nodeID="med1">
<sp:drugName>
<sp:CodedValue>
<dcterms:title>AMITRIPTYLINE HCL 50 MG TAB</dcterms:title>
<sp:code>
<spcode:RxNorm_Semantic rdf:about="http://rxnav.nlm.nih.gov/REST/rxcui/856845">
<rdf:type rdf:resource="http://smartplatforms.org/terms#Code" />
<sp:system>http://rxnav.nlm.nih.gov/REST/rxcui/</sp:system>
<dcterms:identifier>856845</dcterms:identifier>
<dcterms:title>AMITRIPTYLINE HCL 50 MG TAB</dcterms:title>
</spcode:RxNorm_Semantic>
</sp:code>
</sp:CodedValue>
</sp:drugName>
<sp:startDate>2007-03-14</sp:startDate>
<sp:endDate>2007-08-14</sp:endDate>
<sp:instructions>Take two tablets twice daily as needed for pain</sp:instructions>
<sp:quantity>
<sp:ValueAndUnit>
<sp:value>2</sp:value>
<sp:unit>{tablet}</sp:unit>
</sp:ValueAndUnit>
</sp:quantity>
<sp:frequency>
<sp:ValueAndUnit>
<sp:value>2</sp:value>
<sp:unit>/d</sp:unit>
</sp:ValueAndUnit>
</sp:frequency>
</sp:Medication>
<sp:Medication rdf:nodeID="med2">
<sp:drugName>
<sp:CodedValue>
<dcterms:title>donepezil 10 MG Oral Tablet [Aricept]</dcterms:title>
<sp:code>
<spcode:RxNorm_Semantic rdf:about="http://rxnav.nlm.nih.gov/REST/rxcui/856845">
<rdf:type rdf:resource="http://smartplatforms.org/terms#Code"/>
<sp:system>http://rxnav.nlm.nih.gov/REST/rxcui/</sp:system>
<dcterms:identifier>153357</dcterms:identifier>
<dcterms:title>donepezil 10 MG Oral Tablet [Aricept]</dcterms:title>
</spcode:RxNorm_Semantic>
</sp:code>
</sp:CodedValue>
</sp:drugName>
<sp:startDate>2007-03-14</sp:startDate>
<sp:endDate>2007-08-14</sp:endDate>
<sp:instructions>Take one tablet daily</sp:instructions>
<sp:quantity>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>{tablet}</sp:unit>
</sp:ValueAndUnit>
</sp:quantity>
<sp:frequency>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>/d</sp:unit>
</sp:ValueAndUnit>
</sp:frequency>
</sp:Medication>
<sp:Medication rdf:nodeID="med3">
<sp:drugName>
<sp:CodedValue>
<dcterms:title>Hydrochlorothiazide 50 MG Oral Tablet</dcterms:title>
<sp:code>
<spcode:RxNorm_Semantic rdf:about="http://rxnav.nlm.nih.gov/REST/rxcui/197770">
<rdf:type rdf:resource="http://smartplatforms.org/terms#Code"/>
<sp:system>http://rxnav.nlm.nih.gov/REST/rxcui/</sp:system>
<dcterms:identifier>197770</dcterms:identifier>
<dcterms:title>Hydrochlorothiazide 50 MG Oral Tablet</dcterms:title>
</spcode:RxNorm_Semantic>
</sp:code>
</sp:CodedValue>
</sp:drugName>
<sp:startDate>2007-03-14</sp:startDate>
<sp:endDate>2007-08-14</sp:endDate>
<sp:instructions>Take one tablet daily</sp:instructions>
<sp:quantity>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>{tablet}</sp:unit>
</sp:ValueAndUnit>
</sp:quantity>
<sp:frequency>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>/d</sp:unit>
</sp:ValueAndUnit>
</sp:frequency>
</sp:Medication>
<sp:Medication rdf:nodeID="med4">
<sp:drugName>
<sp:CodedValue>
<dcterms:title>Lisinopril 20 MG Oral Tablet</dcterms:title>
<sp:code>
<spcode:RxNorm_Semantic rdf:about="http://rxnav.nlm.nih.gov/REST/rxcui/314077">
<rdf:type rdf:resource="http://smartplatforms.org/terms/codes/RxNorm_Semantic"/>
<rdf:type rdf:resource="http://smartplatforms.org/terms#Code"/>
<sp:system>http://rxnav.nlm.nih.gov/REST/rxcui/</sp:system>
<dcterms:identifier>314077</dcterms:identifier>
<dcterms:title>Lisinopril 20 MG Oral Tablet</dcterms:title>
</spcode:RxNorm_Semantic>
</sp:code>
</sp:CodedValue>
</sp:drugName>
<sp:startDate>2007-03-14</sp:startDate>
<sp:endDate>2007-08-14</sp:endDate>
<sp:instructions>Take one tablet daily</sp:instructions>
<sp:quantity>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>{tablet}</sp:unit>
</sp:ValueAndUnit>
</sp:quantity>
<sp:frequency>
<sp:ValueAndUnit>
<sp:value>1</sp:value>
<sp:unit>/d</sp:unit>
</sp:ValueAndUnit>
</sp:frequency>
</sp:Medication>
<sp:MedicationList>
<dcterms:date>2011-02-08</dcterms:date>
<sp:medListSource>
<sp:CodedValue>
<rdf:type rdf:resource="http://smartplatforms.org/terms#CodedValue"/>
<dcterms:title>Derived from administration records</dcterms:title>
<sp:code rdf:resource="http://smartplatforms.org/terms/codes/MedListSource#administration"/>
</sp:CodedValue>
</sp:medListSource>
<sp:medication rdf:nodeID="med1" />
<sp:medication rdf:nodeID="med2" />
</sp:MedicationList>
<sp:MedicationList>
<dcterms:date>2012-01-26</dcterms:date>
<sp:medListSource>
<sp:CodedValue>
<rdf:type rdf:resource="http://smartplatforms.org/terms#CodedValue"/>
<dcterms:title>Derived from patient report</dcterms:title>
<sp:code rdf:resource="http://smartplatforms.org/terms/codes/MedListSource#patientReport"/>
</sp:CodedValue>
</sp:medListSource>
<sp:medication rdf:nodeID="med3" />
<sp:medication rdf:nodeID="med4" />
</sp:MedicationList>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment