Publisher API Code Sets: Difference between revisions

From Discovery Data Service
Jump to navigation Jump to search
Line 841: Line 841:
|R
|R
|Re-admission
|Re-admission
|}
=== 0112-DischargeDisposition ===
{| class="wikitable"
!Code
!Description
|-
|3
|No Follow Up Required
|-
|2
|GP Follow Up
|-
|12
|Left Department Before Treatment
|-
|13
|Left Department - Refused Treatment
|-
|14
|Other
|-
|4
|Referred to AandE Clinic
|-
|6
|Referral to Outpatient Clinic
|-
|5
|Stillbirth
|-
|11
|Referred to Other Health Care Profession
|-
|7
|Transferred to Other Health Care Provide
|-
|10
|Died in Department
|-
|1
|Admitted as inpatient
|-
|8
|Not applicable
|-
|9
|Not known
|}
|}
=== 0113-DischargedToLocation ===
=== 0113-DischargedToLocation ===

Revision as of 10:21, 21 October 2021

This page details the various code sets that are supported by the DDS Publisher API. The majority of these code sets have previously been published by NHS Digital as part of the ITK HL7 V2 standard (version 1.1)

0001-AdministrativeSex

Code Description
0 Not Known
1 Male
2 Female
9 Not specified

0004-PatientClass

Code Description
B Obstetrics
C Commercial Account
E Emergency
I Inpatient
N Not Applicable
O Outpatient
P Preadmit
R Recurring patient
U Unknown
W Waiting List

0136-Yes/noIndicator

Code Description
Y Yes

0399-CountryCode

Code Description
1 England
10 Channel Islands
2 Scotland
3 Wales
4 Northern Ireland
7 Sark
9 Alderney
ABW Aruba
AFG Afghanistan
AGO Angola
AIA Anguilla
ALA Ã…land Islands
ALB Albania
AND Andorra
ARE United Arab Emirates
ARG Argentina
ARM Armenia
ASM American Samoa
ATA Antarctica
ATF French Southern Territories
ATG Antigua and Barbuda
AUS Australia
AUT Austria
AZE Azerbaijan
BDI Burundi
BEL Belgium
BEN Benin
BES Bonaire, Sint Eustatius and Saba
BFA Burkina Faso
BGD Bangladesh
BGR Bulgaria
BHR Bahrain
BHS Bahamas
BIH Bosnia and Herzegovina
BLM Saint Barthélemy
BLR Belarus
BLZ Belize
BMU Bermuda
BOL Bolivia, Plurinational State of
BRA Brazil
BRB Barbados
BRN Brunei Darussalam
BTN Bhutan
BVT Bouvet Island
BWA Botswana
CAF Central African Republic
CAN Canada
CCK Cocos (Keeling) Islands
CHE Switzerland
CHL Chile
CHN China
CIV Côte d'Ivoire
CMR Cameroon
COD Congo, the Democratic Republic of the
COG Congo
COK Cook Islands
COL Colombia
COM Comoros
CPV Cape Verde
CRI Costa Rica
CUB Cuba
CUW Curaçao
CXR Christmas Island
CYM Cayman Islands
CYP Cyprus
CZE Czech Republic
DEU Germany
DJI Djibouti
DMA Dominica
DNK Denmark
DOM Dominican Republic
DZA Algeria
ECU Ecuador
EGY Egypt
ERI Eritrea
ESH Western Sahara
ESP Spain
EST Estonia
ETH Ethiopia
FIN Finland
FJI Fiji
FLK Falkland Islands (Malvinas)
FRA France
FRO Faroe Islands
FSM Micronesia, Federated States of
GAB Gabon
GBR United Kingdom
GEO Georgia
GGY Guernsey
GHA Ghana
GIB Gibraltar
GIN Guinea
GLP Guadeloupe
GMB Gambia
GNB Guinea-Bissau
GNQ Equatorial Guinea
GRC Greece
GRD Grenada
GRL Greenland
GTM Guatemala
GUF French Guiana
GUM Guam
GUY Guyana
HKG Hong Kong
HMD Heard Island and McDonald Islands
HND Honduras
HRV Croatia
HTI Haiti
HUN Hungary
IDN Indonesia
IMN Isle of Man
IND India
IOT British Indian Ocean Territory
IRL Ireland
IRN Iran, Islamic Republic of
IRQ Iraq
ISL Iceland
ISR Israel
ITA Italy
JAM Jamaica
JEY Jersey
JOR Jordan
JPN Japan
KAZ Kazakhstan
KEN Kenya
KGZ Kyrgyzstan
KHM Cambodia
KIR Kiribati
KNA Saint Kitts and Nevis
KOR Korea, Republic of
KWT Kuwait
LAO Lao People's Democratic Republic
LBN Lebanon
LBR Liberia
LBY Libya
LCA Saint Lucia
LIE Liechtenstein
LKA Sri Lanka
LSO Lesotho
LTU Lithuania
LUX Luxembourg
LVA Latvia
MAC Macao
MAF Saint Martin (French part)
MAR Morocco
MCO Monaco
MDA Moldova, Republic of
MDG Madagascar
MDV Maldives
MEX Mexico
MHL Marshall Islands
MKD Macedonia, the former Yugoslav Republic of
MLI Mali
MLT Malta
MMR Myanmar
MNE Montenegro
MNG Mongolia
MNP Northern Mariana Islands
MOZ Mozambique
MRT Mauritania
MSR Montserrat
MTQ Martinique
MUS Mauritius
MWI Malawi
MYS Malaysia
MYT Mayotte
NAM Namibia
NCL New Caledonia
NER Niger
NFK Norfolk Island
NGA Nigeria
NIC Nicaragua
NIU Niue
NLD Netherlands
NOR Norway
NPL Nepal
NRU Nauru
NZL New Zealand
OMN Oman
PAK Pakistan
PAN Panama
PCN Pitcairn
PER Peru
PHL Philippines
PLW Palau
PNG Papua New Guinea
POL Poland
PRI Puerto Rico
PRK Korea, Democratic People's Republic of
PRT Portugal
PRY Paraguay
PSE Palestinian Territory, Occupied
PYF French Polynesia
QAT Qatar
REU Réunion
ROU Romania
RUS Russian Federation
RWA Rwanda
SAU Saudi Arabia
SDN Sudan
SEN Senegal
SGP Singapore
SGS South Georgia and the South Sandwich Islands
SHN Saint Helena, Ascension and Tristan da Cunha
SJM Svalbard and Jan Mayen
SLB Solomon Islands
SLE Sierra Leone
SLV El Salvador
SMR San Marino
SOM Somalia
SPM Saint Pierre and Miquelon
SRB Serbia
SSD South Sudan
STP Sao Tome and Principe
SUR Suriname
SVK Slovakia
SVN Slovenia
SWE Sweden
SWZ Swaziland
SXM Sint Maarten (Dutch part)
SYC Seychelles
SYR Syrian Arab Republic
TCA Turks and Caicos Islands
TCD Chad
TGO Togo
THA Thailand
TJK Tajikistan
TKL Tokelau
TKM Turkmenistan
TLS Timor-Leste
TON Tonga
TTO Trinidad and Tobago
TUN Tunisia
TUR Turkey
TUV Tuvalu
TWN Taiwan, Province of China
TZA Tanzania, United Republic of
UGA Uganda
UKR Ukraine
UMI United States Minor Outlying Islands
URY Uruguay
USA United States
UZB Uzbekistan
VAT Holy See (Vatican City State)
VCT Saint Vincent and the Grenadines
VEN Venezuela, Bolivarian Republic of
VGB Virgin Islands, British
VIR Virgin Islands, U.S.
VNM Viet Nam
VUT Vanuatu
WLF Wallis and Futuna
WSM Samoa
YEM Yemen
ZAF South Africa
ZMB Zambia
ZWE Zimbabwe

