[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Example of rdfa in a medical note
Hi guys, I wanted to show you a conceptual sketch of how RDFA could be used in a medical note. Attached is an odf doc of a medical encounter note.
Also attached is the original odf content content.xml file out of the odf archive set.
<?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="file:/Applications/oXygen/frameworks/odf/OpenDocument-schema-v1.1-cs1.rng" type="xml"?> <office:document-content office:version="1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:this="http://www.dukehealth.org/2003/10/12/aB6cD7eF8#" xml:base="http://www.dukehealth.org/2003/10/12/aB6cD7eF8#" xmlns:dukeid="http://www.dukehealth.org/id/" xmlns:ex="http://www.example.org/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:snomed="http://www.snomed.org/2006/07/01/snomedct#" xmlns:cda="htttp://www.hl7.org/2006/v3/cda#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"> <!--Irrelevant stuff--> <office:scripts/> <office:font-face-decls> <style:font-face style:font-family-generic="swiss" style:name="Helvetica" svg:font-family="Helvetica"/> <style:font-face style:font-family-generic="roman" style:font-pitch="variable" style:name="Times New Roman" svg:font-family="'Times New Roman'"/> <style:font-face style:font-family-generic="swiss" style:font-pitch="variable" style:name="Arial" svg:font-family="Arial"/> <style:font-face style:font-family-generic="system" style:font-pitch="variable" style:name="MS Mincho" svg:font-family="'MS Mincho'"/> <style:font-face style:font-family-generic="system" style:font-pitch="variable" style:name="Tahoma" svg:font-family="Tahoma"/> </office:font-face-decls> <office:automatic-styles> <style:style style:family="paragraph" style:name="P1" style:parent-style-name="Standard"> <style:paragraph-properties fo:text-align="start" style:justify-single-word="false" style:text-autospace="none"> <style:tab-stops> <style:tab-stop style:position="0.389in"/> <style:tab-stop style:position="0.778in"/> <style:tab-stop style:position="1.1665in"/> <style:tab-stop style:position="1.5555in"/> <style:tab-stop style:position="1.9445in"/> <style:tab-stop style:position="2.3335in"/> <style:tab-stop style:position="2.722in"/> <style:tab-stop style:position="3.111in"/> <style:tab-stop style:position="3.5in"/> <style:tab-stop style:position="3.889in"/> <style:tab-stop style:position="4.278in"/> <style:tab-stop style:position="4.6665in"/> </style:tab-stops> </style:paragraph-properties> </style:style> <style:style style:family="paragraph" style:name="P2" style:parent-style-name="Standard"> <style:paragraph-properties fo:text-align="start" style:justify-single-word="false" style:text-autospace="none"> <style:tab-stops> <style:tab-stop style:position="0.389in"/> <style:tab-stop style:position="0.778in"/> <style:tab-stop style:position="1.1665in"/> <style:tab-stop style:position="1.5555in"/> <style:tab-stop style:position="1.9445in"/> <style:tab-stop style:position="2.3335in"/> <style:tab-stop style:position="2.722in"/> <style:tab-stop style:position="3.111in"/> <style:tab-stop style:position="3.5in"/> <style:tab-stop style:position="3.889in"/> <style:tab-stop style:position="4.278in"/> <style:tab-stop style:position="4.6665in"/> </style:tab-stops> </style:paragraph-properties> <style:text-properties fo:font-size="12pt" style:font-name="Helvetica" style:font-name-asian="Helvetica" style:font-name-complex="Helvetica" style:font-size-asian="12pt" style:font-size-complex="12pt" style:use-window-font-color="true"/> </style:style> <style:style style:family="text" style:name="T1"> <style:text-properties fo:font-size="12pt" style:font-name="Helvetica" style:font-name-asian="Helvetica" style:font-name-complex="Helvetica" style:font-size-asian="12pt" style:font-size-complex="12pt" style:use-window-font-color="true"/> </style:style> </office:automatic-styles> <!--end irrelevant stuff--> <!--using an organizational UID as a person resource--> <office:body rel="dc:author" href="dukeid:236762318"> <office:text> <office:forms form:apply-design-mode="false" form:automatic-focus="false"/> <text:sequence-decls> <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/> <text:sequence-decl text:display-outline-level="0" text:name="Table"/> <text:sequence-decl text:display-outline-level="0" text:name="Text"/> <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/> </text:sequence-decls> <text:p text:style-name="P1"> <text:span text:style-name="T1">Dictated Rpt: <text:s/>Final <text:s text:c="3" />10/12/2003 00:00</text:span> </text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2" property="dc:title">TOP Interval Note</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2" rel="cda:subjectOfInformation" href="dukeid:AB1234"><meta about="[_:patient]" property="ex:IDString">AB1234</meta></text:p></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2" xml:id="patientName" about="[_:patient]" property="vcard:FN">SMITH, ANNA</text:p> <text:p text:style-name="P2" cda:dateDictated>10/12/2003</text:p> <text:p text:style-name="P2" about="[_:patient]">DOB: <span property="snomed:birthdate">7/11/1915 </span><text:s/>Age: <span property="snomed:age">89</span></text:p> <text:p text:style-name="P2">TOP Interval Note</text:p> <text:p text:style-name="P2" property="dc:author">Julie Jones, MD</text:p> <text:p text:style-name="P2">Duke Case Number 987654</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2" xml:id="profile" about="profile" rel="cda:sectionType" href="snomed:patientProfile">PATIENT PROFILE: Mrs. Smith is an 88-year-old Caucasian lady who lives in Whitebridge, North Carolina, at Whitebridge Assisted Living Facility. <text:s/></text:p> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">PROBLEM LIST: <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">1. <text:s/>Stage II poorly differentiated adenocarcinoma of the right upper lobe, dx 9/04 <text:s text:c="2"/></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>T2- 4 cm right upper lobe mass <text:s text:c="2"/></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>N0- <text:s text:c="2"/></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>M0- no brain or bone mets <text:s text:c="2"/></text:p> <text:p text:style-name="P2">A. <text:s/>S/P Right upper lobectomy 9/27/04. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">2. <text:s/>Hypertension. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">3. <text:s/>Polymyalgia rheumatica. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">4. <text:s/>Prolapsed bladder with chronic urinary tract infections status post uncomplicated anterior repair and uretero sacral ligaments suspension 9/20/05. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">5. <text:s/>Status post pulmonary embolism in 2004. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">ALLERGIES: <text:s/>No known drug allergies. <text:s/>She has a sensitivity to Codeine which makes her very sedated. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">INSURANCE/PRESCRIPTION INSURANCE: She has full insurance coverage which pays for medications (percentage unknown by patient). <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">SMOKING/EXPOSURE HISTORY: 10 pack years, stopping 35 years ago. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">HISTORY OF PRESENT ILLNESS: Ms. Smith began having intermittent wheezing approximately 8 months after swallowing a large vitamin tablet and choking on it. <text:s/>She was able to clear the tablet. <text:s/>After that she was seen by her primary care physician who examined her and found nothing wrong. <text:s/>Approximately 10 weeks ago her daughter-in-law was visiting and noted her wheezing and arranged for her to have a chest x-ray. <text:s/>The chest x-ray showed a mass in her right upper lobe and the patient was referred to Dr. Frank Brown for surgical evaluation and treatment. <text:s/>On 9-27-01 she underwent right upper lobectomy with pathology revealing poorly differentiated adenocarcinoma with very close margins and 0/12 positive lymph nodes. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">PAST MEDICAL HISTORY: See problem list. <text:s/>In addition she has undergone pyloroplasty, vagotomy and cholecystectomy in the 1960's for chronic duodenal ulcer intermittent flares. <text:s/>She underwent vaginal hysterectomy without oophorectomy in 1961 and tonsillectomy in 1929. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">FAMILY HISTORY: Mrs. Smith's mother died at age 86 of a stroke. <text:s/>Her father died at age 92 also of a stroke. <text:s/>She had one sister who lived out of the country and did not keep in touch, but Ms. Smith believes she lived to be age 92. <text:s/>She is not sure if she is deceased. <text:s/>She has three adult male children, ages 46, 49 and 51, all of whom are in good health. <text:s/>A paternal aunt had a diagnosis of breast cancer, as does a first cousin. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">SOCIAL HISTORY: She is a retired music teacher who lives with her husband in Whitebridge, NC. <text:s/>She speaks English and a little German and French. <text:s/>She learns best with written information. <text:s/>She is Baptist. <text:s/>She enjoys crafts and playing the piano. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">INTERVAL HISTORY: <text:s/>Mrs. Smith returns to clinic today for continued follow up. <text:s/>She continues to complain of fatigue, GI upset and Achilles tendonitis which she links to her antibiotic regimen for MAI. <text:s/>She does not complain of shortness of breath at rest, but does complain that she occasionally coughs and is able to produce sputum following use of her nebulizer treatment. <text:s/>Her biggest complaint today remains her Achilles tendon. <text:s/>She states that she has pain upon walking but is able to find a comfortable position, reclining or lying down. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">REVIEW OF SYSTEMS: Otherwise negative and complete. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">MEDICATIONS: <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Coumadin 10 mg on Monday and Friday; 7.5 mg others. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Prednisone 7.5 alternating with 5 mg po daily <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Hydrochlorothiazide 25 mg po daily <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Miacalcin nasal spray, one spray per day. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Vitamin D 800 mg po daily <text:s text:c="2"/></text:p> <text:p text:style-name="P2">TUMS two po daily <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Zantac 75 mg po bid <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Duonebs as needed <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Colace bid <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Azithromycin <text:s text:c="2"/></text:p> <text:p text:style-name="P2">Mycobutin for MAI as of 5/2006 </text:p> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">PHYSICAL EXAMINATION: <text:s/>This is a somewhat frail lady in no acute distress. <text:s/>Height of 149 cm, weight 57 kg, temp 36.7 C, pulse 84, BP 141/74, O2 saturation 95 percent on room air. <text:s/>Pain 0/10, fatigue 0/10. <text:s/>Performance status 70%. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Skin: Warm and dry. No icterus, purpura or rash. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">HEENT: Oral mucosa moist without lesions. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Neck: <text:s/>No <text:s/>JVD, lymphadenopathy or carotid bruits. <text:s/>No supraclavicular lymphadenopathy. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Lymph Nodes: No appreciable lymph nodes palpated. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Lungs: Breath sounds are clear to auscultation and percussion. No wheezes, rales or rhonchi. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Thorax: <text:s text:c="2"/>Symmetric, <text:s/>full expansion bilaterally, <text:s/>no tenderness, no spinous process. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Cardiac: <text:s text:c="2"/>RRR, without murmur, rub or gallop. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Abdomen: <text:s/>Soft, non tender and non distended, normoactive bowel sounds. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Extremities: No cyanosis, clubbing, trace edema right lower extremity. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">Neurologic: Alert and oriented X4. CNII-XII grossly intact. Strength 5/5 all extremities. <text:s text:c="2"/>DTRs <text:s/>2+. Sensation, intact to sharp and dull. <text:s/>Normal cerebellar exam. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">LABORATORY/RADIOLOGY DATA: <text:s/>See Browser. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">X-ray of her left ankle shows no fractures, no soft tissue injury, but does show some inflammation of the Achilles tendon incision. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2">ASSESSMENT AND PLAN: <text:s/>Mrs. Smith is an 89 year old lady with a history of MAI as well as slightly progressive pulmonary nodules. <text:s/>She does complain of fatigue, upset stomach and weight loss since she began the antibiotic regimen for MAI. <text:s/>I recommended to her that she stop this antibiotic regimen and will communicate with Dr. Jeremy Blount. <text:s/>Mrs. Smith was in agreement with this and felt that this was a reasonable course of action. <text:s/>We will continue the progression of both her fatigue and GI upset and also possible symptoms of MAI and to help make a determination as to whether she should return to antibiotic treatment for this treatment. <text:s/>At this point we will continue to watch the increase in lung opacities, discussed at her previous clinic visit. <text:s/>She will return in January 2004 to the clinic for ongoing follow up with an ABC auto, OP16 and CT of the chest. </text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Mrs. Smith and her husband were given the opportunity to ask questions and their questions were answered completely. <text:s/>They verbally stated an understanding of the follow up and treatment plan. <text:s/>There were no barriers to communication. <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Dr. Jones saw, examined and discussed the treatment plan with this patient and Julie Resnick, M.D. </text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2">________________________ </text:p> <text:p text:style-name="P2" xml:id="this-author" property="dc:author">Julie Resnick, M.D. For</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s/> </text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Julie Jones, MD</text:p> <text:p text:style-name="P2">Division of Hematology/Oncology</text:p> <text:p text:style-name="P2">ELECTRONICALLY SIGNED ON</text:p> <text:p text:style-name="P2">October 29, 2006 AT 3:56:51 PM</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">KH/dnh</text:p> <text:p text:style-name="P2">Dictated on: <text:s text:c="4"/>10/20/2003</text:p> <text:p text:style-name="P2">Transcribed on: <text:s/>10/21/2003</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Dr. Frank Brown - DUMC</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2">Dr. Leland Wilburt</text:p> <text:p text:style-name="P2">Whitebridge Health Center</text:p> <text:p text:style-name="P2">15 Oak Street</text:p> <text:p text:style-name="P2">Whitebridge, NC <text:s/>27000</text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="27"/> </text:p> <text:p text:style-name="Standard"/> </office:text> </office:body> </office:document-content>
Below, with comments interspersed, is a portion of the content.xml with added rdfa-style markup, as I would tentatively conceptualize it. (This is VERY rough, and it is the most raggedy of strawmen.) <?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="file:/Applications/oXygen/frameworks/odf/ OpenDocument-schema-v1.1-cs1.rng" type="xml"?> ------------BIG COMMENT 1: odf-document-content <office:document-content office:version="1.0" element start ============-BEGIN BIG COMMENT 2: ODF boilerplate namespace declarations--------------------------- xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dom="http:// www.w3.org/2001/xml-events" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo- compatible:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:oooc="http:// openoffice.org/2004/calc" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible: 1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xlink="http:// www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ================-END BIG COMMENT 2: boilerplate-------------------------------------- =============--BEGIN BIG COMMENT 3: these are namespace and other declarations that ==============are NEW and relate to the rdfa -------an "official" url for THIS DOCUMENT so it can be referred to in "webspace"---------------- -------here I'm imagining that this is conferred by the curatorial organization, in this case dukehealth.org------------ xmlns:this="http://www.dukehealth.org/2003/10/12/aB6cD7eF8#" -------an xml:base declaration of the url of the document------------------ -------having a base url is ---I think---important, because I propose to use xml:id's appended to the "official" document url -------to identify document fragments as targets of rdf assertions. Having a base makes this a lot cleaner ------ This does have the side effect of mandating that the attributes not intended to be in the document -------namespace should all be namespace-qualified (I think --- Elias?). This may be an issue for some people. xml:base="http://www.dukehealth.org/2003/10/12/aB6cD7eF8#" -------a bunch of namespace declarations to declare the user vocabularies that I will be using in this document ----------------------an imaginary dukehealth namespace for organizational unique id's of patients and doctors xmlns:dukeid="http://www.dukehealth.org/id/" -----------------------the usual example.org namespace for the heck of it xmlns:ex="http://www.example.org/" ----------------------the SNOMED-CT namespace: SNOMED is a huge controlled vocabulary of medical terms and properties xmlns:snomed="http://www.snomed.org/2006/07/01/snomedct#" -------------------the HL7 namespace: HL7 ("Health Level 7") is a big e-business vocabulary of medical transactions xmlns:cda="htttp://www.hl7.org/2006/v3/cda#" --------------------the FOAF and vcard vocabularies: I'd like to use some of these for demographic properties xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"> =================END BIG COMMENT 3========================== -==================BEGIN BIG COMMENT 4==================== <office:scripts/> <office:font-face-decls> ........................... (deleted: a whole bunch of formatting information from the original odf) </office:automatic-styles> ===================END BIG COMMENT 4======================== ==================BENIGN BIG COMMENT 5=============================== ------------------now here comes the text content itself. ------------------first thing we do is make a statement in rdfa about the author of the whole caboodle. ------------------we use Dublin core for this, and we identify the author with her dukehealth identity url <office:body rel="dc:author" href="dukeid:236762318"> <office:text> ---------------------deleting a bunch more irrelevant formatting information......... <office:forms form:apply-design-mode="false" form:automatic-focus="false"/> ...............................etc. etc. --------------------picking up again with the good stuff... ---------------------NOW, we have the title of the note, and we indicate this, again, using Dublin core vocab <text:p text:style-name="P2" property="dc:title">TOP Interval Note</text:p> <text:p text:style-name="P2"/> -----------------we want to state in rdf who this whole document is "about", i.e. who's the patient? ----------------we use an HL7 Clinical Document Architecture (cda) vocabulary property to do this ----------------and we identify the patient with her duke identity url <text:p text:style-name="P2" rel="cda:subjectOfInformation" href="dukeid:AB1234"> ------------------Here's an alternative approach to making statements about the patient. ------------------Suppose she hasn't had a dukeid assigned yet. ------------------No problem, we just want to create a blank url as a "vessel" for statements about the ------------------patient. We can later indicate that this blank node is actually sameAs the definitive ------------------patient id. RDF/RDFA lets you coin new blank nodes with explicit internal identifiers: <meta about="[_:patient]" property="ex:IDString">AB1234</meta></ text:p></text:p> -----------------In the line above, we've wrapped a piece of text in a meta element. We then created a blank RDF node with and internal -----------------identifier of "patient"; the identifier doesn't matter, as it won't "live" outside this document. But we now have -----------------a convenient node that is a temporary "holder" for our patient, and we can now assert properties about her. ----------------The above asserts that "something [namely, as we will later make clear, our patient] has the IDstring "AB1234". ----------------Note that meta as used here is not a native odf element (I don't think....Patrick?) ----------------Now I'll go to town and make all kinds of assertions about this "somebody". ----------------In the statement below, I say that this "somebody" is named "SMITH, ANNA". ----------------I elect to do this using the vcard vocabulary; I could use a different vocabulary if I wanted... <text:p text:style-name="P2" xml:id="patientName" about="[_:patient]" property="vcard:FN">SMITH, ANNA</text:p> ---------------The above is also the first we've seen of the use of xml:id. I'm thinking I might want to refer to this bit of ---------------text later for some reason. For example, I might want to make some assertions about where this ---------------name came from, or that it is the name of the same person who earlier went by a different name, or something ---------------like that. So I want to have a "handle" on this particular bit of the document. ---------------That's my xml:id. Notice that because I have an xml:base declaration in-scope (way up top, remember?) ---------------that the full id of this element is: thisDocument:patientName, or to be more explicit: ---------------http://www.dukehealth.org/2003/10/12/ aB6cD7eF8#patientName --------------It's important to remember that I chose patientName as the identifier here, but it might as well have been called "adhjsfeqiun" -------------I only know it's the name of the patient because of the rdf assertions. -------------Also note that this identifier is a url, and could be referred to from an external document, e.g. some subsequent odf encounter note). ---------------------Now back to using the cda vocabulary. <text:p text:style-name="P2" property="cda:dateDictated">10/12/2003</text:p> ---------------------Here, I'm merely pointing to a date string. --------------------I could declare the string to be a resource of type xs:date, and -------------------that would probably be better, in fact. I'd do that by wrapping -------------------it in a meta element and putting a type assertion around it. ===============END BIG COMMENT 4================ ================BEGIN BIG COMMENT 5============ ---------Time is short right now, so I won't comment the below extensively. ----------we can talk about it in the call if you like. <text:p text:style-name="P2" about="[_:patient]">DOB: <span property="snomed:birthdate">7/11/1915 </span><text:s/>Age: <span property="snomed:age">89</span></text:p> <text:p text:style-name="P2">TOP Interval Note</text:p> <text:p text:style-name="P2" property="dc:author">Julie Jones, MD</text:p> <text:p text:style-name="P2">Duke Case Number 987654</ text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"/> <text:p text:style-name="P2" xml:id="profile" about="profile" rel="cda:sectionType" href="snomed:patientProfile">PATIENT PROFILE: Mrs. Smith is an 88- year-old Caucasian lady who lives in Whitebridge, North Carolina, at Whitebridge Assisted Living Facility. <text:s/></text:p> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <text:p text:style-name="P2">PROBLEM LIST: <text:s text:c="2"/></text:p> <text:p text:style-name="P2"/> <text:p text:style-name="P2"> <text:s text:c="2"/> </text:p> <span about="[_:patient]"> <text:p text:style-name="P2">1. <text:s rel="snomed:hasProblemListItem" href="snomed:5474758432"/>Stage II poorly differentiated adenocarcinoma of the right upper lobe, dx 9/04 <text:s text:c="2"/ ></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>T2- 4 cm right upper lobe mass <text:s text:c="2"/></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>N0- <text:s text:c="2"/></text:p> <text:p text:style-name="P2"><text:s text:c="2"/>M0- no brain or bone mets <text:s text:c="2"/></text:p> <text:p text:style-name="P2">A. <text:s/>S/P Right upper lobectomy 9/27/04. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">2. <text:s rel="snomed:hasProblemListItem" href="snomed:457843234"/ >Hypertension. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">3. <text:s rel="snomed:hasProblemListItem" href="snomed:5843245365"/>Polymyalgia rheumatica. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">4. <text:s rel="snomed:hasProblemListItem" href="snomed:28u549695"/>Prolapsed bladder with chronic urinary tract infections status post uncomplicated anterior repair and uretero sacral ligaments suspension 9/20/05. <text:s text:c="2"/></text:p> <text:p text:style-name="P2">5. <text:s rel="snomed:hasProblemListItem" href="snomed:8589392-45"/>Status post pulmonary embolism in
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]