smart-classic / smart-issues

2 stars 0 forks source link

Model Simple Clinical Notes #5

Closed jmandel closed 12 years ago

jmandel commented 12 years ago

To-date

Preliminary design

GET /records/xxx/clinical_notes/

dcterms:title
sp:provider (Person node)
sp:speciality? (LOINC-coded note-by-speciality, drawn from CCDA spec)
dcterms:format (MIME type)
sp:noteValue (literal)

Next steps: review with i2b2 team

jmandel commented 12 years ago

Updated ontology in: https://github.com/chb/smart_common/tree/adding-0.5-models

Note the use of dcterms:hasFormat to describe available formats, each of which is assigned a dcterms:format.

<?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:spcode="http://smartplatforms.org/terms/codes/"
>
 <sp:ClinicalNote>
    <sp:belongsTo rdf:resource="http://sandbox-api.smartplatforms.org/records/2169591" />
    <dcterms:date>2012-05-17</dcterms:date>
    <dcterms:title>Cardiology clinic follow-up</dcterms:title>
    <dcterms:hasFormat>
         <sp:DocumentWithFormat rdf:about="http://url.of.raw.note/content">
            <dcterms:format rdf:resoruce="http://purl.org/NET/mediatypes/text/html"/>
         </sp:DocumentWithFormat>
    </dcterms:hasFormat>
    <sp:provider>
      <sp:Provider>
        <v:n>
          <v:Name>
           <v:given-name>Joshua</v:given-name>
           <v:family-name>Mandel</v:family-name>
          </v:Name>
        </v:n>
      </sp:Provider>
    </sp:provider>
 </sp:ClinicalNote>
</rdf:RDF>
jmandel commented 12 years ago

Make it possible to inline (short) note content with rdf:value predicate on the sp:DocumentWithFormat