@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 "iri"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-namingsystem-version" ];
     fhir:Extension.value [ fhir:value "1.0.0" ]
  ], [
     fhir:index 1;
     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/iri" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.title" ];
     fhir:Extension.value [ fhir:value "Internationalized Resource Identifier (IRI)" ]
  ];
  fhir:NamingSystem.name [ fhir:value "IRI"];
  fhir:NamingSystem.status [ fhir:value "active"];
  fhir:NamingSystem.kind [ fhir:value "identifier"];
  fhir:NamingSystem.date [ fhir:value "2023-03-16T00:00:00-00:00"];
  fhir:NamingSystem.description [ fhir:value "As defined by RFC 3987 (http://www.ietf.org/rfc/rfc3987.txt). Internationalized Resource Identifiers (IRIs) are the internationalized version of URIs (which are also defined as a NamingSystem as https://terminology.hl7.org/4.0.0/NamingSystem-uri.html) that allow Unicode characters to be used in the identifier with some restrictions, which was defined by the Internet Engineering Task Force (IETF) in 2005. An IRI such as 'https://hi.wikipedia.org/wiki/हृदय' can be percent-encoded into the URI 'https://hi.wikipedia.org/wiki/%E0%A4%B9%E0%A5%83%E0%A4%A6%E0%A4%AF' to be used as a URL, but the IRI is easier to read, particularly for readers of non-Latin languages, and is natively supported by many tools, including many browsers, HTTP libraries, and in the Resource Description Framework (RDF)."];
  fhir:NamingSystem.uniqueId [
     fhir:index 0;
     fhir:NamingSystem.type [ fhir:value "uri" ];
     fhir:NamingSystem.value [ fhir:value "urn:ietf:rfc:3987" ];
     fhir:NamingSystem.preferred [ fhir:value "true" ]
  ] .

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

