urinalysis

Qualitative and semi-quantitative test array using reagent test strips to indicate possible abnormalities in a sample of urine, often performed as part of Point of Care Testing (P…

Qualitative and semi-quantitative test array using reagent test strips to indicate possible abnormalities in a sample of urine, often performed as part of Point of Care Testing (POCT).

Purpose. To record the results of a qualitative and semi-quantitative test array using reagent test strips to indicate possible abnormalities in a sample of urine.

Source

ModelLegRole
openEHR-EHR-OBSERVATION.urinalysis.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
form_iduuidformnoThe form this entry was recorded on.
form_block_iduuidyesThe block within the form, when the entry is bound to one.
glucose
glucose_code
glucose_system
glucose_numeric
glucose_valueset_id
coded text
text, text, text, numeric, text
yesGlucose/data[at0001]/events[at0002]/data[at0003]/items[at0050]
bilirubin
bilirubin_code
bilirubin_system
bilirubin_numeric
bilirubin_valueset_id
coded text
text, text, text, numeric, text
yesBilirubin/data[at0001]/events[at0002]/data[at0003]/items[at0062]
ketones
ketones_code
ketones_system
ketones_numeric
ketones_valueset_id
coded text
text, text, text, numeric, text
yesKetones/data[at0001]/events[at0002]/data[at0003]/items[at0037]
specific_gravity
specific_gravity_code
specific_gravity_system
specific_gravity_numeric
specific_gravity_valueset_id
coded text
text, text, text, numeric, text
yesSpecific gravity/data[at0001]/events[at0002]/data[at0003]/items[at0151]
blood
blood_code
blood_system
blood_numeric
blood_valueset_id
coded text
text, text, text, numeric, text
yesBlood/data[at0001]/events[at0002]/data[at0003]/items[at0032]
p_h
p_h_code
p_h_system
p_h_numeric
p_h_valueset_id
coded text
text, text, text, numeric, text
yespH/data[at0001]/events[at0002]/data[at0003]/items[at0126]
protein
protein_code
protein_system
protein_numeric
protein_valueset_id
coded text
text, text, text, numeric, text
yesProtein/data[at0001]/events[at0002]/data[at0003]/items[at0095]
urobilinogen
urobilinogen_code
urobilinogen_system
urobilinogen_numeric
urobilinogen_valueset_id
coded text
text, text, text, numeric, text
yesUrobilinogen/data[at0001]/events[at0002]/data[at0003]/items[at0056]
nitrite
nitrite_code
nitrite_system
nitrite_numeric
nitrite_valueset_id
coded text
text, text, text, numeric, text
yesNitrite/data[at0001]/events[at0002]/data[at0003]/items[at0043]
leukocytes
leukocytes_code
leukocytes_system
leukocytes_numeric
leukocytes_valueset_id
coded text
text, text, text, numeric, text
yesLeukocytes/data[at0001]/events[at0002]/data[at0003]/items[at0068]
clinical_interpretation
clinical_interpretation_code
clinical_interpretation_system
clinical_interpretation_valueset_id
coded text
text, text, text, text
yesClinical interpretation/data[at0001]/events[at0002]/data[at0003]/items[at0181]
commenttextyesComment/data[at0001]/events[at0002]/data[at0003]/items[at0030]
reagent_stripsuuidyesReagent Strips/protocol[at0079]/items[at0180]
method
method_code
method_system
method_valueset_id
coded text
text, text, text, text
yesMethod/protocol[at0079]/items[at0186]
deviceuuidyesDevice/protocol[at0079]/items[at0183]

Constraints

check ((glucose_code is null and glucose_system is null and glucose_numeric is null and glucose is null) or (glucose_valueset_id is not null and glucose_code is not null and glucose_system is not null and glucose_numeric is not null and glucose is not null))
check ((bilirubin_code is null and bilirubin_system is null and bilirubin_numeric is null and bilirubin is null) or (bilirubin_valueset_id is not null and bilirubin_code is not null and bilirubin_system is not null and bilirubin_numeric is not null and bilirubin is not null))
check ((ketones_code is null and ketones_system is null and ketones_numeric is null and ketones is null) or (ketones_valueset_id is not null and ketones_code is not null and ketones_system is not null and ketones_numeric is not null and ketones is not null))
check ((specific_gravity_code is null and specific_gravity_system is null and specific_gravity_numeric is null and specific_gravity is null) or (specific_gravity_valueset_id is not null and specific_gravity_code is not null and specific_gravity_system is not null and specific_gravity_numeric is not null and specific_gravity is not null))
check ((blood_code is null and blood_system is null and blood_numeric is null and blood is null) or (blood_valueset_id is not null and blood_code is not null and blood_system is not null and blood_numeric is not null and blood is not null))
check ((p_h_code is null and p_h_system is null and p_h_numeric is null and p_h is null) or (p_h_valueset_id is not null and p_h_code is not null and p_h_system is not null and p_h_numeric is not null and p_h is not null))
check ((protein_code is null and protein_system is null and protein_numeric is null and protein is null) or (protein_valueset_id is not null and protein_code is not null and protein_system is not null and protein_numeric is not null and protein is not null))
check ((urobilinogen_code is null and urobilinogen_system is null and urobilinogen_numeric is null and urobilinogen is null) or (urobilinogen_valueset_id is not null and urobilinogen_code is not null and urobilinogen_system is not null and urobilinogen_numeric is not null and urobilinogen is not null))
check ((nitrite_code is null and nitrite_system is null and nitrite_numeric is null and nitrite is null) or (nitrite_valueset_id is not null and nitrite_code is not null and nitrite_system is not null and nitrite_numeric is not null and nitrite is not null))
check ((leukocytes_code is null and leukocytes_system is null and leukocytes_numeric is null and leukocytes is null) or (leukocytes_valueset_id is not null and leukocytes_code is not null and leukocytes_system is not null and leukocytes_numeric is not null and leukocytes is not null))
check ((clinical_interpretation_code is null and clinical_interpretation_system is null and clinical_interpretation_valueset_id is null) or (clinical_interpretation is not null and clinical_interpretation_code is not null and clinical_interpretation_system is not null and clinical_interpretation_valueset_id is not null))
check ((method_code is null and method_system is null and method_valueset_id is null and method is null) or (method is not null and method_code is not null and method_system is not null and method_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
glucose_valueset_id, glucose_code, glucose_system, glucose, glucose_numericvalueset_coderestrict
bilirubin_valueset_id, bilirubin_code, bilirubin_system, bilirubin, bilirubin_numericvalueset_coderestrict
ketones_valueset_id, ketones_code, ketones_system, ketones, ketones_numericvalueset_coderestrict
specific_gravity_valueset_id, specific_gravity_code, specific_gravity_system, specific_gravity, specific_gravity_numericvalueset_coderestrict
blood_valueset_id, blood_code, blood_system, blood, blood_numericvalueset_coderestrict
p_h_valueset_id, p_h_code, p_h_system, p_h, p_h_numericvalueset_coderestrict
protein_valueset_id, protein_code, protein_system, protein, protein_numericvalueset_coderestrict
urobilinogen_valueset_id, urobilinogen_code, urobilinogen_system, urobilinogen, urobilinogen_numericvalueset_coderestrict
nitrite_valueset_id, nitrite_code, nitrite_system, nitrite, nitrite_numericvalueset_coderestrict
leukocytes_valueset_id, leukocytes_code, leukocytes_system, leukocytes, leukocytes_numericvalueset_coderestrict
clinical_interpretation_valueset_id, clinical_interpretation_code, clinical_interpretation_system, clinical_interpretationvalueset_coderestrict
method_valueset_id, method_code, method_system, methodvalueset_coderestrict
reagent_stripsdeviceno action
devicedeviceno action

Referenced by

Indexes

Child tables

1 table hang off urinalysis, one row per repetition.

urinalysis_exam_not_done

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
urinalysis_iduuidurinalysisno
positionintegernoOrder of this row within its parent, from zero.
exclusion_exam_iduuidnoExam not done/data[at0001]/events[at0002]/data[at0003]/items[at0185]

Unique

References

ColumnsTargetOn delete
urinalysis_idurinalysiscascade
exclusion_exam_idexclusion_examno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/bilirubin4
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/blood7
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/glucose6
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/ketones6
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/leukocytes5
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/method2
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/nitrite2
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/p_h11
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/protein6
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/specific_gravity7
org.openehr::openEHR-EHR-OBSERVATION.urinalysis.v1/urobilinogen5