diff --git a/doc/message/xhtml/MedComMessaging-Styling_the_XHTML.md b/doc/message/xhtml/MedComMessaging-Styling_the_XHTML.md deleted file mode 100644 index 840a01d..0000000 --- a/doc/message/xhtml/MedComMessaging-Styling_the_XHTML.md +++ /dev/null @@ -1,58 +0,0 @@ -# Styling the XHTML - -As descibed in Styling the XHTML in FHIR R4| the XHTML fragment in the narrative may be styled in different ways, however, MedCom recommends the following, meaning that an implementer **SHOULD** use XHTML in a boiled down version: - -MedCom has for this narrowed down the example provided by HL7 FHIR Example -You can find MedCom's example here - -## MedCom recommended styles - -|xhtml-tag|meadning|xhtml-style| -|:---|:---|:---| -| bold | Bold Text | { font-weight: bold } | -| italics | Italics Text | { font-style: italic } | -| underline | Underlined Text | { text-decoration: underline } | -| strikethrough | Strikethrough Text | { text-decoration: line-through } | -| left | Left Aligned | { text-align : left } | -| right | Right Aligned | { text-align : right } | -| center | Center Aligned | { text-align : center } | -| justify | Justified | { text-align : justify } | -| border-left | Border on the left | { border-left: 1px solid grey } | -| border-right | Border on the right | { border-right: 1px solid grey } | -| border-top | Border on the top | { border-top: 1px solid grey } | -| border-bottom | Border on the bottom | { border-bottom: 1px solid grey } | -| arabic | List is ordered using Arabic numerals: 1, 2, 3 | { list-style-type: decimal } | -| disc | List bullets are simple solid discs | { list-style-type: disc } | -| unlist | List with no bullets | { list-style-type: none } | - -## Not MedCom recommended styles - -|xhtml-tag|meadning|xhtml-style| -|:---|:---|:---| -| little-roman | List is ordered using little Roman numerals: i, ii, iii | { list-style-type: lower-roman } | -| big-roman | List is ordered using big Roman numerals: I, II, III | { list-style-type: upper-roman } | -| little-alpha | List is ordered using little alpha characters: a, b, c | { list-style-type: lower-alpha } | -| big-alpha | List is ordered using big alpha characters: A, B, C | { list-style-type: upper-alpha } | -| circle | List bullets are hollow discs | { list-style-type : circle } | -| square | List bullets are solid squares | { list-style-type: square } | - -Note: for testing purposes, there is an example resource that includes all of these styles. It is also available as XHTML and a standard stylesheet that includes all of these styles. Use of styles not on this list will require an arrangement between producing and consuming systems. - -Authoring systems may refer to additional classes, but cannot rely on the fact that they will be supported. If the additional classes are critical for safe rendering, trading partner agreements will be required. - -Authoring systems may also use internal styles using the style attribute. This has the advantage of not depending on external interpretation, but also has the side effect of making content more difficult to manage when rendering, so applications should use this approach with care. - -Authoring systems may fix the following styling aspects of the content: - -bold, italic, underline, strikethrough -font color, family and size -background color, text alignment -whitespace interpretation -ordered list number format (since it may be referred to in text) -These style properties are specified in-line using the style attribute. Rendering systems SHOULD respect any of these rendering styles when they are specified in the style attribute, although appropriate interpretation is allowed in certain contexts (e.g. a low-contrast display for dark rooms or a high-contrast display for the visually impaired may adjust colors accordingly). - -Note that rendering systems can ignore or override any of the internal or external styles described above, but SHOULD be careful to ensure that this is only done in the context of well-maintained trading partner agreements, as altering the presentation of the text may create clinical safety issues. - -Authors MAY specify additional styles and style properties as specified in the CSS specification, but these are extensions to this specification and renderers are not required to heed them. It SHOULD be safe to view the narrative without these additional styling features available. - -Note that there are additional rules around styling for documents presentation. diff --git a/doc/message/xhtml/medcom-example.xml b/doc/message/xhtml/medcom-example.xml deleted file mode 100644 index 4ac4b4e..0000000 --- a/doc/message/xhtml/medcom-example.xml +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -
-

Example Narrative

-

Plain HTML, No Styles

-

Heading 3

-

Heading 4

-
Heading 5
-
Heading 6
-

- Paragraph. span . Link . Bold , br:
em , Italics , - strong , small , big Teletype Text , small , - Definition term , q , var . - All provided by - HL7 , for FHIR ( cite ). -

-
-

Paragraph in a blockquote, with an hr after it:

-
-
-
-

Paragraph in a div (Link Target )

-
-
    -
  • Unordered List Item
  • -
-
    -
  1. Ordered List Item
  2. -
-
-
DT Item
DD Item
-
-
 
-        Some Pre Text
-          with a line break
-      
-

