GithubHelp home page GithubHelp logo

lantanagroup / stylesheets Goto Github PK

View Code? Open in Web Editor NEW
34.0 21.0 26.0 508 KB

Open source repository for standards-based stylesheets (such as CDA and FHIR rendering stylesheets).

License: Apache License 2.0

XSLT 100.00%
stylesheets

stylesheets's People

Contributors

ericparapini-lantanagroup avatar minigrrl avatar seanmcilvenna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stylesheets's Issues

how to use this project

I now have a cda document xml, if you want to use this tool to generate a html, how should I operate, after reading the readme did not understand the use of the way, can answer a little, thank you very much!

Author doesn't render if it's a device rather than a person

This leaves author blank:

  <author>
      <time value="20161107094421+0000"/>
      <!--Author/authenticator may be software or may be a provider such as
            "infection control professional".-->
      <assignedAuthor><!--Id for authoring device - made up application OID-->
         <id root="2.16.840.1.113883.3.72.5.20"/>
         <!--authoring device address - may or may not be same as facility where care provided for case-->
         <addr>
            <streetAddressLine>4646 Brown Rd</streetAddressLine>
            <city>Salem</city>
            <state>MA</state>
            <postalCode>02368</postalCode>
            <country>US</country>
         </addr>
         <telecom use="WP" value="tel:+1-(555)555-1212;ext=9998"/>
         <assignedAuthoringDevice>
                <manufacturerModelName displayName="Acme"/>
                <softwareName displayName="Acme EHR"/>
            </assignedAuthoringDevice>
      </assignedAuthor>
   </author>

Need default for Document Type

If the ClinicalDocument/code isn't in the specific list of codes mapped in translate-doc-type, then Document Type is blank.

Add default for Document Type - maybe code/@DisplayName first and if that doesn't exist so generic text or even ClinicalDocument/title.

styleCode attribute causes stylesheet not to render contained content

There is a bug in your current CDA.xsl such that if a styleCode is specified on a structure element like

then the structure isn't included. Meaning that the table definition (shown below) ends up being just text with no formatting. Since MCV is big on styleCodes I would hope they wouldn't just be dropped, or the elements that include them be dropped because they aren't the 3 standard, Italics, Underline, Bold.

            <table styleCode=\"xBorderBottom\">
              <colgroup>
                <col width=\"50%\" />
                <col width=\"50%\" />
              </colgroup>
              <tbody>
                <tr>
                  <td>
                    <content>Actors (Management, Business, Science, and Arts Occupations)</content>
                    <br/>
                    <content styleCode=\"xSecondary\">21-Apr-1985 0:00</content>
                    <content styleCode=\"xLabel xSecondary\"> To </content>
                    <content styleCode=\"xSecondary\">23-Jun-2016 0:00</content>
                  </td>
                  <td>
                    <content>Motion pictures and video industries (Information)</content>
                    <br />
                    <content styleCode=\"xSecondary\">21-Apr-1985 0:00</content>
                    <content styleCode=\"xLabel xSecondary\"> To </content>
                    <content styleCode=\"xSecondary\">23-Jun-2016 0:00</content>
                  </td>
                </tr>
              </tbody>
            </table>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.