{
  "resourceType": "StructureDefinition",
  "id": "spark1390",
  "meta": {
    "versionId": "spark1429",
    "lastUpdated": "2015-10-03T15:08:53.599+00:00"
  },
  "url": "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris",
  "name": "OAuth Endpoint URIs",
  "status": "draft",
  "publisher": "SMART Health IT",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://smarthealthit.org"
        }
      ]
    }
  ],
  "date": "2015-07-23",
  "description": "Identifies OAuth URIs associated with a FHIR server",
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Conformance.rest.security"
  ],
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "differential": {
    "element": [
      {
        "path": "Extension",
        "short": "OAuth URIs",
        "definition": "Identifies OAuth 2.0 URIs associated with a FHIR server",
        "comments": "Some individuals may have more than two parents (e.g. genetic vs. adoptive parents).  Even non-genetic relationships can be relevant in terms of genetic exposure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "path": "Extension.extension",
        "short": "OAuth 'authorize' uri",
        "definition": "OAuth 2.0 'authorize' endpoint for this FHIR server",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "authorize"
      },
      {
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "path": "Extension.extension",
        "short": "OAuth 'token' uri",
        "definition": "OAuth 2.0 'token' endpoint for this FHIR server",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "token"
      },
      {
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "path": "Extension.extension",
        "short": "OAuth dynamic registration uri",
        "definition": "OAuth 2.0 dynamic client registration endpoit for this FHIR server, if supported",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "register"
      },
      {
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "uri"
          }
        ]
      }
    ]
  }
}