OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-metadata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Medical example docs


Folks,

aemv.owl

amdo.owl

Clinic Note.n3

Clinic Note.odt

Clinic Note.rdf

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content office:version="1.0" xml:id="id-Whole-Document"
    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";>
    <office:scripts/>
    <office:font-face-decls>
        <style:font-face style:font-family-generic="roman"
            style:font-pitch="variable" style:name="Times New Roman"
            svg:font-family="&apos;Times New Roman&apos;"/>
        <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="&apos;MS Mincho&apos;"/>
        <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:list-style-name="L1"
            style:name="P1" style:parent-style-name="Standard"/>
        <style:style style:family="paragraph" style:list-style-name="L2"
            style:name="P2" style:parent-style-name="Standard"/>
        <style:style style:family="paragraph" style:list-style-name="L3"
            style:name="P3" style:parent-style-name="Standard"/>
        <style:style style:family="section" style:name="Sect1">
            <style:section-properties style:editable="false">
                <style:columns fo:column-count="0" fo:column-gap="0in"/>
            </style:section-properties>
        </style:style>
        <text:list-style style:name="L1">
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="1">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="2">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="3">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="4">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="5">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="6">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="7">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="8">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="9">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="10">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.5in"/>
            </text:list-level-style-number>
        </text:list-style>
        <text:list-style style:name="L2">
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="1">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="2">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="3">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="4">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="5">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="6">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="7">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="8">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="9">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="10">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.5in"/>
            </text:list-level-style-number>
        </text:list-style>
        <text:list-style style:name="L3">
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="1">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="2">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="3">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="0.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="4">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="5">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="6">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.5in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="7">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="1.75in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="8">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="9">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.25in"/>
            </text:list-level-style-number>
            <text:list-level-style-number style:num-format="1"
                style:num-suffix="." text:level="10">
                <style:list-level-properties text:min-label-width="0.25in"
                    text:space-before="2.5in"/>
            </text:list-level-style-number>
        </text:list-style>
    </office:automatic-styles>
    <office:body>
        <office:text>
            <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:section text:name="Header" text:style-name="Sect1"
                xml:id="id-Header-Section">
                <text:p text:style-name="Standard">Patient: <text:meta-field
                        xml:id="id-Patient-Name">SMITH, JOHN</text:meta-field>
                    <text:s text:c="2"/><text:meta-field xml:id="id-Patient-ID"
                        >A12345</text:meta-field></text:p>
                <text:p text:style-name="Standard">Dictated Rpt: <text:s/>Final
                        <text:s text:c="3"/><text:meta-field xml:id="id-Date"
                        >01/23/2007 00:00</text:meta-field></text:p>
                <text:p text:style-name="Standard">
                    <text:meta-field xml:id="id-DocDescription">Clinic Annual
                        Visit</text:meta-field>
                </text:p>
                <text:p text:style-name="Standard">DOB: <text:meta-field
                        xml:id="id-Patient-Bday">1/1/1950</text:meta-field>
                    <text:s/>Age: 57</text:p>
                <text:p text:style-name="Standard">
                    <text:meta-field xml:id="id-Doctor-Name">Sam Jones,
                    MD</text:meta-field>
                </text:p>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="ProblemList" text:style-name="Sect1"
                xml:id="id-ProblemList-Section">
                <text:p text:style-name="Standard">PROBLEM LIST: <text:s/></text:p>
                <text:p text:style-name="Standard"/>
                <text:list text:style-name="L1">
                    <text:meta-field xml:id="id-Problem-List">
                        <text:list-item>
                            <text:p text:style-name="P1">
                                <text:meta-field xml:id="id-Problem-1">
                                    Hyperlipidemia</text:meta-field>.</text:p>
                        </text:list-item>
                        <text:list-item>
                            <text:p text:style-name="P1"><text:meta-field
                                    xml:id="id-Problem-2">
                                Hypertension</text:meta-field>. </text:p>
                        </text:list-item>
                    </text:meta-field>
                </text:list>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="Medications" text:style-name="Sect1"
                xml:id="id-Medications-Section">
                <text:p text:style-name="Standard">MEDICATIONS:</text:p>
                <text:p text:style-name="Standard"/>
                <text:list text:style-name="L2">
                    <text:meta-field xml:id="id-Meds-List">
                        <text:list-item>
                            <text:p text:style-name="P2">
                                <text:meta-field xml:id="id-Rx-1">
                                    <text:meta-field xml:id="id-Rx-1-drug"
                                        >Lovastatin</text:meta-field>
                                    <text:meta-field xml:id="id-Rx-1-dose">20 mg
                                        daily</text:meta-field>
                                </text:meta-field>
                            </text:p>
                        </text:list-item>
                        <text:list-item>
                            <text:p text:style-name="P2">
                                <text:meta-field xml:id="id-Rx-2">
                                    <text:meta-field xml:id="id-Rx-2-drug"
                                        >Chlorthalidone</text:meta-field>
                                    <text:meta-field xml:id="id-Rx-2-dose">25 mg
                                        daily</text:meta-field>
                                </text:meta-field>
                            </text:p>
                        </text:list-item>
                    </text:meta-field>
                </text:list>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="Allergies" text:style-name="Sect1"
                xml:id="id-Allergies-Section">
                <text:p text:style-name="Standard">ALLERGIES/SENSITIVITIES:
                    <text:s/></text:p>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard">
                    <text:meta-field xml:id="id-Allergy-1"><text:meta-field
                            xml:id="id-Allergy-1-substance">Sulfa
                        drugs</text:meta-field> (<text:meta-field
                            xml:id="id-Allergy-1-manifestation"
                        >rash</text:meta-field>)</text:meta-field>
                </text:p>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="History" text:style-name="Sect1"
                xml:id="id-History-Section">
                <text:p text:style-name="Standard">INTERVAL HISTORY: </text:p>
                <text:p text:style-name="Standard">...</text:p>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="PhysicalExam" text:style-name="Sect1"
                xml:id="id-PhysExam-Section">
                <text:p text:style-name="Standard">PHYSICAL EXAMINATION: </text:p>
                <text:p text:style-name="Standard"/>
                <text:meta-field xml:id="id-Vital-Signs">
                    <text:p text:style-name="Standard">VITALS: <text:s
                            text:c="10"/>T: <text:meta-field
                            xml:id="id-BodyTemp">36.2</text:meta-field>, P:
                            <text:meta-field xml:id="id-Pulse"
                        >63</text:meta-field>, R: <text:meta-field
                            xml:id="id-Resp">12</text:meta-field>, BP:
                            <text:meta-field xml:id="id-BP"><text:meta-field
                                xml:id="id-systolic"
                                >135</text:meta-field>/<text:meta-field
                                xml:id="diastolic"
                        >88</text:meta-field></text:meta-field></text:p>
                </text:meta-field>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard">...</text:p>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="AssessmentPlan" text:style-name="Sect1"
                xml:id="id-AssessPlan-Section">
                <text:p text:style-name="Standard">ASSESSMENT/PLAN: <text:s
                        text:c="2"/></text:p>
                <text:p text:style-name="Standard"/>
                <text:list text:style-name="L3">
                    <text:list-item>
                        <text:p text:style-name="P3">
                            <text:meta-field xml:id="id-Plan-1">Hyperlipidemia -
                                He will stay on lovastatin 20 mg daily.
                                <text:s/>I think I would like to see his LDL
                                cholesterol below 100.</text:meta-field>
                        </text:p>
                    </text:list-item>
                    <text:list-item>
                        <text:p text:style-name="P3">
                            <text:meta-field xml:id="id-Plan-2">Hypertension –
                                Continue chlorthalidone. Weight loss and
                                exercise is encouraged.</text:meta-field>
                        </text:p>
                    </text:list-item>
                </text:list>
                <text:p text:style-name="Standard"/>
                <text:p text:style-name="Standard"/>
            </text:section>
            <text:section text:name="Signature" text:style-name="Sect1"
                xml:id="id-Signature-Section">
                <text:p text:style-name="Standard">Sam Jones, MD, FACP</text:p>
                <text:p text:style-name="Standard">ELECTRONICALLY SIGNED ON</text:p>
                <text:p text:style-name="Standard">January 26, 2007 AT 2:31:58
                    PM</text:p>
            </text:section>
        </office:text>
    </office:body>
