@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "v2-0265"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "inm" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0265"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.18.159" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "SpecialtyType"];
  fhir:CodeSystem.title [ fhir:value "specialtyType"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-12-01"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Code system of concepts used to identify the specialty of the care professional who is supported when using this location definition.  Used in HL7 Version 2.x messaging in the LDP segment."];
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0265 (Specialty Type)"];
  fhir:CodeSystem.copyright [ fhir:value "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v2-0265"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.compositional [ fhir:value "false"];
  fhir:CodeSystem.versionNeeded [ fhir:value "false"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "status" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status" ];
     fhir:CodeSystem.description [ fhir:value "Status of the concept" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "deprecated" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated" ];
     fhir:CodeSystem.description [ fhir:value "Version of HL7 in which the code was deprecated" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "2593" ];
     fhir:CodeSystem.code [ fhir:value "AMB" ];
     fhir:CodeSystem.display [ fhir:value "Ambulatory" ];
     fhir:CodeSystem.definition [ fhir:value "Ambulatory" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "2594" ];
     fhir:CodeSystem.code [ fhir:value "PSY" ];
     fhir:CodeSystem.display [ fhir:value "Psychiatric" ];
     fhir:CodeSystem.definition [ fhir:value "Psychiatric" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "2595" ];
     fhir:CodeSystem.code [ fhir:value "PPS" ];
     fhir:CodeSystem.display [ fhir:value "Pediatric psychiatric" ];
     fhir:CodeSystem.definition [ fhir:value "Pediatric psychiatric" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "2596" ];
     fhir:CodeSystem.code [ fhir:value "REH" ];
     fhir:CodeSystem.display [ fhir:value "Rehabilitation" ];
     fhir:CodeSystem.definition [ fhir:value "Rehabilitation" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "2597" ];
     fhir:CodeSystem.code [ fhir:value "PRE" ];
     fhir:CodeSystem.display [ fhir:value "Pediatric rehabilitation" ];
     fhir:CodeSystem.definition [ fhir:value "Pediatric rehabilitation" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 5;
     fhir:Element.id [ fhir:value "2598" ];
     fhir:CodeSystem.code [ fhir:value "ISO" ];
     fhir:CodeSystem.display [ fhir:value "Isolation" ];
     fhir:CodeSystem.definition [ fhir:value "Isolation" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 6;
     fhir:Element.id [ fhir:value "2599" ];
     fhir:CodeSystem.code [ fhir:value "OBG" ];
     fhir:CodeSystem.display [ fhir:value "Obstetrics, gynecology" ];
     fhir:CodeSystem.definition [ fhir:value "Obstetrics, gynecology" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 7;
     fhir:Element.id [ fhir:value "2600" ];
     fhir:CodeSystem.code [ fhir:value "PIN" ];
     fhir:CodeSystem.display [ fhir:value "Pediatric/neonatal intensive care" ];
     fhir:CodeSystem.definition [ fhir:value "Pediatric/neonatal intensive care" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 8;
     fhir:Element.id [ fhir:value "2601" ];
     fhir:CodeSystem.code [ fhir:value "INT" ];
     fhir:CodeSystem.display [ fhir:value "Intensive care" ];
     fhir:CodeSystem.definition [ fhir:value "Intensive care" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 9;
     fhir:Element.id [ fhir:value "2602" ];
     fhir:CodeSystem.code [ fhir:value "SUR" ];
     fhir:CodeSystem.display [ fhir:value "Surgery" ];
     fhir:CodeSystem.definition [ fhir:value "Surgery" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 10;
     fhir:Element.id [ fhir:value "2603" ];
     fhir:CodeSystem.code [ fhir:value "PSI" ];
     fhir:CodeSystem.display [ fhir:value "Psychiatric intensive care" ];
     fhir:CodeSystem.definition [ fhir:value "Psychiatric intensive care" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 11;
     fhir:Element.id [ fhir:value "2604" ];
     fhir:CodeSystem.code [ fhir:value "EDI" ];
     fhir:CodeSystem.display [ fhir:value "Education" ];
     fhir:CodeSystem.definition [ fhir:value "Education" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 12;
     fhir:Element.id [ fhir:value "2605" ];
     fhir:CodeSystem.code [ fhir:value "CAR" ];
     fhir:CodeSystem.display [ fhir:value "Coronary/cardiac care" ];
     fhir:CodeSystem.definition [ fhir:value "Coronary/cardiac care" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 13;
     fhir:Element.id [ fhir:value "2606" ];
     fhir:CodeSystem.code [ fhir:value "NBI" ];
     fhir:CodeSystem.display [ fhir:value "Newborn, nursery, infants" ];
     fhir:CodeSystem.definition [ fhir:value "Newborn, nursery, infants" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 14;
     fhir:Element.id [ fhir:value "2607" ];
     fhir:CodeSystem.code [ fhir:value "CCR" ];
     fhir:CodeSystem.display [ fhir:value "Critical care" ];
     fhir:CodeSystem.definition [ fhir:value "Critical care" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 15;
     fhir:Element.id [ fhir:value "2608" ];
     fhir:CodeSystem.code [ fhir:value "PED" ];
     fhir:CodeSystem.display [ fhir:value "Pediatrics" ];
     fhir:CodeSystem.definition [ fhir:value "Pediatrics" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 16;
     fhir:Element.id [ fhir:value "2609" ];
     fhir:CodeSystem.code [ fhir:value "EMR" ];
     fhir:CodeSystem.display [ fhir:value "Emergency" ];
     fhir:CodeSystem.definition [ fhir:value "Emergency" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 17;
     fhir:Element.id [ fhir:value "2610" ];
     fhir:CodeSystem.code [ fhir:value "OBS" ];
     fhir:CodeSystem.display [ fhir:value "Observation" ];
     fhir:CodeSystem.definition [ fhir:value "Observation" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 18;
     fhir:Element.id [ fhir:value "2611" ];
     fhir:CodeSystem.code [ fhir:value "WIC" ];
     fhir:CodeSystem.display [ fhir:value "Walk-in clinic" ];
     fhir:CodeSystem.definition [ fhir:value "Walk-in clinic" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 19;
     fhir:Element.id [ fhir:value "2612" ];
     fhir:CodeSystem.code [ fhir:value "PHY" ];
     fhir:CodeSystem.display [ fhir:value "General/family practice" ];
     fhir:CodeSystem.definition [ fhir:value "General/family practice" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 20;
     fhir:Element.id [ fhir:value "2613" ];
     fhir:CodeSystem.code [ fhir:value "ALC" ];
     fhir:CodeSystem.display [ fhir:value "Allergy" ];
     fhir:CodeSystem.definition [ fhir:value "Allergy" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 21;
     fhir:Element.id [ fhir:value "2614" ];
     fhir:CodeSystem.code [ fhir:value "FPC" ];
     fhir:CodeSystem.display [ fhir:value "Family planning" ];
     fhir:CodeSystem.definition [ fhir:value "Family planning" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 22;
     fhir:Element.id [ fhir:value "2615" ];
     fhir:CodeSystem.code [ fhir:value "CHI" ];
     fhir:CodeSystem.display [ fhir:value "Chiropractic" ];
     fhir:CodeSystem.definition [ fhir:value "Chiropractic" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 23;
     fhir:Element.id [ fhir:value "2616" ];
     fhir:CodeSystem.code [ fhir:value "CAN" ];
     fhir:CodeSystem.display [ fhir:value "Cancer" ];
     fhir:CodeSystem.definition [ fhir:value "Cancer" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 24;
     fhir:Element.id [ fhir:value "2617" ];
     fhir:CodeSystem.code [ fhir:value "NAT" ];
     fhir:CodeSystem.display [ fhir:value "Naturopathic" ];
     fhir:CodeSystem.definition [ fhir:value "Naturopathic" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 25;
     fhir:Element.id [ fhir:value "2618" ];
     fhir:CodeSystem.code [ fhir:value "OTH" ];
     fhir:CodeSystem.display [ fhir:value "Other specialty" ];
     fhir:CodeSystem.definition [ fhir:value "Other specialty" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

# -------------------------------------------------------------------------------------

