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

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

[] a fhir:NamingSystem;
  fhir:Resource.id [ fhir:value "X12.3"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.url" ];
     fhir:Extension.value [ fhir:value "http://terminology.hl7.org/NamingSystem/X12.3" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.version" ];
     fhir:Extension.value [ fhir:value "2.1.0" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.title" ];
     fhir:Extension.value [ fhir:value "X12.3 Data Elementary Dictionary" ]
  ];
  fhir:NamingSystem.name [ fhir:value "X123"];
  fhir:NamingSystem.status [ fhir:value "active"];
  fhir:NamingSystem.kind [ fhir:value "codesystem"];
  fhir:NamingSystem.date [ fhir:value "2019-03-20T00:00:00-04:00"];
  fhir:NamingSystem.publisher [ fhir:value "Z12"];
  fhir:NamingSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "X12N,X12N,X12N,X12N" ]
  ];
  fhir:NamingSystem.responsible [ fhir:value "Z12"];
  fhir:NamingSystem.description [ fhir:value "X12.3 Data Elementary Dictionary\r\n\r\nThis is the root OID for vocabulary defined internally by X12N. OIDS for each vocabulary will be assigned underneath this oid by appending the X12N data element id to the root OID. Data Element 1336 is Insurance Type Code, so the OID for the X12N Insurance Type Code vocabulary will be 2.16.840.1.113883.6.255.1336"];
  fhir:NamingSystem.uniqueId [
     fhir:index 0;
     fhir:NamingSystem.type [ fhir:value "oid" ];
     fhir:NamingSystem.value [ fhir:value "2.16.840.1.113883.6.255" ];
     fhir:NamingSystem.preferred [ fhir:value "true" ]
  ], [
     fhir:index 1;
     fhir:NamingSystem.type [ fhir:value "uri" ];
     fhir:NamingSystem.value [ fhir:value "http://terminology.hl7.org/CodeSystem/X12.3" ];
     fhir:NamingSystem.preferred [ fhir:value "true" ]
  ] .

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