0092-Re-AdmissionIndicator

Code Description
R Re-admission

0113-DischargedToLocation

Code Description
19 Usual Place of Residence
29 Temporary Place of Residence
30 Repatriation from high security psychiatric accommodation in an NHS hospital provider (NHS trust)
37 Court
38 Penal establishment or police station
48 High Security Psychiatric Hospital Scotland
49 NHS other hospital provider - high security psychiatric accommodation
50 NHS other hospital provider - medium secure unit
51 NHS other hospital provider - ward for general patients or the younger physically disabled
52 NHS other hospital provider - ward for maternity patients or neonates
53 NHS other hospital provider - ward for patients who are mentally ill or have learning disabilities
54 NHS run care home
65 Local Authority residential accommodation ie where care is provided
66 Local Authority foster care
79 Not applicable - patient died or still birth
84 Non-NHS run hospital - medium secure unit
85 Non-NHS (other than Local Authority) run care home
87 Non-NHS run hospital
88 Non-NHS (other than Local Authority) run Hospice
98 Not applicable
99 Not known

0125-ValueType

Code Description
CE Coded Entry
ED Encapsulated Data
FT Formatted Text (Display)
NM Numeric
SN Structured Numeric
ST String Data.
TX Text Data (Display)

0127-AllergenType

Code Description
AA Animal Allergy
DA Drug allergy
EA Environmental Allergy
FA Food allergy
IC Inorganic Chemicals
IN Insects
IO Iodine
LA Pollen Allergy
MA Miscellaneous allergy
MC Miscellaneous contraindication
OC Organic Chemicals
PA Plant Allergy

0128-AllergySeverity

Code Description
0 Unknown
1 Insignificant/Minimal
3 Mild
5 Moderate
7 Moderate-Severe
9 Very Severe

0228-DiagnosisClassification

Code Description
C Consultation
D Diagnosis
I Invasive procedure not classified elsewhere (I.V., catheter, etc.)
M Medication (antibiotic)
O Other
R Radiological scheduling (not using ICDA codes)
S Sign and symptom
T Tissue diagnosis

DDS-HL7v2-EventType

Code Description
A28 ADT A28 - create patient record
A31 ADT A31 - update patient record
A40 ADT A40 - merge patient records
A05 ADT A05 - pre-admit a patient
A38 ADT A38 - cancel a pre-admit
A01 ADT A01 - admit a patient
A11 ADT A11 - cancel admit
A02 ADT A02 - transfer a patient
A12 ADT A12 - cancel transfer
A03 ADT A03 - discharge a patient
A13 ADT A13 - cancel discharge
R01 ORU R01 - send observations

DDS-HL7v2-MessageType

Code Description
ADT ADT message
ORU ORU message
ACK General acknowledgment message

DDS-HL7v2-AckCode

Code Description
AA Application Accept
AE Application Error
AR Application Reject

0062-EventReason

Code Description
01 Patient request
02 Physician/health practitioner order
03 Census management

DDS-ResultStatus

Code Description
C Correction to results
F Final results; results stored and verified. Can only be changed with a corrected result.

NHSEOrganisationRole

0074-DiagnosticServiceSectionID

HL7v3-EncounterType

FHIR-ProcedureCode

[TODO - is this the right valueset to use?]