</office:document-content>

Here are the files I could get done for the medical example so far.

(1) Clinic Note.odt is just an OpenDoc file of the document in  
question, unmodified.
(2) content.xml is a "doctored" version of the file from the odf  
document, with some xml:id's and other features added.
(3) Clinic Note.n3 is the annotated, manually authored metadata file.
(4) Clinic Note.rdf is the full RDF-XML image of the N3,  
programmatically generated using cwm.
(5) aemv.owl and amdo.owl are quickie ontology files I used to  
clarify two "fictitious" ontologies that I use in my metadata.

Several issues remain:

(1) From talking to Bruce, some of the metadata in Clinic Note.rdf  
ought probably really be located in the metadata manifest. But I did  
not have time or a good example of what the manifest ought to look  
like. This is something that needs definitely to be done.

(2) In several locations in the metadata file you will see that the  
ambiguity between (a) a "thing" and (b) the content.xml textual  
content that describes it, becomes a real issue. I don't have a great  
solution for this as yet.

(3) With respect to the "inline" version, I tried to create one using  
the attributes proposed in Patrick/Svante's latest draft, but I think  
we need a richer set of attributes to make this work.

In that regard, I am working tonight on a "demo" version that uses  
the full RDFa syntax (with the RDFa attributes imported wholesale  
into the odf-meta namespace, -- which I gather is the way the RDFa  
group wants it done, i.e. they don't want a dedicated rdfa namespace,  
but rather they want people to augment their own document models with  
these attributes using their own namespaces.)

Hope this is useful.

John





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]