{
  "resourceType": "CodeSystem",
  "id": "repository-type",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>repositoryType</h2>\n            <div>\n              <p>Type for access of external URI</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/repository-type defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td>directlink\n                  <a name=\"repository-type-directlink\"> </a>\n                </td>\n                <td>Click and see</td>\n                <td>When URL is clicked, the resource can be seen directly (by webpage or by download link format)</td>\n              </tr>\n              <tr>\n                <td>openapi\n                  <a name=\"repository-type-openapi\"> </a>\n                </td>\n                <td>The URL is the RESTful or other kind of API that can access to the result.</td>\n                <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>\n              </tr>\n              <tr>\n                <td>login\n                  <a name=\"repository-type-login\"> </a>\n                </td>\n                <td>Result cannot be access unless an account is logged in</td>\n                <td>When logged into the website, the resource can be seen.</td>\n              </tr>\n              <tr>\n                <td>oauth\n                  <a name=\"repository-type-oauth\"> </a>\n                </td>\n                <td>Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)</td>\n                <td>When logged in and  follow the API in the website related with URL, the resource can be seen.</td>\n              </tr>\n              <tr>\n                <td>other\n                  <a name=\"repository-type-other\"> </a>\n                </td>\n                <td>Some other complicated or particular way to get resource from URL.</td>\n                <td>Some other complicated or particular way to get resource from URL.</td>\n              </tr>\n            </table>\n          </div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cg"
    }
  ],
  "url": "http://hl7.org/fhir/repository-type",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.226"
  },
  "version": "3.0.1",
  "name": "repositoryType",
  "status": "draft",
  "experimental": false,
  "date": "2017-04-18T21:44:43+00: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."
    }
  ]
}