Code::SNOMED()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
/**
3
 * The MIT License
4
 *
5
 * Copyright 2016 julien.
6
 *
7
 * Permission is hereby granted, free of charge, to any person obtaining a copy
8
 * of this software and associated documentation files (the "Software"), to deal
9
 * in the Software without restriction, including without limitation the rights
10
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
 * copies of the Software, and to permit persons to whom the Software is
12
 * furnished to do so, subject to the following conditions:
13
 *
14
 * The above copyright notice and this permission notice shall be included in
15
 * all copies or substantial portions of the Software.
16
 *
17
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
 * FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
20
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
 * THE SOFTWARE.
24
 */
25
26
namespace i3Soft\CDA\Elements;
27
28
use i3Soft\CDA\DataType\Code\CodedValue;
29
use i3Soft\CDA\Interfaces\XSITypeInterface;
30
use i3Soft\CDA\Traits\CodedValueTrait;
31
use i3Soft\CDA\Traits\OriginalTextTrait;
32
use i3Soft\CDA\Traits\TranslationTrait;
33
use i3Soft\CDA\Traits\XSITypeTrait;
34
35
/**
36
 * Description of Code
37
 *
38
 * @author julien
39
 */
40
class Code extends AbstractElement implements XSITypeInterface
41
{
42
  use OriginalTextTrait;
43
  use CodedValueTrait;
44
  use TranslationTrait;
45
  use XSITypeTrait;
46
47
  const OCCUPATION_DISPLAY_NAME = '1220.0 - ANZSCO -- Australian and New Zealand Standard Classification of Occupations, 2013, Version 1.2';
48
  const OCCUPATION_CODE_SYSTEM  = '2.16.840.1.113883.13.62';
49
50
  /**
51
   * Code constructor.
52
   *
53
   * @param CodedValue $codedValue
54
   */
55
  public function __construct ($codedValue = NULL)
56
  {
57
    $this->setXSIType('');
58
    if ($codedValue instanceof CodedValue)
59
    {
60
      $this->setCodedValue($codedValue);
61
    }
62
  }
63
64
  /** @noinspection ReturnTypeCanBeDeclaredInspection */
65
66
  /**
67
   * @param string $code
68
   * @param string $displayName
69
   *
70
   * @return self
71
   */
72
  public static function NCTIS (string $code, string $displayName)
73
  {
74
    return new self(new CodedValue($code, $displayName, '1.2.36.1.2001.1001.101', 'NCTIS Data Components'));
75
  }
76
77
  /** @noinspection ReturnTypeCanBeDeclaredInspection */
78
79
  /**
80
   * @param string $code
81
   * @param string $displayName
82
   *
83
   * @return self
84
   */
85
  public static function SNOMED (string $code, string $displayName)
86
  {
87
    return new self(new CodedValue($code, $displayName, '2.16.840.1.113883.6.96', 'SNOMED CT'));
88
  }
89
90
  /** @noinspection ReturnTypeCanBeDeclaredInspection */
91
92
  /**
93
   * @param string $code
94
   * @param string $displayName
95
   *
96
   * @return self
97
   */
98
  public static function LOINC (string $code, string $displayName)
99
  {
100
    return new self(new CodedValue($code, $displayName, '2.16.840.1.113883.6.1', 'LOINC'));
101
  }
102
103
  public static function ICD10AM (string $code, string $displayName)
104
  {
105
    return new self(new CodedValue($code, $displayName, '2.16.840.1.113883.6.135', 'ICD10AM'));
106
  }
107
108
  public static function Occupation (int $code = 0): Code
109
  {
110
    $profession = self::get_profession($code);
111
    return new self(new CodedValue($code, $profession, self::OCCUPATION_CODE_SYSTEM, self::OCCUPATION_DISPLAY_NAME));
112
  }
113
114
  /**
115
   * @param $code
116
   *
117
   * @return string
118
   */
119
  protected static function get_profession ($code): string
120
  {
121
    $professions = array(
122
      111111 => 'Chief Executive or Managing Director',
123
      111211 => 'Corporate General Manager',
124
      111212 => 'Defence Force Senior Officer',
125
      111311 => 'Local Government Legislator',
126
      111312 => 'Member of Parliament',
127
      111399 => 'Legislators nec',
128
      121111 => 'Aquaculture Farmer',
129
      121211 => 'Cotton Grower',
130
      121212 => 'Flower Grower',
131
      121213 => 'Fruit or Nut Grower',
132
      121214 => 'Grain, Oilseed or Pasture Grower (Aus)',
133
      121215 => 'Grape Grower',
134
      121216 => 'Mixed Crop Farmer',
135
      121217 => 'Sugar Cane Grower',
136
      121218 => 'Turf Grower',
137
      121221 => 'Vegetable Grower (Aus)',
138
      121299 => 'Crop Farmers nec',
139
      121311 => 'Apiarist',
140
      121312 => 'Beef Cattle Farmer',
141
      121313 => 'Dairy Cattle Farmer',
142
      121314 => 'Deer Farmer',
143
      121315 => 'Goat Farmer',
144
      121316 => 'Horse Breeder',
145
      121317 => 'Mixed Livestock Farmer',
146
      121318 => 'Pig Farmer',
147
      121321 => 'Poultry Farmer',
148
      121322 => 'Sheep Farmer',
149
      121399 => 'Livestock Farmers nec',
150
      121411 => 'Mixed Crop and Livestock Farmer',
151
      131112 => 'Sales and Marketing Manager',
152
      131113 => 'Advertising Manager',
153
      131114 => 'Public Relations Manager',
154
      132111 => 'Corporate Services Manager',
155
      132211 => 'Finance Manager',
156
      132311 => 'Human Resource Manager',
157
      132411 => 'Policy and Planning Manager',
158
      132511 => 'Research and Development Manager',
159
      133111 => 'Construction Project Manager',
160
      133112 => 'Project Builder',
161
      133211 => 'Engineering Manager',
162
      133311 => 'Importer or Exporter',
163
      133312 => 'Wholesaler',
164
      133411 => 'Manufacturer',
165
      133511 => 'Production Manager (Forestry)',
166
      133512 => 'Production Manager (Manufacturing)',
167
      133513 => 'Production Manager (Mining)',
168
      133611 => 'Supply and Distribution Manager',
169
      133612 => 'Procurement Manager',
170
      134111 => 'Child Care Centre Manager',
171
      134211 => 'Medical Administrator (Aus)',
172
      134212 => 'Nursing Clinical Director',
173
      134213 => 'Primary Health Organisation Manager',
174
      134214 => 'Welfare Centre Manager',
175
      134299 => 'Health and Welfare Services Managers nec',
176
      134311 => 'School Principal',
177
      134411 => 'Faculty Head',
178
      134412 => 'Regional Education Manager',
179
      134499 => 'Education Managers nec',
180
      135111 => 'Chief Information Officer',
181
      135112 => 'ICT Project Manager',
182
      135199 => 'ICT Managers nec',
183
      139111 => 'Commissioned Defence Force Officer',
184
      139112 => 'Commissioned Fire Officer',
185
      139113 => 'Commissioned Police Officer',
186
      139211 => 'Senior Non-commissioned Defence Force Member',
187
      139911 => 'Arts Administrator or Manager',
188
      139912 => 'Environmental Manager',
189
      139913 => 'Laboratory Manager',
190
      139914 => 'Quality Assurance Manager',
191
      139915 => 'Sports Administrator',
192
      139999 => 'Specialist Managers nec',
193
      141111 => 'Cafe or Restaurant Manager',
194
      141211 => 'Caravan Park and Camping Ground Manager',
195
      141311 => 'Hotel or Motel Manager',
196
      141411 => 'Licensed Club Manager',
197
      141911 => 'Bed and Breakfast Operator',
198
      141912 => 'Retirement Village Manager',
199
      141999 => 'Accommodation and Hospitality Managers nec',
200
      142111 => 'Retail Manager (General)',
201
      142112 => 'Antique Dealer',
202
      142113 => 'Betting Agency Manager',
203
      142114 => 'Hair or Beauty Salon Manager',
204
      142115 => 'Post Office Manager',
205
      142116 => 'Travel Agency Manager',
206
      149111 => 'Amusement Centre Manager',
207
      149112 => 'Fitness Centre Manager',
208
      149113 => 'Sports Centre Manager',
209
      149211 => 'Call or Contact Centre Manager',
210
      149212 => 'Customer Service Manager',
211
      149311 => 'Conference and Event Organiser',
212
      149411 => 'Fleet Manager',
213
      149412 => 'Railway Station Manager',
214
      149413 => 'Transport Company Manager',
215
      149911 => 'Boarding Kennel or Cattery Operator',
216
      149912 => 'Cinema or Theatre Manager',
217
      149913 => 'Facilities Manager',
218
      149914 => 'Financial Institution Branch Manager',
219
      149915 => 'Equipment Hire Manager',
220
      149999 => 'Hospitality, Retail and Service Managers nec',
221
      211111 => 'Actor',
222
      211112 => 'Dancer or Choreographer',
223
      211113 => 'Entertainer or Variety Artist',
224
      211199 => 'Actors, Dancers and Other Entertainers nec',
225
      211211 => 'Composer',
226
      211212 => 'Music Director',
227
      211213 => 'Musician (Instrumental)',
228
      211214 => 'Singer',
229
      211299 => 'Music Professionals nec',
230
      211311 => 'Photographer',
231
      211411 => 'Painter (Visual Arts)',
232
      211412 => 'Potter or Ceramic Artist',
233
      211413 => 'Sculptor',
234
      211499 => 'Visual Arts and Crafts Professionals nec',
235
      212111 => 'Artistic Director',
236
      212112 => 'Media Producer (excluding Video)',
237
      212113 => 'Radio Presenter',
238
      212114 => 'Television Presenter',
239
      212211 => 'Author',
240
      212212 => 'Book or Script Editor',
241
      212311 => 'Art Director (Film, Television or Stage)',
242
      212312 => 'Director (Film, Television, Radio or Stage)',
243
      212313 => 'Director of Photography',
244
      212314 => 'Film and Video Editor',
245
      212315 => 'Program Director (Television or Radio)',
246
      212316 => 'Stage Manager',
247
      212317 => 'Technical Director',
248
      212318 => 'Video Producer',
249
      212399 => 'Film, Television, Radio and Stage Directors nec',
250
      212411 => 'Copywriter',
251
      212412 => 'Newspaper or Periodical Editor',
252
      212413 => 'Print Journalist',
253
      212414 => 'Radio Journalist',
254
      212415 => 'Technical Writer',
255
      212416 => 'Television Journalist',
256
      212499 => 'Journalists and Other Writers nec',
257
      221111 => 'Accountant (General)',
258
      221112 => 'Management Accountant',
259
      221113 => 'Taxation Accountant',
260
      221211 => 'Company Secretary',
261
      221212 => 'Corporate Treasurer',
262
      221213 => 'External Auditor',
263
      221214 => 'Internal Auditor',
264
      222111 => 'Commodities Trader',
265
      222112 => 'Finance Broker',
266
      222113 => 'Insurance Broker',
267
      222199 => 'Financial Brokers nec',
268
      222211 => 'Financial Market Dealer',
269
      222212 => 'Futures Trader',
270
      222213 => 'Stockbroking Dealer',
271
      222299 => 'Financial Dealers nec',
272
      222311 => 'Financial Investment Adviser',
273
      222312 => 'Financial Investment Manager',
274
      223111 => 'Human Resource Adviser',
275
      223112 => 'Recruitment Consultant',
276
      223113 => 'Workplace Relations Adviser',
277
      223211 => 'ICT Trainer',
278
      223311 => 'Training and Development Professional',
279
      224111 => 'Actuary',
280
      224112 => 'Mathematician',
281
      224113 => 'Statistician',
282
      224211 => 'Archivist',
283
      224212 => 'Gallery or Museum Curator',
284
      224213 => 'Health Information Manager',
285
      224214 => 'Records Manager',
286
      224311 => 'Economist',
287
      224411 => 'Intelligence Officer',
288
      224412 => 'Policy Analyst',
289
      224511 => 'Land Economist',
290
      224512 => 'Valuer',
291
      224611 => 'Librarian',
292
      224711 => 'Management Consultant',
293
      224712 => 'Organisation and Methods Analyst',
294
      224911 => 'Electorate Officer',
295
      224912 => 'Liaison Officer',
296
      224913 => 'Migration Agent (Aus)',
297
      224914 => 'Patents Examiner',
298
      224999 => 'Information and Organisation Professionals nec',
299
      225111 => 'Advertising Specialist',
300
      225112 => 'Market Research Analyst',
301
      225113 => 'Marketing Specialist',
302
      225211 => 'ICT Account Manager',
303
      225212 => 'ICT Business Development Manager',
304
      225213 => 'ICT Sales Representative',
305
      225311 => 'Public Relations Professional',
306
      225411 => 'Sales Representative (Industrial Products)',
307
      225412 => 'Sales Representative (Medical and Pharmaceutical Products)',
308
      225499 => 'Technical Sales Representatives nec',
309
      231111 => 'Aeroplane Pilot',
310
      231112 => 'Air Traffic Controller',
311
      231113 => 'Flying Instructor',
312
      231114 => 'Helicopter Pilot',
313
      231199 => 'Air Transport Professionals nec',
314
      231211 => 'Master Fisher',
315
      231212 => 'Ship\'s Engineer',
316
      231213 => 'Ship\'s Master',
317
      231214 => 'Ship\'s Officer',
318
      231215 => 'Marine Surveyor',
319
      231299 => 'Marine Transport Professionals nec',
320
      232111 => 'Architect',
321
      232112 => 'Landscape Architect',
322
      232212 => 'Surveyor',
323
      232213 => 'Cartographer',
324
      232214 => 'Other Spatial Scientist',
325
      232311 => 'Fashion Designer',
326
      232312 => 'Industrial Designer',
327
      232313 => 'Jewellery Designer',
328
      232411 => 'Graphic Designer',
329
      232412 => 'Illustrator',
330
      232413 => 'Multimedia Designer',
331
      232414 => 'Web Designer',
332
      232511 => 'Interior Designer',
333
      232611 => 'Urban and Regional Planner',
334
      233111 => 'Chemical Engineer',
335
      233112 => 'Materials Engineer',
336
      233211 => 'Civil Engineer',
337
      233212 => 'Geotechnical Engineer',
338
      233213 => 'Quantity Surveyor',
339
      233214 => 'Structural Engineer',
340
      233215 => 'Transport Engineer',
341
      233311 => 'Electrical Engineer',
342
      233411 => 'Electronics Engineer',
343
      233511 => 'Industrial Engineer',
344
      233512 => 'Mechanical Engineer',
345
      233513 => 'Production or Plant Engineer',
346
      233611 => 'Mining Engineer (excluding Petroleum)',
347
      233612 => 'Petroleum Engineer',
348
      233911 => 'Aeronautical Engineer',
349
      233912 => 'Agricultural Engineer',
350
      233913 => 'Biomedical Engineer',
351
      233914 => 'Engineering Technologist',
352
      233915 => 'Environmental Engineer',
353
      233916 => 'Naval Architect (Aus)',
354
      233999 => 'Engineering Professionals nec',
355
      234111 => 'Agricultural Consultant',
356
      234112 => 'Agricultural Scientist',
357
      234113 => 'Forester (Aus)',
358
      234211 => 'Chemist',
359
      234212 => 'Food Technologist',
360
      234213 => 'Wine Maker',
361
      234311 => 'Conservation Officer',
362
      234312 => 'Environmental Consultant',
363
      234313 => 'Environmental Research Scientist',
364
      234314 => 'Park Ranger',
365
      234399 => 'Environmental Scientists nec',
366
      234411 => 'Geologist',
367
      234412 => 'Geophysicist',
368
      234413 => 'Hydrogeologist',
369
      234511 => 'Life Scientist (General)',
370
      234513 => 'Biochemist',
371
      234514 => 'Biotechnologist',
372
      234515 => 'Botanist',
373
      234516 => 'Marine Biologist',
374
      234517 => 'Microbiologist',
375
      234518 => 'Zoologist',
376
      234599 => 'Life Scientists nec',
377
      234611 => 'Medical Laboratory Scientist',
378
      234711 => 'Veterinarian',
379
      234911 => 'Conservator',
380
      234912 => 'Metallurgist',
381
      234913 => 'Meteorologist',
382
      234914 => 'Physicist',
383
      234915 => 'Exercise Physiologist',
384
      234999 => 'Natural and Physical Science Professionals nec',
385
      241111 => 'Early Childhood (Pre-primary School) Teacher',
386
      241112 => 'Kaiako Kohanga Reo (Maori Language Nest Teacher)',
387
      241211 => 'Kaiako Kura Kaupapa Maori (Maori-medium Primary School Teacher)',
388
      241212 => 'Pouako Kura Kaupapa Maori (Maori-medium Primary School Senior Teacher)',
389
      241213 => 'Primary School Teacher',
390
      241311 => 'Middle School Teacher (Aus)',
391
      241411 => 'Secondary School Teacher',
392
      241511 => 'Special Needs Teacher',
393
      241512 => 'Teacher of the Hearing Impaired',
394
      241513 => 'Teacher of the Sight Impaired',
395
      241599 => 'Special Education Teachers nec',
396
      242111 => 'University Lecturer',
397
      242112 => 'University Tutor',
398
      242211 => 'Vocational Education Teacher (Aus)',
399
      249111 => 'Education Adviser',
400
      249112 => 'Education Reviewer',
401
      249211 => 'Art Teacher (Private Tuition)',
402
      249212 => 'Dance Teacher (Private Tuition)',
403
      249213 => 'Drama Teacher (Private Tuition)',
404
      249214 => 'Music Teacher (Private Tuition)',
405
      249299 => 'Private Tutors and Teachers nec',
406
      249311 => 'Teacher of English to Speakers of Other Languages',
407
      251111 => 'Dietitian',
408
      251112 => 'Nutritionist',
409
      251211 => 'Medical Diagnostic Radiographer',
410
      251212 => 'Medical Radiation Therapist',
411
      251213 => 'Nuclear Medicine Technologist',
412
      251214 => 'Sonographer',
413
      251311 => 'Environmental Health Officer',
414
      251312 => 'Occupational Health and Safety Adviser',
415
      251411 => 'Optometrist',
416
      251412 => 'Orthoptist',
417
      251511 => 'Hospital Pharmacist',
418
      251512 => 'Industrial Pharmacist',
419
      251513 => 'Retail Pharmacist',
420
      251911 => 'Health Promotion Officer',
421
      251912 => 'Orthotist or Prosthetist',
422
      251999 => 'Health Diagnostic and Promotion Professionals nec',
423
      252111 => 'Chiropractor',
424
      252112 => 'Osteopath',
425
      252211 => 'Acupuncturist',
426
      252212 => 'Homoeopath',
427
      252213 => 'Naturopath',
428
      252214 => 'Traditional Chinese Medicine Practitioner',
429
      252215 => 'Traditional Maori Health Practitioner',
430
      252299 => 'Complementary Health Therapists nec',
431
      252311 => 'Dental Specialist',
432
      252312 => 'Dentist',
433
      252411 => 'Occupational Therapist',
434
      252511 => 'Physiotherapist',
435
      252611 => 'Podiatrist',
436
      252711 => 'Audiologist',
437
      252712 => 'Speech Pathologist (Aus)',
438
      253111 => 'General Practitioner',
439
      253112 => 'Resident Medical Officer',
440
      253211 => 'Anaesthetist',
441
      253311 => 'Specialist Physician (General Medicine)',
442
      253312 => 'Cardiologist',
443
      253313 => 'Clinical Haematologist',
444
      253314 => 'Medical Oncologist',
445
      253315 => 'Endocrinologist',
446
      253316 => 'Gastroenterologist',
447
      253317 => 'Intensive Care Specialist',
448
      253318 => 'Neurologist',
449
      253321 => 'Paediatrician',
450
      253322 => 'Renal Medicine Specialist',
451
      253323 => 'Rheumatologist',
452
      253324 => 'Thoracic Medicine Specialist',
453
      253399 => 'Specialist Physicians nec',
454
      253411 => 'Psychiatrist',
455
      253511 => 'Surgeon (General)',
456
      253512 => 'Cardiothoracic Surgeon',
457
      253513 => 'Neurosurgeon',
458
      253514 => 'Orthopaedic Surgeon',
459
      253515 => 'Otorhinolaryngologist',
460
      253516 => 'Paediatric Surgeon',
461
      253517 => 'Plastic and Reconstructive Surgeon',
462
      253518 => 'Urologist',
463
      253521 => 'Vascular Surgeon',
464
      253911 => 'Dermatologist',
465
      253912 => 'Emergency Medicine Specialist',
466
      253913 => 'Obstetrician and Gynaecologist',
467
      253914 => 'Ophthalmologist',
468
      253915 => 'Pathologist',
469
      253917 => 'Diagnostic and Interventional Radiologist',
470
      253918 => 'Radiation Oncologist',
471
      253999 => 'Medical Practitioners nec',
472
      254111 => 'Midwife',
473
      254211 => 'Nurse Educator',
474
      254212 => 'Nurse Researcher',
475
      254311 => 'Nurse Manager',
476
      254411 => 'Nurse Practitioner',
477
      254412 => 'Registered Nurse (Aged Care)',
478
      254413 => 'Registered Nurse (Child and Family Health)',
479
      254414 => 'Registered Nurse (Community Health)',
480
      254415 => 'Registered Nurse (Critical Care and Emergency)',
481
      254416 => 'Registered Nurse (Developmental Disability)',
482
      254417 => 'Registered Nurse (Disability and Rehabilitation)',
483
      254418 => 'Registered Nurse (Medical)',
484
      254421 => 'Registered Nurse (Medical Practice)',
485
      254422 => 'Registered Nurse (Mental Health)',
486
      254423 => 'Registered Nurse (Perioperative)',
487
      254424 => 'Registered Nurse (Surgical)',
488
      254425 => 'Registered Nurse (Paediatrics)',
489
      254499 => 'Registered Nurses nec',
490
      261111 => 'ICT Business Analyst',
491
      261112 => 'Systems Analyst',
492
      261211 => 'Multimedia Specialist',
493
      261212 => 'Web Developer',
494
      261311 => 'Analyst Programmer',
495
      261312 => 'Developer Programmer',
496
      261313 => 'Software Engineer',
497
      261314 => 'Software Tester',
498
      261399 => 'Software and Applications Programmers nec',
499
      262111 => 'Database Administrator',
500
      262112 => 'ICT Security Specialist',
501
      262113 => 'Systems Administrator',
502
      263111 => 'Computer Network and Systems Engineer',
503
      263112 => 'Network Administrator',
504
      263113 => 'Network Analyst',
505
      263211 => 'ICT Quality Assurance Engineer',
506
      263212 => 'ICT Support Engineer',
507
      263213 => 'ICT Systems Test Engineer',
508
      263299 => 'ICT Support and Test Engineers nec',
509
      263311 => 'Telecommunications Engineer',
510
      263312 => 'Telecommunications Network Engineer',
511
      271111 => 'Barrister',
512
      271211 => 'Judge',
513
      271212 => 'Magistrate',
514
      271213 => 'Tribunal Member',
515
      271214 => 'Intellectual Property Lawyer',
516
      271299 => 'Judicial and Other Legal Professionals nec',
517
      271311 => 'Solicitor',
518
      272111 => 'Careers Counsellor',
519
      272112 => 'Drug and Alcohol Counsellor',
520
      272113 => 'Family and Marriage Counsellor',
521
      272114 => 'Rehabilitation Counsellor',
522
      272115 => 'Student Counsellor',
523
      272199 => 'Counsellors nec',
524
      272211 => 'Minister of Religion',
525
      272311 => 'Clinical Psychologist',
526
      272312 => 'Educational Psychologist',
527
      272313 => 'Organisational Psychologist',
528
      272314 => 'Psychotherapist',
529
      272399 => 'Psychologists nec',
530
      272411 => 'Historian',
531
      272412 => 'Interpreter',
532
      272413 => 'Translator',
533
      272414 => 'Archaeologist',
534
      272499 => 'Social Professionals nec',
535
      272511 => 'Social Worker',
536
      272611 => 'Community Arts Worker',
537
      272612 => 'Recreation Officer (Aus)',
538
      272613 => 'Welfare Worker',
539
      311111 => 'Agricultural Technician',
540
      311211 => 'Anaesthetic Technician',
541
      311212 => 'Cardiac Technician',
542
      311213 => 'Medical Laboratory Technician',
543
      311214 => 'Operating Theatre Technician',
544
      311215 => 'Pharmacy Technician',
545
      311216 => 'Pathology Collector (Aus)',
546
      311299 => 'Medical Technicians nec',
547
      311311 => 'Fisheries Officer',
548
      311312 => 'Meat Inspector',
549
      311313 => 'Quarantine Officer',
550
      311399 => 'Primary Products Inspectors nec',
551
      311411 => 'Chemistry Technician',
552
      311412 => 'Earth Science Technician',
553
      311413 => 'Life Science Technician',
554
      311414 => 'School Laboratory Technician',
555
      311415 => 'Hydrographer',
556
      311499 => 'Science Technicians nec',
557
      312111 => 'Architectural Draftsperson',
558
      312112 => 'Building Associate',
559
      312113 => 'Building Inspector',
560
      312114 => 'Construction Estimator',
561
      312115 => 'Plumbing Inspector',
562
      312116 => 'Surveying or Spatial Science Technician',
563
      312199 => 'Architectural, Building and Surveying Technicians nec',
564
      312211 => 'Civil Engineering Draftsperson',
565
      312212 => 'Civil Engineering Technician',
566
      312311 => 'Electrical Engineering Draftsperson',
567
      312312 => 'Electrical Engineering Technician',
568
      312411 => 'Electronic Engineering Draftsperson',
569
      312412 => 'Electronic Engineering Technician',
570
      312511 => 'Mechanical Engineering Draftsperson',
571
      312512 => 'Mechanical Engineering Technician',
572
      312611 => 'Safety Inspector',
573
      312911 => 'Maintenance Planner',
574
      312912 => 'Metallurgical or Materials Technician',
575
      312913 => 'Mine Deputy',
576
      312999 => 'Building and Engineering Technicians nec',
577
      313111 => 'Hardware Technician',
578
      313112 => 'ICT Customer Support Officer',
579
      313113 => 'Web Administrator',
580
      313199 => 'ICT Support Technicians nec',
581
      313211 => 'Radiocommunications Technician',
582
      313212 => 'Telecommunications Field Engineer',
583
      313213 => 'Telecommunications Network Planner',
584
      313214 => 'Telecommunications Technical Officer or Technologist',
585
      321111 => 'Automotive Electrician',
586
      321211 => 'Motor Mechanic (General)',
587
      321212 => 'Diesel Motor Mechanic',
588
      321213 => 'Motorcycle Mechanic',
589
      321214 => 'Small Engine Mechanic',
590
      322111 => 'Blacksmith',
591
      322112 => 'Electroplater',
592
      322113 => 'Farrier',
593
      322114 => 'Metal Casting Trades Worker',
594
      322115 => 'Metal Polisher',
595
      322211 => 'Sheetmetal Trades Worker',
596
      322311 => 'Metal Fabricator',
597
      322312 => 'Pressure Welder',
598
      322313 => 'Welder (First Class) (Aus)',
599
      323111 => 'Aircraft Maintenance Engineer (Avionics)',
600
      323112 => 'Aircraft Maintenance Engineer (Mechanical)',
601
      323113 => 'Aircraft Maintenance Engineer (Structures)',
602
      323211 => 'Fitter (General)',
603
      323212 => 'Fitter and Turner',
604
      323213 => 'Fitter-Welder',
605
      323214 => 'Metal Machinist (First Class)',
606
      323215 => 'Textile, Clothing and Footwear Mechanic',
607
      323299 => 'Metal Fitters and Machinists nec',
608
      323311 => 'Engraver',
609
      323312 => 'Gunsmith',
610
      323313 => 'Locksmith',
611
      323314 => 'Precision Instrument Maker and Repairer',
612
      323315 => 'Saw Doctor',
613
      323316 => 'Watch and Clock Maker and Repairer',
614
      323411 => 'Engineering Patternmaker',
615
      323412 => 'Toolmaker',
616
      324111 => 'Panelbeater',
617
      324211 => 'Vehicle Body Builder',
618
      324212 => 'Vehicle Trimmer',
619
      324311 => 'Vehicle Painter',
620
      331111 => 'Bricklayer',
621
      331112 => 'Stonemason',
622
      331211 => 'Carpenter and Joiner',
623
      331212 => 'Carpenter',
624
      331213 => 'Joiner',
625
      332111 => 'Floor Finisher',
626
      332211 => 'Painting Trades Worker',
627
      333111 => 'Glazier',
628
      333211 => 'Fibrous Plasterer',
629
      333212 => 'Solid Plasterer',
630
      333311 => 'Roof Tiler',
631
      333411 => 'Wall and Floor Tiler',
632
      334111 => 'Plumber (General)',
633
      334112 => 'Airconditioning and Mechanical Services Plumber',
634
      334113 => 'Drainer (Aus)',
635
      334114 => 'Gasfitter',
636
      334115 => 'Roof Plumber',
637
      341111 => 'Electrician (General)',
638
      341112 => 'Electrician (Special Class)',
639
      341113 => 'Lift Mechanic',
640
      342111 => 'Airconditioning and Refrigeration Mechanic',
641
      342211 => 'Electrical Linesworker (Aus)',
642
      342212 => 'Technical Cable Jointer',
643
      342311 => 'Business Machine Mechanic',
644
      342312 => 'Communications Operator',
645
      342313 => 'Electronic Equipment Trades Worker',
646
      342314 => 'Electronic Instrument Trades Worker (General)',
647
      342315 => 'Electronic Instrument Trades Worker (Special Class)',
648
      342411 => 'Cabler (Data and Telecommunications)',
649
      342412 => 'Telecommunications Cable Jointer',
650
      342413 => 'Telecommunications Linesworker (Aus)',
651
      342414 => 'Telecommunications Technician',
652
      351111 => 'Baker',
653
      351112 => 'Pastrycook',
654
      351211 => 'Butcher or Smallgoods Maker',
655
      351311 => 'Chef',
656
      351411 => 'Cook',
657
      361111 => 'Dog Handler or Trainer',
658
      361112 => 'Horse Trainer',
659
      361113 => 'Pet Groomer',
660
      361114 => 'Zookeeper',
661
      361115 => 'Kennel Hand',
662
      361199 => 'Animal Attendants and Trainers nec',
663
      361211 => 'Shearer',
664
      361311 => 'Veterinary Nurse',
665
      362111 => 'Florist',
666
      362211 => 'Gardener (General)',
667
      362212 => 'Arborist',
668
      362213 => 'Landscape Gardener',
669
      362311 => 'Greenkeeper',
670
      362411 => 'Nurseryperson',
671
      391111 => 'Hairdresser',
672
      392111 => 'Print Finisher',
673
      392112 => 'Screen Printer',
674
      392211 => 'Graphic Pre-press Trades Worker',
675
      392311 => 'Printing Machinist',
676
      392312 => 'Small Offset Printer',
677
      393111 => 'Canvas Goods Fabricator',
678
      393112 => 'Leather Goods Maker',
679
      393113 => 'Sail Maker',
680
      393114 => 'Shoemaker',
681
      393211 => 'Apparel Cutter',
682
      393212 => 'Clothing Patternmaker',
683
      393213 => 'Dressmaker or Tailor',
684
      393299 => 'Clothing Trades Workers nec',
685
      393311 => 'Upholsterer',
686
      394111 => 'Cabinetmaker',
687
      394211 => 'Furniture Finisher',
688
      394212 => 'Picture Framer',
689
      394213 => 'Wood Machinist',
690
      394214 => 'Wood Turner',
691
      394299 => 'Wood Machinists and Other Wood Trades Workers nec',
692
      399111 => 'Boat Builder and Repairer',
693
      399112 => 'Shipwright',
694
      399211 => 'Chemical Plant Operator',
695
      399212 => 'Gas or Petroleum Operator',
696
      399213 => 'Power Generation Plant Operator',
697
      399311 => 'Gallery or Museum Technician',
698
      399312 => 'Library Technician',
699
      399411 => 'Jeweller',
700
      399511 => 'Broadcast Transmitter Operator',
701
      399512 => 'Camera Operator (Film, Television or Video)',
702
      399513 => 'Light Technician',
703
      399514 => 'Make Up Artist',
704
      399515 => 'Musical Instrument Maker or Repairer',
705
      399516 => 'Sound Technician',
706
      399517 => 'Television Equipment Operator',
707
      399599 => 'Performing Arts Technicians nec',
708
      399611 => 'Signwriter',
709
      399911 => 'Diver',
710
      399912 => 'Interior Decorator',
711
      399913 => 'Optical Dispenser (Aus)',
712
      399914 => 'Optical Mechanic',
713
      399915 => 'Photographer\'s Assistant',
714
      399916 => 'Plastics Technician',
715
      399917 => 'Wool Classer',
716
      399918 => 'Fire Protection Equipment Technician',
717
      399999 => 'Technicians and Trades Workers nec',
718
      411111 => 'Ambulance Officer',
719
      411112 => 'Intensive Care Ambulance Paramedic (Aus)',
720
      411211 => 'Dental Hygienist',
721
      411212 => 'Dental Prosthetist',
722
      411213 => 'Dental Technician',
723
      411214 => 'Dental Therapist',
724
      411311 => 'Diversional Therapist',
725
      411411 => 'Enrolled Nurse',
726
      411412 => 'Mothercraft Nurse',
727
      411511 => 'Aboriginal and Torres Strait Islander Health Worker',
728
      411512 => 'Kaiawhina (Hauora) (Maori Health Assistant)',
729
      411611 => 'Massage Therapist',
730
      411711 => 'Community Worker',
731
      411712 => 'Disabilities Services Officer',
732
      411713 => 'Family Support Worker',
733
      411714 => 'Parole or Probation Officer',
734
      411715 => 'Residential Care Officer',
735
      411716 => 'Youth Worker',
736
      421111 => 'Child Care Worker',
737
      421112 => 'Family Day Care Worker',
738
      421113 => 'Nanny',
739
      421114 => 'Out of School Hours Care Worker',
740
      422111 => 'Aboriginal and Torres Strait Islander Education Worker',
741
      422112 => 'Integration Aide',
742
      422113 => 'Kaiawhina Kohanga Reo (Maori Language Nest Assistant)',
743
      422114 => 'Kaiawhina Kura Kaupapa Maori (Maori-medium School Assistant)',
744
      422115 => 'Preschool Aide',
745
      422116 => 'Teachers\' Aide',
746
      423111 => 'Aged or Disabled Carer',
747
      423211 => 'Dental Assistant',
748
      423311 => 'Hospital Orderly',
749
      423312 => 'Nursing Support Worker',
750
      423313 => 'Personal Care Assistant',
751
      423314 => 'Therapy Aide',
752
      423411 => 'Child or Youth Residential Care Assistant',
753
      423412 => 'Hostel Parent',
754
      423413 => 'Refuge Worker',
755
      431111 => 'Bar Attendant',
756
      431112 => 'Barista',
757
      431211 => 'Cafe Worker',
758
      431311 => 'Gaming Worker',
759
      431411 => 'Hotel Service Manager',
760
      431511 => 'Waiter',
761
      431911 => 'Bar Useful or Busser',
762
      431912 => 'Doorperson or Luggage Porter',
763
      431999 => 'Hospitality Workers nec',
764
      441111 => 'Defence Force Member - Other Ranks',
765
      441211 => 'Emergency Service Worker',
766
      441212 => 'Fire Fighter',
767
      441311 => 'Detective',
768
      441312 => 'Police Officer',
769
      442111 => 'Prison Officer',
770
      442211 => 'Alarm, Security or Surveillance Monitor',
771
      442212 => 'Armoured Car Escort',
772
      442213 => 'Crowd Controller',
773
      442214 => 'Private Investigator',
774
      442215 => 'Retail Loss Prevention Officer',
775
      442216 => 'Security Consultant',
776
      442217 => 'Security Officer',
777
      442299 => 'Security Officers and Guards nec',
778
      451111 => 'Beauty Therapist',
779
      451211 => 'Driving Instructor',
780
      451311 => 'Funeral Director',
781
      451399 => 'Funeral Workers nec',
782
      451411 => 'Gallery or Museum Guide',
783
      451412 => 'Tour Guide',
784
      451511 => 'Natural Remedy Consultant',
785
      451512 => 'Weight Loss Consultant',
786
      451513 => 'Herbalist (Western)',
787
      451611 => 'Tourist Information Officer',
788
      451612 => 'Travel Consultant',
789
      451711 => 'Flight Attendant',
790
      451799 => 'Travel Attendants nec',
791
      451811 => 'Civil Celebrant',
792
      451812 => 'Hair or Beauty Salon Assistant',
793
      451813 => 'Sex Worker or Escort',
794
      451814 => 'Body Artist',
795
      451815 => 'First Aid Trainer',
796
      451816 => 'Religious Assistant',
797
      451899 => 'Personal Service Workers nec',
798
      452111 => 'Fitness Instructor',
799
      452211 => 'Bungy Jump Master',
800
      452212 => 'Fishing Guide',
801
      452213 => 'Hunting Guide',
802
      452214 => 'Mountain or Glacier Guide',
803
      452215 => 'Outdoor Adventure Instructor',
804
      452216 => 'Trekking Guide',
805
      452217 => 'Whitewater Rafting Guide',
806
      452299 => 'Outdoor Adventure Guides nec',
807
      452311 => 'Diving Instructor (Open Water)',
808
      452312 => 'Gymnastics Coach or Instructor',
809
      452313 => 'Horse Riding Coach or Instructor',
810
      452314 => 'Snowsport Instructor',
811
      452315 => 'Swimming Coach or Instructor',
812
      452316 => 'Tennis Coach',
813
      452317 => 'Other Sports Coach or Instructor',
814
      452318 => 'Dog or Horse Racing Official',
815
      452321 => 'Sports Development Officer',
816
      452322 => 'Sports Umpire',
817
      452323 => 'Other Sports Official',
818
      452411 => 'Footballer',
819
      452412 => 'Golfer',
820
      452413 => 'Jockey',
821
      452414 => 'Lifeguard',
822
      452499 => 'Sportspersons nec',
823
      511111 => 'Contract Administrator',
824
      511112 => 'Program or Project Administrator',
825
      512111 => 'Office Manager',
826
      512211 => 'Health Practice Manager',
827
      512299 => 'Practice Managers nec',
828
      521111 => 'Personal Assistant',
829
      521211 => 'Secretary (General)',
830
      521212 => 'Legal Secretary',
831
      531111 => 'General Clerk',
832
      532111 => 'Data Entry Operator',
833
      532112 => 'Machine Shorthand Reporter',
834
      532113 => 'Word Processing Operator',
835
      541111 => 'Call or Contact Centre Team Leader',
836
      541112 => 'Call or Contact Centre Operator',
837
      541211 => 'Information Officer',
838
      542111 => 'Receptionist (General)',
839
      542112 => 'Admissions Clerk',
840
      542113 => 'Hotel or Motel Receptionist',
841
      542114 => 'Medical Receptionist',
842
      551111 => 'Accounts Clerk',
843
      551112 => 'Cost Clerk',
844
      551211 => 'Bookkeeper',
845
      551311 => 'Payroll Clerk',
846
      552111 => 'Bank Worker',
847
      552211 => 'Credit or Loans Officer (Aus)',
848
      552311 => 'Bookmaker',
849
      552312 => 'Insurance Consultant',
850
      552313 => 'Money Market Clerk',
851
      552314 => 'Statistical Clerk',
852
      561111 => 'Betting Agency Counter Clerk',
853
      561112 => 'Bookmaker\'s Clerk',
854
      561113 => 'Telephone Betting Clerk',
855
      561199 => 'Betting Clerks nec',
856
      561211 => 'Courier',
857
      561212 => 'Postal Delivery Officer',
858
      561311 => 'Filing or Registry Clerk',
859
      561411 => 'Mail Clerk',
860
      561412 => 'Postal Sorting Officer',
861
      561511 => 'Survey Interviewer',
862
      561611 => 'Switchboard Operator',
863
      561911 => 'Classified Advertising Clerk',
864
      561912 => 'Meter Reader',
865
      561913 => 'Parking Inspector',
866
      561999 => 'Clerical and Office Support Workers nec',
867
      591112 => 'Production Clerk',
868
      591113 => 'Purchasing Officer',
869
      591115 => 'Stock Clerk',
870
      591116 => 'Warehouse Administrator',
871
      591117 => 'Order Clerk',
872
      591211 => 'Despatching and Receiving Clerk',
873
      591212 => 'Import-Export Clerk',
874
      599111 => 'Conveyancer',
875
      599112 => 'Legal Executive',
876
      599211 => 'Clerk of Court',
877
      599212 => 'Court Bailiff or Sheriff (Aus)',
878
      599213 => 'Court Orderly (Aus)',
879
      599214 => 'Law Clerk',
880
      599215 => 'Trust Officer',
881
      599311 => 'Debt Collector',
882
      599411 => 'Human Resources Clerk',
883
      599511 => 'Customs Officer',
884
      599512 => 'Immigration Officer',
885
      599513 => 'Motor Vehicle Licence Examiner',
886
      599514 => 'Noxious Weeds and Pest Inspector',
887
      599515 => 'Social Security Assessor',
888
      599516 => 'Taxation Inspector',
889
      599517 => 'Train Examiner',
890
      599518 => 'Transport Operations Inspector',
891
      599521 => 'Water Inspector',
892
      599599 => 'Inspectors and Regulatory Officers nec',
893
      599611 => 'Insurance Investigator',
894
      599612 => 'Insurance Loss Adjuster',
895
      599613 => 'Insurance Risk Surveyor',
896
      599711 => 'Library Assistant',
897
      599912 => 'Production Assistant (Film, Television, Radio or Stage)',
898
      599913 => 'Proof Reader',
899
      599914 => 'Radio Despatcher',
900
      599915 => 'Clinical Coder',
901
      599916 => 'Facilities Administrator',
902
      599999 => 'Clerical and Administrative Workers nec',
903
      611111 => 'Auctioneer',
904
      611112 => 'Stock and Station Agent',
905
      611211 => 'Insurance Agent',
906
      611311 => 'Sales Representative (Building and Plumbing Supplies)',
907
      611312 => 'Sales Representative (Business Services)',
908
      611313 => 'Sales Representative (Motor Vehicle Parts and Accessories)',
909
      611314 => 'Sales Representative (Personal and Household Goods)',
910
      611399 => 'Sales Representatives nec',
911
      612111 => 'Business Broker',
912
      612112 => 'Property Manager',
913
      612113 => 'Real Estate Agency Principal (Aus)',
914
      612114 => 'Real Estate Agent',
915
      612115 => 'Real Estate Representative',
916
      621111 => 'Sales Assistant (General)',
917
      621211 => 'ICT Sales Assistant',
918
      621311 => 'Motor Vehicle or Caravan Salesperson',
919
      621312 => 'Motor Vehicle Parts Interpreter (Aus)',
920
      621411 => 'Pharmacy Sales Assistant',
921
      621511 => 'Retail Supervisor',
922
      621611 => 'Service Station Attendant',
923
      621711 => 'Cash Van Salesperson',
924
      621712 => 'Door-to-door Salesperson',
925
      621713 => 'Street Vendor',
926
      621911 => 'Materials Recycler',
927
      621912 => 'Rental Salesperson',
928
      621999 => 'Sales Assistants and Salespersons nec',
929
      631111 => 'Checkout Operator',
930
      631112 => 'Office Cashier',
931
      639111 => 'Model',
932
      639112 => 'Sales Demonstrator',
933
      639211 => 'Retail Buyer',
934
      639212 => 'Wool Buyer',
935
      639311 => 'Telemarketer',
936
      639411 => 'Ticket Seller',
937
      639412 => 'Transport Conductor',
938
      639511 => 'Visual Merchandiser',
939
      639911 => 'Other Sales Support Worker',
940
      711111 => 'Clay Products Machine Operator',
941
      711112 => 'Concrete Products Machine Operator',
942
      711113 => 'Glass Production Machine Operator',
943
      711114 => 'Stone Processing Machine Operator',
944
      711199 => 'Clay, Concrete, Glass and Stone Processing Machine Operators nec',
945
      711211 => 'Industrial Spraypainter',
946
      711311 => 'Paper Products Machine Operator',
947
      711313 => 'Sawmilling Operator',
948
      711314 => 'Other Wood Processing Machine Operator',
949
      711411 => 'Photographic Developer and Printer',
950
      711511 => 'Plastic Cablemaking Machine Operator',
951
      711512 => 'Plastic Compounding and Reclamation Machine Operator',
952
      711513 => 'Plastics Fabricator or Welder',
953
      711514 => 'Plastics Production Machine Operator (General)',
954
      711515 => 'Reinforced Plastic and Composite Production Worker',
955
      711516 => 'Rubber Production Machine Operator',
956
      711599 => 'Plastics and Rubber Production Machine Operators nec',
957
      711611 => 'Sewing Machinist',
958
      711711 => 'Footwear Production Machine Operator',
959
      711712 => 'Hide and Skin Processing Machine Operator',
960
      711713 => 'Knitting Machine Operator',
961
      711714 => 'Textile Dyeing and Finishing Machine Operator',
962
      711715 => 'Weaving Machine Operator',
963
      711716 => 'Yarn Carding and Spinning Machine Operator',
964
      711799 => 'Textile and Footwear Production Machine Operators nec',
965
      711911 => 'Chemical Production Machine Operator',
966
      711912 => 'Motion Picture Projectionist',
967
      711913 => 'Sand Blaster',
968
      711914 => 'Sterilisation Technician',
969
      711999 => 'Machine Operators nec',
970
      712111 => 'Crane, Hoist or Lift Operator',
971
      712211 => 'Driller',
972
      712212 => 'Miner',
973
      712213 => 'Shot Firer',
974
      712311 => 'Engineering Production Worker',
975
      712911 => 'Boiler or Engine Operator',
976
      712912 => 'Bulk Materials Handling Plant Operator',
977
      712913 => 'Cement Production Plant Operator',
978
      712914 => 'Concrete Batching Plant Operator',
979
      712915 => 'Concrete Pump Operator',
980
      712916 => 'Paper and Pulp Mill Operator',
981
      712917 => 'Railway Signal Operator',
982
      712918 => 'Train Controller',
983
      712921 => 'Waste Water or Water Plant Operator',
984
      712922 => 'Weighbridge Operator',
985
      712999 => 'Stationary Plant Operators nec',
986
      721111 => 'Agricultural and Horticultural Mobile Plant Operator',
987
      721211 => 'Earthmoving Plant Operator (General)',
988
      721212 => 'Backhoe Operator',
989
      721213 => 'Bulldozer Operator',
990
      721214 => 'Excavator Operator',
991
      721215 => 'Grader Operator',
992
      721216 => 'Loader Operator',
993
      721311 => 'Forklift Driver',
994
      721911 => 'Aircraft Baggage Handler and Airline Ground Crew',
995
      721912 => 'Linemarker',
996
      721913 => 'Paving Plant Operator',
997
      721914 => 'Railway Track Plant Operator',
998
      721915 => 'Road Roller Operator',
999
      721916 => 'Streetsweeper Operator',
1000
      721999 => 'Mobile Plant Operators nec',
1001
      731111 => 'Chauffeur',
1002
      731112 => 'Taxi Driver',
1003
      731199 => 'Automobile Drivers nec',
1004
      731211 => 'Bus Driver',
1005
      731212 => 'Charter and Tour Bus Driver',
1006
      731213 => 'Passenger Coach Driver',
1007
      731311 => 'Train Driver',
1008
      731312 => 'Tram Driver',
1009
      732111 => 'Delivery Driver',
1010
      733111 => 'Truck Driver (General)',
1011
      733112 => 'Aircraft Refueller',
1012
      733113 => 'Furniture Removalist',
1013
      733114 => 'Tanker Driver',
1014
      733115 => 'Tow Truck Driver',
1015
      741111 => 'Storeperson',
1016
      811111 => 'Car Detailer',
1017
      811211 => 'Commercial Cleaner',
1018
      811311 => 'Domestic Cleaner',
1019
      811411 => 'Commercial Housekeeper',
1020
      811412 => 'Domestic Housekeeper',
1021
      811511 => 'Laundry Worker (General)',
1022
      811512 => 'Drycleaner',
1023
      811513 => 'Ironer or Presser',
1024
      811611 => 'Carpet Cleaner',
1025
      811612 => 'Window Cleaner',
1026
      811699 => 'Cleaners nec',
1027
      821111 => 'Builder\'s Labourer',
1028
      821112 => 'Drainage, Sewerage and Stormwater Labourer',
1029
      821113 => 'Earthmoving Labourer',
1030
      821114 => 'Plumber\'s Assistant',
1031
      821211 => 'Concreter',
1032
      821311 => 'Fencer',
1033
      821411 => 'Building Insulation Installer',
1034
      821412 => 'Home Improvement Installer',
1035
      821511 => 'Paving and Surfacing Labourer',
1036
      821611 => 'Railway Track Worker',
1037
      821711 => 'Construction Rigger',
1038
      821712 => 'Scaffolder',
1039
      821713 => 'Steel Fixer',
1040
      821714 => 'Structural Steel Erector',
1041
      821911 => 'Crane Chaser',
1042
      821912 => 'Driller\'s Assistant',
1043
      821913 => 'Lagger',
1044
      821914 => 'Mining Support Worker',
1045
      821915 => 'Surveyor\'s Assistant',
1046
      831111 => 'Baking Factory Worker',
1047
      831112 => 'Brewery Worker',
1048
      831113 => 'Confectionery Maker',
1049
      831114 => 'Dairy Products Maker',
1050
      831115 => 'Fruit and Vegetable Factory Worker',
1051
      831116 => 'Grain Mill Worker',
1052
      831117 => 'Sugar Mill Worker',
1053
      831118 => 'Winery Cellar Hand',
1054
      831199 => 'Food and Drink Factory Workers nec',
1055
      831211 => 'Meat Boner and Slicer',
1056
      831212 => 'Slaughterer',
1057
      831311 => 'Meat Process Worker',
1058
      831312 => 'Poultry Process Worker',
1059
      831313 => 'Seafood Process Worker',
1060
      832111 => 'Chocolate Packer',
1061
      832112 => 'Container Filler',
1062
      832113 => 'Fruit and Vegetable Packer',
1063
      832114 => 'Meat Packer',
1064
      832115 => 'Seafood Packer',
1065
      832199 => 'Packers nec',
1066
      832211 => 'Product Assembler',
1067
      839111 => 'Metal Engineering Process Worker',
1068
      839211 => 'Plastics Factory Worker',
1069
      839212 => 'Rubber Factory Worker',
1070
      839311 => 'Product Examiner',
1071
      839312 => 'Product Grader',
1072
      839313 => 'Product Tester',
1073
      839411 => 'Paper and Pulp Mill Worker',
1074
      839412 => 'Sawmill or Timber Yard Worker',
1075
      839413 => 'Wood and Wood Products Factory Worker',
1076
      839911 => 'Cement and Concrete Plant Worker',
1077
      839912 => 'Chemical Plant Worker',
1078
      839913 => 'Clay Processing Factory Worker',
1079
      839914 => 'Fabric and Textile Factory Worker',
1080
      839915 => 'Footwear Factory Worker',
1081
      839916 => 'Glass Processing Worker',
1082
      839917 => 'Hide and Skin Processing Worker',
1083
      839918 => 'Recycling Worker',
1084
      839999 => 'Factory Process Workers nec',
1085
      841111 => 'Aquaculture Worker',
1086
      841211 => 'Fruit or Nut Farm Worker',
1087
      841212 => 'Fruit or Nut Picker',
1088
      841213 => 'Grain, Oilseed or Pasture Farm Worker (Aus)',
1089
      841214 => 'Vegetable Farm Worker (Aus)',
1090
      841215 => 'Vegetable Picker',
1091
      841216 => 'Vineyard Worker',
1092
      841217 => 'Mushroom Picker',
1093
      841299 => 'Crop Farm Workers nec',
1094
      841311 => 'Forestry Worker',
1095
      841312 => 'Logging Assistant',
1096
      841313 => 'Tree Faller',
1097
      841411 => 'Garden Labourer',
1098
      841412 => 'Horticultural Nursery Assistant',
1099
      841511 => 'Beef Cattle Farm Worker',
1100
      841512 => 'Dairy Cattle Farm Worker',
1101
      841513 => 'Mixed Livestock Farm Worker',
1102
      841514 => 'Poultry Farm Worker',
1103
      841515 => 'Sheep Farm Worker',
1104
      841516 => 'Stablehand',
1105
      841517 => 'Wool Handler',
1106
      841599 => 'Livestock Farm Workers nec',
1107
      841611 => 'Mixed Crop and Livestock Farm Worker',
1108
      841911 => 'Hunter-Trapper',
1109
      841913 => 'Pest Controller',
1110
      841999 => 'Farm, Forestry and Garden Workers nec',
1111
      851111 => 'Fast Food Cook',
1112
      851211 => 'Pastrycook\'s Assistant',
1113
      851299 => 'Food Trades Assistants nec',
1114
      851311 => 'Kitchenhand',
1115
      891111 => 'Freight Handler (Rail or Road)',
1116
      891112 => 'Truck Driver\'s Offsider',
1117
      891113 => 'Waterside Worker',
1118
      891211 => 'Shelf Filler',
1119
      899111 => 'Caretaker',
1120
      899211 => 'Deck Hand',
1121
      899212 => 'Fishing Hand',
1122
      899311 => 'Handyperson',
1123
      899411 => 'Motor Vehicle Parts and Accessories Fitter (General)',
1124
      899412 => 'Autoglazier',
1125
      899413 => 'Exhaust and Muffler Repairer',
1126
      899414 => 'Radiator Repairer',
1127
      899415 => 'Tyre Fitter',
1128
      899511 => 'Printer\'s Assistant',
1129
      899512 => 'Printing Table Worker',
1130
      899611 => 'Recycling or Rubbish Collector',
1131
      899711 => 'Vending Machine Attendant',
1132
      899911 => 'Bicycle Mechanic',
1133
      899912 => 'Car Park Attendant',
1134
      899913 => 'Crossing Supervisor',
1135
      899914 => 'Electrical or Telecommunications Trades Assistant',
1136
      899915 => 'Leaflet or Newspaper Deliverer',
1137
      899916 => 'Mechanic\'s Assistant',
1138
      899917 => 'Railways Assistant',
1139
      899918 => 'Sign Erector',
1140
      899921 => 'Ticket Collector or Usher',
1141
      899922 => 'Trolley Collector',
1142
      899923 => 'Road Traffic Controller',
1143
      899999 => 'Labourers nec'
1144
    );
1145
    if (array_key_exists($code, $professions))
1146
    {
1147
      return $professions[$code];
1148
    }
1149
    throw new \InvalidArgumentException("The code $code is invalid!");
1150
  }
1151
1152
  /**
1153
   * @param \DOMDocument $doc
1154
   *
1155
   * @return \DOMElement
1156
   */
1157
  public function toDOMElement (\DOMDocument $doc): \DOMElement
1158
  {
1159
1160
    $el = $this->hasCodedValue()
1161
      ? $this->createElement($doc, array('codedValue'))
1162
      : $this->createElement($doc);
1163
    $this->renderOriginalText($el, $doc)
1164
      ->renderTranslation($el, $doc);
1165
    return $el;
1166
  }
1167
1168
1169
  /**
1170
   * @return string
1171
   */
1172
  public function getElementTag (): string
1173
  {
1174
    return 'code';
1175
  }
1176
1177
1178
}
1179