Table:

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table Caption
Head Cell 1 Head Cell 2 Head Cell 3
Foot Cell 1 Foot Cell 2 Foot Cell 3
Body Cell 1 Body Cell 2 Body Cell 3
- Code Block - Sample Block -

External Styles

-

Text:

-

Example Text: bold , italics , underline - and strikethrough

-

This paragraph is left aligned. The content should be laid out aligned at the left of - the screen. The content should be laid out aligned at the left of the screen. The content - should be laid out aligned at the left of the screen. The content should be laid out aligned - at the left of the screen. The content should be laid out aligned at the left of the screen. -

-

This paragraph is right aligned. The content should be laid out aligned at the right of - the screen. The content should be laid out aligned at the right of the screen. The content - should be laid out aligned at the right of the screen. The content should be laid out - aligned at the right of the screen. The content should be laid out aligned at the right - of the screen.

-

This paragraph is center aligned. The content should be laid out aligned at the center - of the screen. The content should be laid out aligned at the center of the screen. The - content should be laid out aligned at the center of the screen. The content should be - laid out aligned at the center of the screen. The content should be laid out aligned at - the center of the screen.

-

This paragraph is justified. The content should be laid out aligned at both the left and - right of the screen. The content should be laid out aligned at both the left and right - of the screen. The content should be laid out aligned at both the left and right of the - screen. The content should be laid out aligned at both the left and right of the screen. - The content should be laid out aligned at both the left and right of the screen.

-

Table:

- - - - - - - -
Border LeftBorder RightBorder TopBorder Bottom
-

List:

-
    -
  1. arabic (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. little-roman (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. big-roman (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. little-alpha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. big-alpha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  • unlist (Item 1)
  • -
  • Item Two
  • -
-
    -
  • disc (Item 1)
  • -
  • Item Two
  • -
-
    -
  • circle (Item 1)
  • -
  • Item Two
  • -
-
    -
  • square (Item 1)
  • -
  • Item Two
  • -
-

Internal Styles

-

Example Text: bold , italics , underline - and strikethrough . - Font-Family Serif and Sans Serif , - Font-size 50% 80% 150% , - Font-Color Navy Maroon Brown , - Background-color Aqua Silver Pink . -

-

- Whitespace Control: -

-

Normal Whitespace - Test, long long long long long long long long long long long long long long - long long long long long long long long long long long long long long long long long long - long long long long long long long long long long long long long sentence

-

No-Wrap Whitespace - Test, long long long long long long long long long long long long long long - long long long long long long long long long long long long long long long long long long - long long long long long long long long long long long long long sentence

-

Pre Whitespace - Test, long long long long long long long long long long long long long long - long long long long long long long long long long long long long long long long long long - long long long long long long long long long long long long long sentence

-

Pre-Line Whitespace - Test, long long long long long long long long long long long long long long - long long long long long long long long long long long long long long long long long long - long long long long long long long long long long long long long sentence

-

Pre-Wrap Whitespace - Test, long long long long long long long long long long long long long long - long long long long long long long long long long long long long long long long long long - long long long long long long long long long long long long long sentence

- -

This paragraph is left aligned. The content should be laid out aligned at the left of - the screen. The content should be laid out aligned at the left of the screen. The content - should be laid out aligned at the left of the screen. The content should be laid out aligned - at the left of the screen. The content should be laid out aligned at the left of the screen. -

-

This paragraph is right aligned. The content should be laid out aligned at the right of - the screen. The content should be laid out aligned at the right of the screen. The content - should be laid out aligned at the right of the screen. The content should be laid out - aligned at the right of the screen. The content should be laid out aligned at the right - of the screen.

-

This paragraph is center aligned. The content should be laid out aligned at the center - of the screen. The content should be laid out aligned at the center of the screen. The - content should be laid out aligned at the center of the screen. The content should be - laid out aligned at the center of the screen. The content should be laid out aligned at - the center of the screen.

-

This paragraph is justified. The content should be laid out aligned at both the left and - right of the screen. The content should be laid out aligned at both the left and right - of the screen. The content should be laid out aligned at both the left and right of the - screen. The content should be laid out aligned at both the left and right of the screen. - The content should be laid out aligned at both the left and right of the screen.

- -
    -
  1. armenian (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. cjk-ideographic (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. decimal (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. decimal-leading-zero (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. georgian (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. hebrew (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. hiragana (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. hiragana-iroha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. inherit (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. katakana (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. katakana-iroha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. lower-alpha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. lower-greek (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. lower-latin (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. lower-roman (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. none (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. upper-alpha (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. upper-latin (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. upper-roman (Item 1)
  2. -
  3. Item Two
  4. -
-
    -
  1. upper-roman (Item 1)
  2. -
  3. Item Two
  4. -
- -
-
- - - -
\ No newline at end of file