Data Model

This Data Model is currently in draft.

Overview

This data model is intended to provide a high level overview of what a PKB medical record looks like. Rather than trying to show the entire model in one diagram, partial illustrations are given below that each take one topic as their focus.

Entities

Data Types

Name

Description

String

A textual value.

Local Date

A date. It contains no time information, and time zone processing is not applied.

Timestamp

A point in time with both date and time information. The point in time is evaluated within a time zone, and hence can be meaningfully displayed in an alternative time zone.

Number

A numerical value that can have a real value, i.e. not necessarily an integer.

Enum

A value that can only contain one of a predefined enumeration of values.

Boolean

A value that is either true or false.

Binary

Raw data. For example, the contents of an uploaded file.

Ref

A value which references an attribute in another entity. The data type will match that of the referenced attribute.

Coding

A compound value. Consists of:

  • Code

  • Code System

  • Display Text

CodeableConcept

A compound value. Consists of:

  • Display Text

  • 0 or more Coding attributes

Identifier

A compound value. Consists of:

  • System

  • Value