hl7:section
|
|
1 … 1 |
M |
|
(plC ion) |
@classCode
|
|
0 … 1 |
F |
DOCSECT |
@moodCode
|
|
0 … 1 |
F |
EVN |
hl7:templateId
|
II |
1 … 1 |
M |
|
(plC ion) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.10.3.174 |
hl7:id
|
II |
0 … 1 |
|
|
(plC ion) |
hl7:code
|
CE |
1 … 1 |
M |
|
(plC ion) |
@code
|
CONF |
1 … 1 |
F |
11323-3 |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.6.1 (LOINC) |
@codeSystemName
|
1 … 1 |
F |
LOINC |
@displayName
|
1 … 1 |
F |
General health - Reported |
hl7:title
|
ST |
1 … 1 |
M |
|
(plC ion) |
| |
CONF |
| zawartość elementu musi być "Status zdrowotny pacjenta" |
|
hl7:text
|
SD.TEXT |
1 … 1 |
M |
|
(plC ion) |
hl7:entry
|
|
1 … 1 |
M |
|
(plC ion) |
hl7:observation
|
|
1 … 1 |
|
|
(plC ion) |
@classCode
|
cs |
1 … 1 |
F |
OBS |
@moodCode
|
cs |
1 … 1 |
F |
EVN |
hl7:code
|
CD |
1 … 1 |
M |
|
(plC ion) |
@code
|
CONF |
1 … 1 |
F |
SOPS |
@codeSystem
|
1 … 1 |
F |
2.16.840.1.113883.3.4424.13.5.6 |
@codeSystemName
|
1 … 1 |
F |
AtrybutyIPOM |
@displayName
|
1 … 1 |
F |
Stan ogólny pacjetna Stratyfikacja |
| Dołączony |
1 … 1 |
|
z 2.16.840.1.113883.3.4424.13.10.7.3 [7] Opis wyrażenia klinicznego (DYNAMICZNE)
|
hl7:text
|
ED |
1 … 1 |
|
|
(plC ion) |
hl7:reference
|
TEL |
0 … 1 |
|
|
(plC ion) |
@value
|
st |
1 … 1 |
R |
|
| |
Schematron assert |
rola |
error
|
|
| |
test |
ancestor::hl7:section//*[@ID=substring(current()/@value,2)] |
|
| |
Komunikat |
Referencja musi wskazywać na konkretny element tekstu sekcji o danym ID. |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
ancestor::hl7:section/hl7:templateId[@root='2.16.840.1.113883.3.4424.13.10.3.55']
and hl7:reference
|
|
| |
Komunikat |
Nie może istnieć referencja do treści w sekcji postaci binarnej dokumentu. |
|
hl7:statusCode
|
CS |
1 … 1 |
M |
|
(plC ion) |
@code
|
CONF |
1 … 1 |
F |
completed |
hl7:value
|
CD |
1 … 1 |
M |
|
(plC ion) |
| |
CONF |
|
| |
Schematron assert |
rola |
error
|
|
| |
test |
hl7:text/hl7:paragraph/concat('#',@ID)=//hl7:entry/hl7:observation[hl7:code/@code='SOPS']/hl7:text/hl7:reference/@value |
|
| |
Komunikat |
Referencja entry[1]/observation/text/reference/@value musi być zgodna z identyfikatorem
elementu text/paragraph[1]/@ID |
|
| |
Schematron assert |
rola |
error
|
|
| |
test |
hl7:text/hl7:paragraph[1]/*[1][local-name()='caption'][@ID='p1_stanOgolnyStratyfikacja_naglowek'
and @styleCode='Bold']/../*[2][local-name()='br']/../*[3][local-name()='content'][@ID='p1_stanOgolnyStratyfikacja_etykieta']/../*[4][local-name()='content'][@ID='p1_stanOgolnyStratyfikacja_wartosc']
|
|
| |
Komunikat |
Nieprawidłowa struktura elementów w text/paragraph[1] względem definicji w przykładzie. |
|
| |
Schematron assert |
rola |
error
|
|
| |
test |
hl7:text/hl7:paragraph[2]/*[1][local-name()='caption'][@ID='p1_stanPacjentaPodsumowanie_etykieta'][@styleCode='Bold']/../*[2][local-name()='content'][@ID='p1_stanPacjentaPodsumowanie_wartosc'] |
|
| |
Komunikat |
Nieprawidłowa struktura elementów w text/paragraph[2] względem definicji w przykładzie. |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
(upper-case(hl7:text/hl7:paragraph[1]/hl7:content[2][@ID='p1_stanOgolnyStratyfikacja_wartosc'])='STABILNY')
!= (hl7:entry/hl7:observation/hl7:value/@code='S')
|
|
| |
Komunikat |
Jeżeli entry/observationvalue/@code='S' to wartość elementu text/paragraph[1]/content[2]
musi zawierać wyrażenie 'Stabilny' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
(upper-case(hl7:text/hl7:paragraph[1]/hl7:content[2][@ID='p1_stanOgolnyStratyfikacja_wartosc'])='POŚREDNI')
!= (hl7:entry/hl7:observation/hl7:value/@code='P')
|
|
| |
Komunikat |
Jeżeli entry/observationvalue/@code='P' to wartość elementu text/paragraph[1]/content[2]
musi zawierać wyrażenie 'Pośredni' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
(upper-case(hl7:text/hl7:paragraph[1]/hl7:content[2][@ID='p1_stanOgolnyStratyfikacja_wartosc'])='ZAGROŻONY
NIESTABILNOŚCIĄ') != (hl7:entry/hl7:observation/hl7:value/@code='Z')
|
|
| |
Komunikat |
Jeżeli entry/observationvalue/@code='Z' to wartość elementu text/paragraph[1]/content[2]
musi zawierać wyrażenie 'Zagrożony niestabilnością' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
not(hl7:text/hl7:paragraph[1]/hl7:caption[@ID='p1_stanOgolnyStratyfikacja_naglowek']='Stan
ogólny:')
|
|
| |
Komunikat |
Sekcja TEXT musi zawierać element paragraph[1]/caption[1] z ID='p1_stanOgolnyStratyfikacja_naglowek'
mający wartość 'Stan ogólny:' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
not(hl7:text/hl7:paragraph[1]/hl7:content[@ID='p1_stanOgolnyStratyfikacja_etykieta']='Stratyfikacja
poziom:')
|
|
| |
Komunikat |
Sekcja TEXT musi zawierać element paragraph[1]/content[1] z ID='p1_stanOgolnyStratyfikacja_etykieta'
mający wartość 'Stratyfikacja poziom:' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
not(hl7:text/hl7:paragraph[2]/hl7:caption[@ID='p1_stanPacjentaPodsumowanie_etykieta']='Podsumowanie/komentarz:') |
|
| |
Komunikat |
Sekcja TEXT musi zawierać element paragraph[2]/caption[1] z ID='p1_stanPacjentaPodsumowanie_etykieta'
mający wartość 'Podsumowanie/komentarz:' |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
hl7:text/text()[normalize-space()] |
|
| |
Komunikat |
Blok narracyjny (element text) zawiera nadmiarowe treści poza zdefiniowanymi elementami
HTML, są to: <value-of select="hl7:text/text()[normalize-space()]"/> |
|
| |
Schematron report |
rola |
error
|
|
| |
test |
hl7:text/*/text()[normalize-space()] |
|
| |
Komunikat |
Blok narracyjny (element text) zawiera nadmiarowe treści poza zdefiniowanymi elementami
HTML, są to: <value-of select="hl7:text/*/text()[normalize-space()]"/> |
|
| |
Schematron assert |
rola |
error
|
|
| |
test |
hl7:text/not(hl7:paragraph[3] or hl7:paragraph[1]/hl7:content[3] or hl7:paragraph[2]/hl7:content[2]
or hl7:table[1] or hl7:content[1] or hl7:list[1] or hl7:linkHtml[1] or hl7:br[1] or
hl7:renderMultiMedia[1] or hl7:footnote[1] or hl7:footnoteRef[1] or hl7:sup[1] or
hl7:sub[1])
|
|
| |
Komunikat |
Blok narracyjny (element text) zawiera nadmiarowe elementy względem definicji |
|