OwS Style Sheet Directive: OwS.StyleName

Aus CTS2-LE
Version vom 21. September 2016, 21:06 Uhr von Caumanns (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Syntax == The following syntax does not define a directive to be placed into an OwS file, because the ''OwS.StyleName'' directive does not come with any com…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Syntax

The following syntax does not define a directive to be placed into an OwS file, because the OwS.StyleName directive does not come with any commands to be placed into the text. Instead it defines a syntax for custom MS Word style sheets, that looks as follows:


CustomOwSStyle := OwS PropertyReference+ PropertyQualifer*  



Description

Examples


Style Sheet      Text      Comment
OwS #heading 2 codesystem .Name ( .URI ) see #heading directive.
OwS #heading 3-4 concept .Display ( .Name ) see #heading directive.
Überschrift 2 Clinics and Wards (http://hospital.com/clinics) A new terminology is defined.
OwS.Description This terminology provides a list of all clinics and wards. The style of this paragraph starts with "OwS.". The OwS interpreter takes the second part of the style name as a property name. Therefore this paragraph is assigned to the Description-property of the codesystem-object that represents the newly defined terminology.
Überschrift 3 Cardiologic Clinic, Prof. Smyth (cardiologic clinic) A new concept is defined.
OwS.Designation[Language=de] Kardiologische Klinik This paragraph is assigned to the Designation-property of the concept with the text language set to German ("de").
OwS.Definition The cardiologic clinic is located in the Red-House-Building. This paragraph is considered to be the definition of the concept "cardiologic clinic".
Überschrift 4    Cardiologic care ward for Women and Children (ward 51.1)
OwS.Designation[Language=de]    Kardiologische Station für Frauen und Kinder
OwS.Definition    Ward 51.1 is located on the first floor.
Überschrift 4    Cardiologic care ward for Intensive Care (ward 51.2)
OwS.Definition    Ward 51.2 is located on the third floor. Access to the ward is restricted.