{
  "resourceType": "CodeSystem",
  "id": "repository-type",
  "meta": {
    "lastUpdated": "2019-11-01T09:29:23.356+11:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cg"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    }
  ],
  "url": "http://hl7.org/fhir/repository-type",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.4.231"
    }
  ],
  "version": "4.0.1",
  "name": "repositoryType",
  "title": "repositoryType",
  "status": "draft",
  "experimental": false,
  "date": "2019-11-01T09:29:23+11:00",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "Type for access of external URI.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/repository-type",
  "content": "complete",
  "concept": [
    {
      "code": "directlink",
      "display": "Click and see",
      "definition": "When URL is clicked, the resource can be seen directly (by webpage or by download link format)."
    },
    {
      "code": "openapi",
      "display": "The URL is the RESTful or other kind of API that can access to the result.",
      "definition": "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)."
    },
    {
      "code": "login",
      "display": "Result cannot be access unless an account is logged in",
      "definition": "When logged into the website, the resource can be seen."
    },
    {
      "code": "oauth",
      "display": "Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)",
      "definition": "When logged in and  follow the API in the website related with URL, the resource can be seen."
    },
    {
      "code": "other",
      "display": "Some other complicated or particular way to get resource from URL.",
      "definition": "Some other complicated or particular way to get resource from URL."
    }
  ]
}