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: Rough version of inline


This is not great; it's a mashup of RDFa and ODF-meta; and it's  
incomplete.

But it might be useful.

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content office:version="1.0"
    xmlns:aemv="http://www.example.org/anEnterpriseMedicalVocabulary#";
    xmlns:amdo="http://www.example.org/aMedicalDocumentOntology#";
    xmlns:cda="http://www.example.org/hl7-v3/cda/";
    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:eg="http://www.example.org/someOntology#";
    xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
    xmlns:foaf="http://http://xmlns.com/foaf/0.1/";
    xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
    xmlns:log="http://www.w3.org/2000/10/swap/log#"; xmlns:math="http://www.w3.org/1998/Math/MathML";
    xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
    xmlns:num="http://sweet.jpl.nasa.gov/ontology/numerics.owl#";
    xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
    xmlns:m="http://www.oasis-open.org/opendocument/meta/package#";
    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:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
    xmlns:rdfg="http://www.w3.org/2004/03/trix/rdfg-1/";
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
    xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
    xmlns:skos="http://www.w3.org/2004/02/skos/core#"; xmlns:snom="http://www.example.org/snomedct#";
    xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
    xmlns:sumo="http://reliant.teknowledge.com/DAML/SUMO.owl#";
    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:this="http://www.example.org/thisDocument/content";
    xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.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";>
    <!-- ================================= -->
    <m:link m:rel="rdf:type" m:href="amdo:ClinicalEncounterNote"/>
    <!-- ================================= -->
    <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">
                <m:link m:href="cda:Section" m:rel="rdf:type"/>
                <m:link m:href="amdo:Header" m:rel="rdf:type"/>
                <!-- ================================= -->
                <text:p text:style-name="Standard">Patient: <text:meta-field m:about="this:Patient"
                        m:property="dc:name">SMITH, JOHN</text:meta-field>
                    <text:s text:c="2"/><text:meta-field m:about="this:Patient"
                        m:property="aemv:patientID">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 m:about="this:" m:property="dc:date"
                        m:content="20070123T00:00-05:00">01/23/2007 00:00</text:meta-field></text:p>
                <text:p m:about="#id-Whole-Document" m:property="dc:description"
                    text:style-name="Standard"> Clinic Annual Visit </text:p>
                <text:p text:style-name="Standard">DOB: <text:meta-field m:about="this:Patient"
                        m:content="19500101" m:property="vcard:BDAY">1/1/1950</text:meta-field>
                    <text:s/>Age: 57</text:p>
                <text:p text:style-name="Standard">
                    <text:meta-field m:about="this:Doctor" m:property="dc: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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:ProblemList" rel="rdf:type"/>
                <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">
                                <m:link about="this:Patient" m:href="[_:a]" m:rel="aemv:hasProblem"/>
                                <m:link about="[_:a]" m:rel="rdf:type" m:href="[_:b]"/>
                                <m:link about="[_:b]" m:rel="skos:related" m:href="snom:57847834"/>
                                <text:meta-field m:about="this:problem-1" m:property="rdf:label">
                                    Hyperlipidemia</text:meta-field>.</text:p>
                        </text:list-item>
                        <text:list-item>
                            <text:p text:style-name="P1">
                                <m:link about="this:Patient" m:href="[_:c]" m:rel="aemv:hasProblem"/>
                                <m:link about="[_:c]" m:rel="rdf:type" m:href="[_:d"/>
                                <m:link about="[_:d]" m:rel="skos:related" m:href="snom:38341003"/>
                                <!-- 
                                    There has got to be an easier way to do this, comparable to the N3 style
                                    of:
                                    
                                    this:Patient aemv:hasProblem [ a [ skos:related snom:57847834 ] ].
                                    
                                    I'd like to see something like:
                                    
                                    <m:link about="this:Patient" m:rel="aemv:hasProblem">
                                        <m:link rdf:type>
                                            <m:link skos:related snom:57847834/>
                                        </m:link>
                                    </m:link>
                                    
                                    however, I don't see anywhere in the spec that the RDFa Syntax Spec supports this type of construct. 
                                    
                                    !!!!! On the other hand, I DO see support for this construct in the XHTML metainformation module at
                                    http://www.w3.org/TR/xhtml2/mod-meta.html  specifically in section 23.6.   !!!!!!!
                                    
                                    Elias, help!
                                    
                                    Incidentally, I am differentiating here between <meta> and <link>, in the style of XHTML. However, I
                                    must say I find the distinction between <meta> and <link> to be artificial and rather dubious in our
                                    context. 
                                    
                                    XHTML uses <meta> when the enclosed statement is about the *document* itself, and it uses
                                    <link> when the enclosed statement is about the *document content*. 
                                    
                                    But in our case,
                                    this distinction is made simply by specifying the appropriate "about=". "  We could make do with
                                    only odf:meta, for example. An <odf:meta about="this:Document" .... /> would be akin to an xhtml
                                    <meta> element, and an <odf:meta about="http://www.duke.edu/~jfmadden"; ... /> would be akin to an
                                    xhtml <link> making a statement about a person (specifically...me!).
                                    
                                -->
                                <text:meta-field m:about="this:problem-2" m:property="rdf:label">
                                    <text:meta-field xml:id="id-Problem-2">
                                    Hypertension</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="Medications" text:style-name="Sect1"
                xml:id="id-Medications-Section">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:Medications" rel="rdf:type"/>
                <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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:Allergies" rel="rdf:type"/>
                <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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:History" rel="rdf:type"/>
                <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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:PE" rel="rdf:type"/>" <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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:AP" rel="rdf:type"/>
                <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">
                <m:link href="cda:Section" rel="rdf:type"/>
                <m:link href="amdo:Signature" rel="rdf:type"/>
                <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>


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