Back To Index  <<  Back To Templates

ref Template  Check Properties

Id 2.16.756.5.30.1.127.10.4.35 Effective Date valid from 2017‑08‑01
Status draft Draft Version Label
Name CheckProperties Display Name Check Properties
Description CDA-CH LRTP Code System Additional Properties for Lab Results Check
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 9 templates, Uses 0 templates
Used by as Name Version
2.16.756.5.30.1.127.10.4.32 Include draft Laborresultat (lrtp) 2016‑07‑20
2.16.756.5.30.1.127.10.4.31 link draft Resultatgruppe (lrtp) 2016‑07‑20
2.16.756.5.30.1.127.10.4.30 link draft Befundgruppe (lrtp) 2016‑07‑20
2.16.756.5.30.1.127.10.3.12 link draft Laborbefund Section (lrtp) 2016‑07‑02
2.16.756.5.30.1.127.10.1.3 link draft Laborbefund Transplantationsprozesss 2017‑08‑14
2.16.756.5.30.1.127.10.1.3 link retired Laborbefund Transplantationsprozesss 2016‑07‑02
2.16.756.5.30.1.127.10.4.37 Include draft Vital Signs Observation (lrtp) (2017) 2017‑08‑14
2.16.756.5.30.1.127.10.4.36 link draft Vital Signs Organizer Entry (lrtp) (2017) 2017‑08‑14
2.16.756.5.30.1.127.10.3.13 link draft Coded Vital Signs Section (lrtp) (2017) 2017‑08‑14
Item DT Card Conf Description Label
  Variable let Name ap  
  Value doc('include/cs-2.16.756.5.30.1.127.77.6.5.1-DYNAMIC.xml')  
  Variable let Name apunits  
  Value $ap//concept[property/code[@value='unit']]  
  Variable let Name apsection  
  Value $ap//concept[property/code[@value='specialtySection']]  
  Variable let Name oc  
  Value hl7:code/@code  
  Variable let Name ovu  
  Value hl7:value/@unit  
  Variable let Name dc  
  Value $apunits[code/@value=$oc]/property[code/@value='unit']/valueCode/@value  
  Schematron assert role red error  
  test string-length($ovu)=0 or count($apunits[code/@value=$oc])=0 or count($dc)=0 or $ovu=$dc  
  Message (Laborresultatlrtp): Observations with code <value-of select="$oc"/> must have unit(s) <value-of select="$dc"/>.  
  Variable let Name osectioncode  
  Value ancestor::hl7:section/hl7:code/@code  
  Variable let Name dc  
  Value $apsection[code/@value=$oc]/property[code/@value='specialtySection']/valueCode/@value  
  Variable let Name dn  
  Value $apsection[code/@value=$oc]/property[code/@value='specialtySectionName']/valueString/@value  
  Schematron assert role red error  
  test string-length($osectioncode)=0 or string-length($dc)=0 or $osectioncode = $dc  
  Message (Laborresultatlrtp): Observations with code <value-of select="$oc"/> must appear within a section with code <value-of select="$dc"/> <value-of select="$dn"/>, found <value-of select="$osectioncode"/>.