@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/xver/CodeSystem/repository-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "repository-type"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem repository-type</b></p><a name=\"repository-type\"> </a><a name=\"hcrepository-type\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/repository-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">directlink<a name=\"repository-type-directlink\"> </a></td><td>Click and see</td><td>When URL is clicked, the resource can be seen directly (by webpage or by download link format)</td></tr><tr><td style=\"white-space:nowrap\">openapi<a name=\"repository-type-openapi\"> </a></td><td>The URL is the RESTful or other kind of API that can access to the result.</td><td>When the API method (e.g. [base_url]/[parameter]) related with the URL of the website is executed, the resource can be seen directly (usually in JSON or XML format)</td></tr><tr><td style=\"white-space:nowrap\">login<a name=\"repository-type-login\"> </a></td><td>Result cannot be access unless an account is logged in</td><td>When logged into the website, the resource can be seen.</td></tr><tr><td style=\"white-space:nowrap\">oauth<a name=\"repository-type-oauth\"> </a></td><td>Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)</td><td>When logged in and  follow the API in the website related with URL, the resource can be seen.</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"repository-type-other\"> </a></td><td>Some other complicated or particular way to get resource from URL.</td><td>Some other complicated or particular way to get resource from URL.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Informative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r3.r4b"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "cg"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/repository-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/repository-type>
  ] ; # 
  fhir:version [ fhir:v "3.0.2"] ; # 
  fhir:name [ fhir:v "repositoryType"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2019-10-23T19:53:00-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Clinical Genomics"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Clinical Genomics" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/clingenomics" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Type for access of external URI"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/repository-type|4.3.0"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/repository-type?version=4.3.0>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "directlink" ] ;
     fhir:display [ fhir:v "Click and see" ] ;
     fhir:definition [ fhir:v "When URL is clicked, the resource can be seen directly (by webpage or by download link format)" ]
  ] [
     fhir:code [ fhir:v "openapi" ] ;
     fhir:display [ fhir:v "The URL is the RESTful or other kind of API that can access to the result." ] ;
     fhir:definition [ fhir:v "When the API method (e.g. [base_url]/[parameter]) related with the URL of the website is executed, the resource can be seen directly (usually in JSON or XML format)" ]
  ] [
     fhir:code [ fhir:v "login" ] ;
     fhir:display [ fhir:v "Result cannot be access unless an account is logged in" ] ;
     fhir:definition [ fhir:v "When logged into the website, the resource can be seen." ]
  ] [
     fhir:code [ fhir:v "oauth" ] ;
     fhir:display [ fhir:v "Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)" ] ;
     fhir:definition [ fhir:v "When logged in and  follow the API in the website related with URL, the resource can be seen." ]
  ] [
     fhir:code [ fhir:v "other" ] ;
     fhir:display [ fhir:v "Some other complicated or particular way to get resource from URL." ] ;
     fhir:definition [ fhir:v "Some other complicated or particular way to get resource from URL." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

