@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://terminology.hl7.org/CodeSystem/v2-0530> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0530"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v2-0530</b></p><a name=\"v2-0530\"> </a><a name=\"hcv2-0530\"> </a><a name=\"v2-0530-en-US\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr><tr><td>V2 Concept Comment</td><td>v2-concComment</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment</td><td>string</td><td>V2 Concept Comment</td></tr><tr><td>V2 Concept Comment As Published</td><td>v2-concCommentAsPub</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub</td><td>string</td><td>V2 Concept Comment As Published</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0530</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>V2 Concept Comment</b></td><td><b>V2 Concept Comment As Published</b></td></tr><tr><td style=\"white-space:nowrap\">AE<a name=\"v2-0530-AE\"> </a></td><td>American Express</td><td>American Express</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">DEA<a name=\"v2-0530-DEA\"> </a></td><td>Drug Enforcement Agency</td><td>Drug Enforcement Agency</td><td>The US Drug Enforcement Administration does not solely assign DEA numbers in the United States. Hospitals have the authority to issue DEA numbers to their medical residents. These DEA numbers are based upon the hospital’s DEA number, but the authority rests with the hospital on the assignment to the residents. Thus, DEA as an Assigning Authority is necessary in addition to DEA as an Identifier Type.</td><td>The US Drug Enforcement Administration does not solely assign DEA numbers in the United States. Hospitals have the authority to issue DEA numbers to their medical residents. These DEA numbers are based upon the hospital’s DEA number, but the authority rests with the hospital on the assignment to the residents. Thus, DEA as an Assigning Authority is necessary in addition to DEA as an Identifier Type.</td></tr><tr><td style=\"white-space:nowrap\">DOD<a name=\"v2-0530-DOD\"> </a></td><td>Department of Defense</td><td>Department of Defense</td><td>In some countries e.g., the US, more than one department may issue a military identifier. Hence, US is not sufficient as the Assigning Authority.</td><td>In some countries e.g., the US, more than one department may issue a military identifier. Hence, US is not sufficient as the Assigning Authority.</td></tr><tr><td style=\"white-space:nowrap\">MC<a name=\"v2-0530-MC\"> </a></td><td>Master Card</td><td>Master Card</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">VA<a name=\"v2-0530-VA\"> </a></td><td>Veterans Affairs</td><td>Veterans Affairs</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">VI<a name=\"v2-0530-VI\"> </a></td><td>Visa</td><td>Visa</td><td/><td/></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "inm" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0530"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.346" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "OrganizationAgencyDepartment"] ; # 
  fhir:title [ fhir:v "organization-Agency-Department"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-12-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Code system of concepts used to specify the agency or department that assigned the identifier in component 1.  Used in the Performing Person Time Stamp (PPN), Extended Composite ID Number and Name for Persons (XCN) and Extended Composite ID with Check Digit (CX) segments in HL7 Version 2.x messaging."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0530 (Organization, Agency, Department)"] ; # 
  fhir:copyright [ fhir:v "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.html"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/v2-0530"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0530>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:compositional [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:versionNeeded [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Status of the concept" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "deprecated" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Version of HL7 in which the code was deprecated" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "v2-concComment" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment As Published" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:id [ fhir:v "5632" ] ;
     fhir:code [ fhir:v "AE" ] ;
     fhir:display [ fhir:v "American Express" ] ;
     fhir:definition [ fhir:v "American Express" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5633" ] ;
     fhir:code [ fhir:v "DEA" ] ;
     fhir:display [ fhir:v "Drug Enforcement Agency" ] ;
     fhir:definition [ fhir:v "Drug Enforcement Agency" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "The US Drug Enforcement Administration does not solely assign DEA numbers in the United States. Hospitals have the authority to issue DEA numbers to their medical residents. These DEA numbers are based upon the hospital’s DEA number, but the authority rests with the hospital on the assignment to the residents. Thus, DEA as an Assigning Authority is necessary in addition to DEA as an Identifier Type." ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "The US Drug Enforcement Administration does not solely assign DEA numbers in the United States. Hospitals have the authority to issue DEA numbers to their medical residents. These DEA numbers are based upon the hospital’s DEA number, but the authority rests with the hospital on the assignment to the residents. Thus, DEA as an Assigning Authority is necessary in addition to DEA as an Identifier Type." ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5634" ] ;
     fhir:code [ fhir:v "DOD" ] ;
     fhir:display [ fhir:v "Department of Defense" ] ;
     fhir:definition [ fhir:v "Department of Defense" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "In some countries e.g., the US, more than one department may issue a military identifier. Hence, US is not sufficient as the Assigning Authority." ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "In some countries e.g., the US, more than one department may issue a military identifier. Hence, US is not sufficient as the Assigning Authority." ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5635" ] ;
     fhir:code [ fhir:v "MC" ] ;
     fhir:display [ fhir:v "Master Card" ] ;
     fhir:definition [ fhir:v "Master Card" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5636" ] ;
     fhir:code [ fhir:v "VA" ] ;
     fhir:display [ fhir:v "Veterans Affairs" ] ;
     fhir:definition [ fhir:v "Veterans Affairs" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5637" ] ;
     fhir:code [ fhir:v "VI" ] ;
     fhir:display [ fhir:v "Visa" ] ;
     fhir:definition [ fhir:v "Visa" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

