Skip to main content

MedicalDevice

@icure/medical-device-sdk / MedicalDevice

Class: MedicalDevice

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MedicalDevice(json)

Parameters

NameType
jsonIMedicalDevice

Defined in

src/models/MedicalDevice.ts:23

Properties

author

Optional author: string

The id of the [User] that created this medical device. When creating the device, this field will be filled automatically by the current user id if not provided.

Defined in

src/models/MedicalDevice.ts:66


brand

Optional brand: string

Brand of the device recording the data

Defined in

src/models/MedicalDevice.ts:98


codes

codes: Set<CodingReference>

A code is an item from a codification system that qualifies the content of this medical device. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes

Defined in

src/models/MedicalDevice.ts:78


created

Optional created: number

the creation date of the medical device (encoded as epoch).

Defined in

src/models/MedicalDevice.ts:58


deletionDate

Optional deletionDate: number

the soft delete timestamp. When a medical device is ”deleted“, this is set to a non null value: the moment of the deletion

Defined in

src/models/MedicalDevice.ts:50


endOfLife

Optional endOfLife: number

Soft delete (unix epoch in ms) timestamp of the medical device

Defined in

src/models/MedicalDevice.ts:82


externalId

Optional externalId: string

An external (from another source) id with no guarantee or requirement for unicity.

Defined in

src/models/MedicalDevice.ts:86


id

Optional id: string

The Id of the MedicalDevice. We encourage using either a v4 UUID or a HL7 Id.

Defined in

src/models/MedicalDevice.ts:42


identifiers

identifiers: Identifier[]

Typically used for business / client identifiers. An identifier should identify a device uniquely and unambiguously. However, iCure can't guarantee the uniqueness of those identifiers : This is something you need to take care of.

Defined in

src/models/MedicalDevice.ts:54


labels

labels: Set<CodingReference>

A label is an item from a codification system that qualifies a medical device as being member of a certain class, whatever the value it might have taken. If the label qualifies the content of a field, it means that whatever the content of the field, the label will always apply. LOINC is a codification system typically used for labels.

Defined in

src/models/MedicalDevice.ts:74


model

Optional model: string

Model of the device recording the data

Defined in

src/models/MedicalDevice.ts:102


modified

Optional modified: number

the last modification date of the medical device (encoded as epoch).

Defined in

src/models/MedicalDevice.ts:62


name

Optional name: string

Name of the device/application recording the data

Defined in

src/models/MedicalDevice.ts:90


parentId

Optional parentId: string

Defined in

src/models/MedicalDevice.ts:107


picture

Optional picture: ArrayBuffer

Picture of the device/application

Defined in

src/models/MedicalDevice.ts:111


properties

properties: Set<Property>

Defined in

src/models/MedicalDevice.ts:112


responsible

Optional responsible: string

The id of the data owner that is responsible of this medical device. When creating the medical device, will be filled automatically by the current user data owner id ([HealthcareProfessional], [Patient] or [MedicalDevice]) if missing

Defined in

src/models/MedicalDevice.ts:70


rev

Optional rev: string

the revision of the medical device in the database, used for conflict management / optimistic locking.

Defined in

src/models/MedicalDevice.ts:46


serialNumber

Optional serialNumber: string

Serial number of the device recording the data

Defined in

src/models/MedicalDevice.ts:106


systemMetaData

Optional systemMetaData: SystemMetaDataOwner

Defined in

src/models/MedicalDevice.ts:113


type

Optional type: string

Type of device/application recording the data. (eg. \"smartphone\", \"watch\",...)

Defined in

src/models/MedicalDevice.ts:94

Methods

marshal

marshal(): IMedicalDevice

Returns

IMedicalDevice

Defined in

src/models/MedicalDevice.ts:115