ЕСОЗ - публічна документація

Pharmacy Data Model

Entities (tables)

Legal entity

This entity defines Legal entity information structure

NameTypeM/ODescription and constraints
name stringM
short_name stringO
public_name stringO
type Dictionary: LEGAL_ENTITY_TYPEM
edrpou stringM
addresses Address: jsonb[]M
phones Phone: jsonb[]O
emailstringO
inserted_at timestampM
inserted_by uuidM
updated_at timestampM

Сделать Mandatory

updated_by uuidM
is_activebooleanM
kveds array: Dictionary: KVEDSM
status Dictionary: LEGAL_ENTITY_STATUSM
owner_property_type Dictionary: OWNER_PROPERTY_TYPEM
legal_form Dictionary: LEGAL_FORMM
created_via_mis_client_id uuid M
nhs_verified boolean M
mis_verified Dictionary: ?????M

Не нашел справочник

Contract_infostring ???O

Восстановить атрибут в erd ( в БД остался)

Medical service provider

This entity defines Legal entity extended information structure

NameTypeM/ODescription and constraints
accreditation Accreditation: jsonbM
licenses License: jsonb[]O
inserted_at timestamp M
updated_at timestamp M
legal_entity_id uuid M

Division

This entity defines division structure

Нема ЄДРПОУ. Підрозділи що мають ЄДРПОУ мають бути внесені у [legal_entities]

file: eHealth_HL7 Compare erd


NameTypeM/ODescription and constraints
namestringM

+include "номер відокремленого підрозділу"

file: eHealth_HL7 Compare erd

addressesAddress: jsonbM
external_id stringO
phones stringM
email stringM
mountain_group stringO
type Dictionary: DIVISION_TYPEM
statusDictionary: ?????M

Не нашел справочник

is_active boolean M
inserted_at timestamp M
updated_attimestamp M
location geometryO


Data structures

License

This data type defines medical license structure

NameTypeM/ODescription and constraints
license_numberstringM

+include "серія (optional)"

file: eHealth_HL7 Compare erd

issued_bystringM
issued_datestringM
expiry_datestringO
active_from_datestringM
what_licensedstringO

Accreditation

This data type defines medical accreditation structure

NameTypeM/ODescription and constraints
categoryDictionary: ACCREDITATION_CATEGORYM
issued_datestringO
expiry_datestringO
order_nostringM
order_datestringM
sertificate_nostringM

номер сертифікату акредитації

file: eHealth_HL7 Compare erd

issued_bystringO

назва органу, що видав

file: eHealth_HL7 Compare erd


ЕСОЗ - публічна документація