Skip to content

Instantly share code, notes, and snippets.

@gayanW
Created August 25, 2017 16:05
Show Gist options
  • Save gayanW/9d97262356622da18d408186fe1fe120 to your computer and use it in GitHub Desktop.
Save gayanW/9d97262356622da18d408186fe1fe120 to your computer and use it in GitHub Desktop.
{
"swagger": "2.0",
"info": {
"description": "OpenMRS RESTful API specification",
"version": "2.0.5",
"title": "OpenMRS API Docs",
"contact": {
"url": "http://openmrs.org"
},
"license": {
"name": "MPL-2.0 w/ HD",
"url": "http://openmrs.org/license"
}
},
"host": "localhost:8080",
"basePath": "/openmrs/ws/rest/v1",
"schemes": [
"http"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"basic_auth": []
}
],
"paths": {
"/drug": {
"get": {
"tags": [
"drug"
],
"summary": "Fetch all non-retired drug resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllDrugs",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "q",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "code",
"in": "query",
"description": "Must be used with source",
"required": false,
"type": "string"
},
{
"name": "preferredMapTypes",
"in": "query",
"description": "Must be used with source",
"required": false,
"type": "string"
},
{
"name": "source",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "locale",
"in": "query",
"description": "Must be used with q",
"required": false,
"type": "string"
},
{
"name": "exactLocale",
"in": "query",
"description": "Must be used with q",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "drug response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"drug"
],
"summary": "Create with properties in request",
"operationId": "createDrug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/DrugCreate"
}
}
],
"responses": {
"201": {
"description": "drug response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/drug/{uuid}": {
"get": {
"tags": [
"drug"
],
"summary": "Fetch by uuid",
"operationId": "getDrug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "drug response",
"schema": {
"$ref": "#/definitions/DrugGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"drug"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateDrug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/DrugUpdate"
}
}
],
"responses": {
"201": {
"description": "drug response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"drug"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteDrug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/appointmentscheduling/appointmentrequest": {
"get": {
"tags": [
"appointmentscheduling/appointmentrequest"
],
"summary": "Fetch all non-retired appointmentscheduling/appointmentrequest resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllAppointmentRequests",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmentrequest response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmentrequest"
],
"summary": "Create with properties in request",
"operationId": "createAppointmentRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentrequestCreate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmentrequest response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/appointmentscheduling/appointmentrequest/{uuid}": {
"get": {
"tags": [
"appointmentscheduling/appointmentrequest"
],
"summary": "Fetch by uuid",
"operationId": "getAppointmentRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmentrequest response",
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentrequestGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmentrequest"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateAppointmentRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentrequestUpdate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmentrequest response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"appointmentscheduling/appointmentrequest"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteAppointmentRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/chartSearchPreference": {
"get": {
"tags": [
"chartSearchPreference"
],
"summary": "Search for chartSearchPreference",
"description": "At least one search parameter must be specified",
"operationId": "getAllChartSearchPreferences",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "chartSearchPreference response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"chartSearchPreference"
],
"summary": "Create with properties in request",
"operationId": "createChartSearchPreference",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ChartSearchPreferenceCreate"
}
}
],
"responses": {
"201": {
"description": "chartSearchPreference response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/chartSearchPreference/{uuid}": {
"get": {
"tags": [
"chartSearchPreference"
],
"summary": "Fetch by uuid",
"operationId": "getChartSearchPreference",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "chartSearchPreference response",
"schema": {
"$ref": "#/definitions/ChartSearchPreferenceGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"chartSearchPreference"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteChartSearchPreference",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/customdatatype": {
"get": {
"tags": [
"customdatatype"
],
"summary": "Fetch all non-retired customdatatype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllCustomDatatypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "customdatatype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/customdatatype/{uuid}": {
"get": {
"tags": [
"customdatatype"
],
"summary": "Fetch by uuid",
"operationId": "getCustomDatatype",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "customdatatype response",
"schema": {
"$ref": "#/definitions/CustomdatatypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"customdatatype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteCustomDatatype",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/providerattributetype": {
"get": {
"tags": [
"providerattributetype"
],
"summary": "Fetch all non-retired providerattributetype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllProviderAttributeTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "providerattributetype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"providerattributetype"
],
"summary": "Create with properties in request",
"operationId": "createProviderAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderattributetypeCreate"
}
}
],
"responses": {
"201": {
"description": "providerattributetype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/providerattributetype/{uuid}": {
"get": {
"tags": [
"providerattributetype"
],
"summary": "Fetch by uuid",
"operationId": "getProviderAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "providerattributetype response",
"schema": {
"$ref": "#/definitions/ProviderattributetypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"providerattributetype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateProviderAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderattributetypeUpdate"
}
}
],
"responses": {
"201": {
"description": "providerattributetype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"providerattributetype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProviderAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/location": {
"get": {
"tags": [
"location"
],
"summary": "Fetch all non-retired location resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllLocations",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "tag",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "location response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"location"
],
"summary": "Create with properties in request",
"operationId": "createLocation",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/LocationCreate"
}
}
],
"responses": {
"201": {
"description": "location response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/location/{uuid}": {
"get": {
"tags": [
"location"
],
"summary": "Fetch by uuid",
"operationId": "getLocation",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "location response",
"schema": {
"$ref": "#/definitions/LocationGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"location"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateLocation",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/LocationUpdate"
}
}
],
"responses": {
"201": {
"description": "location response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"location"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteLocation",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptstopword": {
"get": {
"tags": [
"conceptstopword"
],
"summary": "Fetch all non-retired conceptstopword resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptStopwords",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptstopword response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptstopword"
],
"summary": "Create with properties in request",
"operationId": "createConceptStopword",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptstopwordCreate"
}
}
],
"responses": {
"201": {
"description": "conceptstopword response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptstopword/{uuid}": {
"get": {
"tags": [
"conceptstopword"
],
"summary": "Fetch by uuid",
"operationId": "getConceptStopword",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptstopword response",
"schema": {
"$ref": "#/definitions/ConceptstopwordGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptstopword"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptStopword",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptstopwordUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptstopword response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptstopword"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptStopword",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/metadatamapping/termmapping": {
"get": {
"tags": [
"metadatamapping/termmapping"
],
"summary": "Fetch all non-retired metadatamapping/termmapping resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllMetadataTermMappings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/termmapping response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"metadatamapping/termmapping"
],
"summary": "Create with properties in request",
"operationId": "createMetadataTermMapping",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingTermmappingCreate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/termmapping response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/metadatamapping/termmapping/{uuid}": {
"get": {
"tags": [
"metadatamapping/termmapping"
],
"summary": "Fetch by uuid",
"operationId": "getMetadataTermMapping",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/termmapping response",
"schema": {
"$ref": "#/definitions/MetadatamappingTermmappingGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"metadatamapping/termmapping"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateMetadataTermMapping",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingTermmappingUpdate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/termmapping response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"metadatamapping/termmapping"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteMetadataTermMapping",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/person": {
"get": {
"tags": [
"person"
],
"summary": "Search for person",
"description": "At least one search parameter must be specified",
"operationId": "getAllPersons",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "person response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"person"
],
"summary": "Create with properties in request",
"operationId": "createPerson",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonCreate"
}
}
],
"responses": {
"201": {
"description": "person response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/person/{uuid}": {
"get": {
"tags": [
"person"
],
"summary": "Fetch by uuid",
"operationId": "getPerson",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "person response",
"schema": {
"$ref": "#/definitions/PersonGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePerson",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonUpdate"
}
}
],
"responses": {
"201": {
"description": "person response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"person"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePerson",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/orderset": {
"get": {
"tags": [
"orderset"
],
"summary": "Fetch all non-retired orderset resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllOrderSets",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "orderset response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"orderset"
],
"summary": "Create with properties in request",
"operationId": "createOrderSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/OrdersetCreate"
}
}
],
"responses": {
"201": {
"description": "orderset response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/orderset/{uuid}": {
"get": {
"tags": [
"orderset"
],
"summary": "Fetch by uuid",
"operationId": "getOrderSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "orderset response",
"schema": {
"$ref": "#/definitions/OrdersetGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"orderset"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateOrderSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/OrdersetUpdate"
}
}
],
"responses": {
"201": {
"description": "orderset response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"orderset"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteOrderSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptsearch": {
"get": {
"tags": [
"conceptsearch"
],
"summary": "Search for conceptsearch",
"description": "At least one search parameter must be specified",
"operationId": "getAllConceptSearches",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptsearch response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
}
},
"/conceptmaptype": {
"get": {
"tags": [
"conceptmaptype"
],
"summary": "Fetch all non-retired conceptmaptype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptMapTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptmaptype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptmaptype"
],
"summary": "Create with properties in request",
"operationId": "createConceptMapType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
],
"responses": {
"201": {
"description": "conceptmaptype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptmaptype/{uuid}": {
"get": {
"tags": [
"conceptmaptype"
],
"summary": "Fetch by uuid",
"operationId": "getConceptMapType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptmaptype response",
"schema": {
"$ref": "#/definitions/ConceptmaptypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptmaptype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptMapType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptmaptypeUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptmaptype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptmaptype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptMapType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/fieldtype": {
"get": {
"tags": [
"fieldtype"
],
"summary": "Fetch all non-retired fieldtype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllFieldTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "fieldtype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"fieldtype"
],
"summary": "Create with properties in request",
"operationId": "createFieldType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FieldtypeCreate"
}
}
],
"responses": {
"201": {
"description": "fieldtype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/fieldtype/{uuid}": {
"get": {
"tags": [
"fieldtype"
],
"summary": "Fetch by uuid",
"operationId": "getFieldType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "fieldtype response",
"schema": {
"$ref": "#/definitions/FieldtypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"fieldtype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateFieldType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FieldtypeUpdate"
}
}
],
"responses": {
"201": {
"description": "fieldtype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"fieldtype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteFieldType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/appointmentscheduling/appointment": {
"get": {
"tags": [
"appointmentscheduling/appointment"
],
"summary": "Fetch all non-retired appointmentscheduling/appointment resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllAppointments",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointment response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointment"
],
"summary": "Create with properties in request",
"operationId": "createAppointment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentCreate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointment response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/appointmentscheduling/appointment/{uuid}": {
"get": {
"tags": [
"appointmentscheduling/appointment"
],
"summary": "Fetch by uuid",
"operationId": "getAppointment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointment response",
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointment"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateAppointment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentUpdate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointment response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"appointmentscheduling/appointment"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteAppointment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/concept": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch all non-retired concept resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConcepts",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "code",
"in": "query",
"description": "Must be used with source",
"required": false,
"type": "string"
},
{
"name": "searchType",
"in": "query",
"description": "Must be used with name",
"required": false,
"type": "string"
},
{
"name": "name",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "term",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "source",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "class",
"in": "query",
"description": "Must be used with name",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "concept response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Create with properties in request",
"operationId": "createConcept",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptCreate"
}
}
],
"responses": {
"201": {
"description": "concept response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/concept/{uuid}": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch by uuid",
"operationId": "getConcept",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "concept response",
"schema": {
"$ref": "#/definitions/ConceptGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConcept",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptUpdate"
}
}
],
"responses": {
"201": {
"description": "concept response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"concept"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConcept",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/field": {
"get": {
"tags": [
"field"
],
"summary": "Fetch all non-retired field resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllFields",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "field response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"field"
],
"summary": "Create with properties in request",
"operationId": "createField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FieldCreate"
}
}
],
"responses": {
"201": {
"description": "field response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/field/{uuid}": {
"get": {
"tags": [
"field"
],
"summary": "Fetch by uuid",
"operationId": "getField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "field response",
"schema": {
"$ref": "#/definitions/FieldGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"field"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FieldUpdate"
}
}
],
"responses": {
"201": {
"description": "field response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"field"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/user": {
"get": {
"tags": [
"user"
],
"summary": "Fetch all non-retired user resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllUsers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "username",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "user response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"user"
],
"summary": "Create with properties in request",
"operationId": "createUser",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/UserCreate"
}
}
],
"responses": {
"201": {
"description": "user response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/user/{uuid}": {
"get": {
"tags": [
"user"
],
"summary": "Fetch by uuid",
"operationId": "getUser",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "user response",
"schema": {
"$ref": "#/definitions/UserGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"user"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateUser",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/UserUpdate"
}
}
],
"responses": {
"201": {
"description": "user response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"user"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteUser",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptreferencetermmap": {
"get": {
"tags": [
"conceptreferencetermmap"
],
"summary": "Search for conceptreferencetermmap",
"description": "At least one search parameter must be specified",
"operationId": "getAllConceptReferenceTermMaps",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "maps",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "termB",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "termA",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "maptype",
"in": "query",
"description": "Must be used with maps",
"required": false,
"type": "string"
},
{
"name": "to",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptreferencetermmap response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"conceptreferencetermmap"
],
"summary": "Create with properties in request",
"operationId": "createConceptReferenceTermMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptreferencetermmapCreate"
}
}
],
"responses": {
"201": {
"description": "conceptreferencetermmap response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptreferencetermmap/{uuid}": {
"get": {
"tags": [
"conceptreferencetermmap"
],
"summary": "Fetch by uuid",
"operationId": "getConceptReferenceTermMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptreferencetermmap response",
"schema": {
"$ref": "#/definitions/ConceptreferencetermmapGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptreferencetermmap"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptReferenceTermMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptreferencetermmapUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptreferencetermmap response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptreferencetermmap"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptReferenceTermMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/programenrollment": {
"get": {
"tags": [
"programenrollment"
],
"summary": "Search for programenrollment",
"description": "At least one search parameter must be specified",
"operationId": "getAllProgramEnrollments",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "programenrollment response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"programenrollment"
],
"summary": "Create with properties in request",
"operationId": "createProgramEnrollment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramenrollmentCreate"
}
}
],
"responses": {
"201": {
"description": "programenrollment response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/programenrollment/{uuid}": {
"get": {
"tags": [
"programenrollment"
],
"summary": "Fetch by uuid",
"operationId": "getProgramEnrollment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "programenrollment response",
"schema": {
"$ref": "#/definitions/ProgramenrollmentGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"programenrollment"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateProgramEnrollment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramenrollmentUpdate"
}
}
],
"responses": {
"201": {
"description": "programenrollment response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"programenrollment"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProgramEnrollment",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/app": {
"get": {
"tags": [
"app"
],
"summary": "Fetch all non-retired",
"operationId": "getAllApps",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "app response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/app/{uuid}": {
"get": {
"tags": [
"app"
],
"summary": "Fetch by uuid",
"operationId": "getApp",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "app response",
"schema": {
"$ref": "#/definitions/AppGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/locationtag": {
"get": {
"tags": [
"locationtag"
],
"summary": "Fetch all non-retired locationtag resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllLocationTags",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "locationtag response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"locationtag"
],
"summary": "Create with properties in request",
"operationId": "createLocationTag",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/LocationtagCreate"
}
}
],
"responses": {
"201": {
"description": "locationtag response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/locationtag/{uuid}": {
"get": {
"tags": [
"locationtag"
],
"summary": "Fetch by uuid",
"operationId": "getLocationTag",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "locationtag response",
"schema": {
"$ref": "#/definitions/LocationtagGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"locationtag"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateLocationTag",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/LocationtagUpdate"
}
}
],
"responses": {
"201": {
"description": "locationtag response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"locationtag"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteLocationTag",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/patient": {
"get": {
"tags": [
"patient"
],
"summary": "Search for patient",
"description": "At least one search parameter must be specified",
"operationId": "getAllPatients",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "matchSimilar",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "country",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "identifier",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "birthdate",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "gender",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "city",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "address2",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "searchType",
"in": "query",
"description": "Must be used with identifier",
"required": false,
"type": "string"
},
{
"name": "address1",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "familyname",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "middlename",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "lastviewed",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "postalcode",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "givenname",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
},
{
"name": "state",
"in": "query",
"description": "Must be used with matchSimilar",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "patient response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"patient"
],
"summary": "Create with properties in request",
"operationId": "createPatient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PatientCreate"
}
}
],
"responses": {
"201": {
"description": "patient response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/patient/{uuid}": {
"get": {
"tags": [
"patient"
],
"summary": "Fetch by uuid",
"operationId": "getPatient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "patient response",
"schema": {
"$ref": "#/definitions/PatientGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"patient"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePatient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PatientUpdate"
}
}
],
"responses": {
"201": {
"description": "patient response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"patient"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePatient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptclass": {
"get": {
"tags": [
"conceptclass"
],
"summary": "Fetch all non-retired conceptclass resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptClasses",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptclass response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptclass"
],
"summary": "Create with properties in request",
"operationId": "createConceptClass",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptclassCreate"
}
}
],
"responses": {
"201": {
"description": "conceptclass response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptclass/{uuid}": {
"get": {
"tags": [
"conceptclass"
],
"summary": "Fetch by uuid",
"operationId": "getConceptClass",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptclass response",
"schema": {
"$ref": "#/definitions/ConceptclassGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptclass"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptClass",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptclassUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptclass response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptclass"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptClass",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/role": {
"get": {
"tags": [
"role"
],
"summary": "Fetch all non-retired role resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllRoles",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "role response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"role"
],
"summary": "Create with properties in request",
"operationId": "createRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/RoleCreate"
}
}
],
"responses": {
"201": {
"description": "role response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/role/{uuid}": {
"get": {
"tags": [
"role"
],
"summary": "Fetch by uuid",
"operationId": "getRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "role response",
"schema": {
"$ref": "#/definitions/RoleGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"role"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/RoleUpdate"
}
}
],
"responses": {
"201": {
"description": "role response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"role"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptattributetype": {
"get": {
"tags": [
"conceptattributetype"
],
"summary": "Fetch all non-retired conceptattributetype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptAttributeTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptattributetype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptattributetype"
],
"summary": "Create with properties in request",
"operationId": "createConceptAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptattributetypeCreate"
}
}
],
"responses": {
"201": {
"description": "conceptattributetype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptattributetype/{uuid}": {
"get": {
"tags": [
"conceptattributetype"
],
"summary": "Fetch by uuid",
"operationId": "getConceptAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptattributetype response",
"schema": {
"$ref": "#/definitions/ConceptattributetypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptattributetype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptattributetypeUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptattributetype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptattributetype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/ordertype": {
"get": {
"tags": [
"ordertype"
],
"summary": "Fetch all non-retired ordertype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllOrderTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "ordertype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"ordertype"
],
"summary": "Create with properties in request",
"operationId": "createOrderType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/OrdertypeCreate"
}
}
],
"responses": {
"201": {
"description": "ordertype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/ordertype/{uuid}": {
"get": {
"tags": [
"ordertype"
],
"summary": "Fetch by uuid",
"operationId": "getOrderType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "ordertype response",
"schema": {
"$ref": "#/definitions/OrdertypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"ordertype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateOrderType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/OrdertypeUpdate"
}
}
],
"responses": {
"201": {
"description": "ordertype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"ordertype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteOrderType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/visit": {
"get": {
"tags": [
"visit"
],
"summary": "Fetch all non-retired visit resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllVisits",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "visit response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"visit"
],
"summary": "Create with properties in request",
"operationId": "createVisit",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/VisitCreate"
}
}
],
"responses": {
"201": {
"description": "visit response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/visit/{uuid}": {
"get": {
"tags": [
"visit"
],
"summary": "Fetch by uuid",
"operationId": "getVisit",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "visit response",
"schema": {
"$ref": "#/definitions/VisitGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"visit"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateVisit",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/VisitUpdate"
}
}
],
"responses": {
"201": {
"description": "visit response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"visit"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteVisit",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/metadatamapping/metadataset": {
"get": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Fetch all non-retired metadatamapping/metadataset resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllMetadataSets",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/metadataset response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Create with properties in request",
"operationId": "createMetadataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetCreate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/metadataset response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/metadatamapping/metadataset/{uuid}": {
"get": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Fetch by uuid",
"operationId": "getMetadataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/metadataset response",
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateMetadataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetUpdate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/metadataset response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteMetadataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptdatatype": {
"get": {
"tags": [
"conceptdatatype"
],
"summary": "Fetch all non-retired conceptdatatype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptDatatypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptdatatype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptdatatype/{uuid}": {
"get": {
"tags": [
"conceptdatatype"
],
"summary": "Fetch by uuid",
"operationId": "getConceptDatatype",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptdatatype response",
"schema": {
"$ref": "#/definitions/ConceptdatatypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"conceptdatatype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptDatatype",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/dataSetDefinition": {
"get": {
"tags": [
"reportingrest/dataSetDefinition"
],
"summary": "Fetch all non-retired reportingrest/dataSetDefinition resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllDataSetDefinitions",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/dataSetDefinition response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"reportingrest/dataSetDefinition"
],
"summary": "Create with properties in request",
"operationId": "createDataSetDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestDataSetDefinitionCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/dataSetDefinition response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/dataSetDefinition/{uuid}": {
"get": {
"tags": [
"reportingrest/dataSetDefinition"
],
"summary": "Fetch by uuid",
"operationId": "getDataSetDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/dataSetDefinition response",
"schema": {
"$ref": "#/definitions/ReportingrestDataSetDefinitionGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"reportingrest/dataSetDefinition"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateDataSetDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestDataSetDefinitionUpdate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/dataSetDefinition response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"reportingrest/dataSetDefinition"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteDataSetDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/privilege": {
"get": {
"tags": [
"privilege"
],
"summary": "Fetch all non-retired privilege resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllPrivileges",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "privilege response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"privilege"
],
"summary": "Create with properties in request",
"operationId": "createPrivilege",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PrivilegeCreate"
}
}
],
"responses": {
"201": {
"description": "privilege response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/privilege/{uuid}": {
"get": {
"tags": [
"privilege"
],
"summary": "Fetch by uuid",
"operationId": "getPrivilege",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "privilege response",
"schema": {
"$ref": "#/definitions/PrivilegeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"privilege"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePrivilege",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PrivilegeUpdate"
}
}
],
"responses": {
"201": {
"description": "privilege response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"privilege"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePrivilege",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptsource": {
"get": {
"tags": [
"conceptsource"
],
"summary": "Fetch all non-retired conceptsource resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptSources",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptsource response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptsource"
],
"summary": "Create with properties in request",
"operationId": "createConceptSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptsourceCreate"
}
}
],
"responses": {
"201": {
"description": "conceptsource response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptsource/{uuid}": {
"get": {
"tags": [
"conceptsource"
],
"summary": "Fetch by uuid",
"operationId": "getConceptSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptsource response",
"schema": {
"$ref": "#/definitions/ConceptsourceGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptsource"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptsourceUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptsource response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptsource"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/reportdata": {
"get": {
"tags": [
"reportingrest/reportdata"
],
"summary": "Search for reportingrest/reportdata",
"description": "At least one search parameter must be specified",
"operationId": "getAllEvaluatedReportDefinitions",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportdata response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"reportingrest/reportdata"
],
"summary": "Create with properties in request",
"operationId": "createEvaluatedReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestReportdataCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/reportdata response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/reportdata/{uuid}": {
"get": {
"tags": [
"reportingrest/reportdata"
],
"summary": "Fetch by uuid",
"operationId": "getEvaluatedReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportdata response",
"schema": {
"$ref": "#/definitions/ReportingrestReportdataGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"reportingrest/reportdata"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEvaluatedReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/moduleaction": {
"post": {
"tags": [
"moduleaction"
],
"summary": "Create with properties in request",
"operationId": "createModuleAction",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ModuleactionCreate"
}
}
],
"responses": {
"201": {
"description": "moduleaction response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/dataSet": {
"get": {
"tags": [
"reportingrest/dataSet"
],
"summary": "Search for reportingrest/dataSet",
"description": "At least one search parameter must be specified",
"operationId": "getAllEvaluatedDataSets",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/dataSet response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"reportingrest/dataSet"
],
"summary": "Create with properties in request",
"operationId": "createEvaluatedDataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestDataSetCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/dataSet response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/dataSet/{uuid}": {
"get": {
"tags": [
"reportingrest/dataSet"
],
"summary": "Fetch by uuid",
"operationId": "getEvaluatedDataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/dataSet response",
"schema": {
"$ref": "#/definitions/ReportingrestDataSetGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"reportingrest/dataSet"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEvaluatedDataSet",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/order": {
"get": {
"tags": [
"order"
],
"summary": "Search for order",
"description": "At least one search parameter must be specified",
"operationId": "getAllOrders",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "order response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"order"
],
"summary": "Create with properties in request",
"operationId": "createOrder",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/OrderCreate"
}
}
],
"responses": {
"201": {
"description": "order response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/order/{uuid}": {
"get": {
"tags": [
"order"
],
"summary": "Fetch by uuid",
"operationId": "getOrder",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "order response",
"schema": {
"$ref": "#/definitions/OrderGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"order"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteOrder",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/caresetting": {
"get": {
"tags": [
"caresetting"
],
"summary": "Fetch all non-retired caresetting resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllCareSettings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "caresetting response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/caresetting/{uuid}": {
"get": {
"tags": [
"caresetting"
],
"summary": "Fetch by uuid",
"operationId": "getCareSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "caresetting response",
"schema": {
"$ref": "#/definitions/CaresettingGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"caresetting"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteCareSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/hl7source": {
"get": {
"tags": [
"hl7source"
],
"summary": "Search for hl7source",
"description": "At least one search parameter must be specified",
"operationId": "getAllHL7Sources",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "hl7source response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"hl7source"
],
"summary": "Create with properties in request",
"operationId": "createHL7Source",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/Hl7sourceCreate"
}
}
],
"responses": {
"201": {
"description": "hl7source response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/hl7source/{uuid}": {
"get": {
"tags": [
"hl7source"
],
"summary": "Fetch by uuid",
"operationId": "getHL7Source",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "hl7source response",
"schema": {
"$ref": "#/definitions/Hl7sourceGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"hl7source"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateHL7Source",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/Hl7sourceUpdate"
}
}
],
"responses": {
"201": {
"description": "hl7source response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"hl7source"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteHL7Source",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/systemsetting": {
"get": {
"tags": [
"systemsetting"
],
"summary": "Fetch all non-retired systemsetting resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllSystemSettings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "systemsetting response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"systemsetting"
],
"summary": "Create with properties in request",
"operationId": "createSystemSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/SystemsettingCreate"
}
}
],
"responses": {
"201": {
"description": "systemsetting response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/systemsetting/{uuid}": {
"get": {
"tags": [
"systemsetting"
],
"summary": "Fetch by uuid",
"operationId": "getSystemSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "systemsetting response",
"schema": {
"$ref": "#/definitions/SystemsettingGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"systemsetting"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateSystemSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/SystemsettingUpdate"
}
}
],
"responses": {
"201": {
"description": "systemsetting response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"systemsetting"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteSystemSetting",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/visitattributetype": {
"get": {
"tags": [
"visitattributetype"
],
"summary": "Fetch all non-retired visitattributetype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllVisitAttributeTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "visitattributetype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"visitattributetype"
],
"summary": "Create with properties in request",
"operationId": "createVisitAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/VisitattributetypeCreate"
}
}
],
"responses": {
"201": {
"description": "visitattributetype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/visitattributetype/{uuid}": {
"get": {
"tags": [
"visitattributetype"
],
"summary": "Fetch by uuid",
"operationId": "getVisitAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "visitattributetype response",
"schema": {
"$ref": "#/definitions/VisitattributetypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"visitattributetype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateVisitAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/VisitattributetypeUpdate"
}
}
],
"responses": {
"201": {
"description": "visitattributetype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"visitattributetype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteVisitAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/conceptreferenceterm": {
"get": {
"tags": [
"conceptreferenceterm"
],
"summary": "Fetch all non-retired conceptreferenceterm resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptReferenceTerms",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "codeOrName",
"in": "query",
"description": "Must be used with ",
"required": false,
"type": "string"
},
{
"name": "searchType",
"in": "query",
"description": "Must be used with ",
"required": false,
"type": "string"
},
{
"name": "source",
"in": "query",
"description": "Must be used with ",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptreferenceterm response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"conceptreferenceterm"
],
"summary": "Create with properties in request",
"operationId": "createConceptReferenceTerm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptreferencetermCreate"
}
}
],
"responses": {
"201": {
"description": "conceptreferenceterm response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/conceptreferenceterm/{uuid}": {
"get": {
"tags": [
"conceptreferenceterm"
],
"summary": "Fetch by uuid",
"operationId": "getConceptReferenceTerm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "conceptreferenceterm response",
"schema": {
"$ref": "#/definitions/ConceptreferencetermGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"conceptreferenceterm"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateConceptReferenceTerm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptreferencetermUpdate"
}
}
],
"responses": {
"201": {
"description": "conceptreferenceterm response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"conceptreferenceterm"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptReferenceTerm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/locationattributetype": {
"get": {
"tags": [
"locationattributetype"
],
"summary": "Fetch all non-retired locationattributetype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllLocationAttributeTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "locationattributetype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"locationattributetype"
],
"summary": "Create with properties in request",
"operationId": "createLocationAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/LocationattributetypeCreate"
}
}
],
"responses": {
"201": {
"description": "locationattributetype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/locationattributetype/{uuid}": {
"get": {
"tags": [
"locationattributetype"
],
"summary": "Fetch by uuid",
"operationId": "getLocationAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "locationattributetype response",
"schema": {
"$ref": "#/definitions/LocationattributetypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"locationattributetype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateLocationAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/LocationattributetypeUpdate"
}
}
],
"responses": {
"201": {
"description": "locationattributetype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"locationattributetype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteLocationAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/workflow": {
"get": {
"tags": [
"workflow"
],
"summary": "Search for workflow",
"description": "At least one search parameter must be specified",
"operationId": "getAllProgramWorkflows",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "workflow response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"workflow"
],
"summary": "Create with properties in request",
"operationId": "createProgramWorkflow",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowCreate"
}
}
],
"responses": {
"201": {
"description": "workflow response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/workflow/{uuid}": {
"get": {
"tags": [
"workflow"
],
"summary": "Fetch by uuid",
"operationId": "getProgramWorkflow",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "workflow response",
"schema": {
"$ref": "#/definitions/WorkflowGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"workflow"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateProgramWorkflow",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowUpdate"
}
}
],
"responses": {
"201": {
"description": "workflow response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"workflow"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProgramWorkflow",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/program": {
"get": {
"tags": [
"program"
],
"summary": "Fetch all non-retired program resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllPrograms",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "program response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"program"
],
"summary": "Create with properties in request",
"operationId": "createProgram",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramCreate"
}
}
],
"responses": {
"201": {
"description": "program response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/program/{uuid}": {
"get": {
"tags": [
"program"
],
"summary": "Fetch by uuid",
"operationId": "getProgram",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "program response",
"schema": {
"$ref": "#/definitions/ProgramGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"program"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateProgram",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramUpdate"
}
}
],
"responses": {
"201": {
"description": "program response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"program"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProgram",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/form": {
"get": {
"tags": [
"form"
],
"summary": "Fetch all non-retired form resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllForms",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "form response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "Create with properties in request",
"operationId": "createForm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FormCreate"
}
}
],
"responses": {
"201": {
"description": "form response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/form/{uuid}": {
"get": {
"tags": [
"form"
],
"summary": "Fetch by uuid",
"operationId": "getForm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "form response",
"schema": {
"$ref": "#/definitions/FormGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateForm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FormUpdate"
}
}
],
"responses": {
"201": {
"description": "form response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"form"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteForm",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/chartsearchnote": {
"get": {
"tags": [
"chartsearchnote"
],
"summary": "Search for chartsearchnote",
"description": "At least one search parameter must be specified",
"operationId": "getAllChartSearchNotes",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "chartsearchnote response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"chartsearchnote"
],
"summary": "Create with properties in request",
"operationId": "createChartSearchNote",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ChartsearchnoteCreate"
}
}
],
"responses": {
"201": {
"description": "chartsearchnote response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/chartsearchnote/{uuid}": {
"get": {
"tags": [
"chartsearchnote"
],
"summary": "Fetch by uuid",
"operationId": "getChartSearchNote",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "chartsearchnote response",
"schema": {
"$ref": "#/definitions/ChartsearchnoteGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"chartsearchnote"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteChartSearchNote",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/appointmentscheduling/timeslot": {
"get": {
"tags": [
"appointmentscheduling/timeslot"
],
"summary": "Fetch all non-retired appointmentscheduling/timeslot resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllTimeSlots",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/timeslot response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"appointmentscheduling/timeslot"
],
"summary": "Create with properties in request",
"operationId": "createTimeSlot",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingTimeslotCreate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/timeslot response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/appointmentscheduling/timeslot/{uuid}": {
"get": {
"tags": [
"appointmentscheduling/timeslot"
],
"summary": "Fetch by uuid",
"operationId": "getTimeSlot",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/timeslot response",
"schema": {
"$ref": "#/definitions/AppointmentschedulingTimeslotGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"appointmentscheduling/timeslot"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateTimeSlot",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingTimeslotUpdate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/timeslot response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"appointmentscheduling/timeslot"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteTimeSlot",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/cohortDefinition": {
"get": {
"tags": [
"reportingrest/cohortDefinition"
],
"summary": "Fetch all non-retired reportingrest/cohortDefinition resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllCohortDefinitions",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/cohortDefinition response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"reportingrest/cohortDefinition"
],
"summary": "Create with properties in request",
"operationId": "createCohortDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestCohortDefinitionCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/cohortDefinition response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/cohortDefinition/{uuid}": {
"get": {
"tags": [
"reportingrest/cohortDefinition"
],
"summary": "Fetch by uuid",
"operationId": "getCohortDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/cohortDefinition response",
"schema": {
"$ref": "#/definitions/ReportingrestCohortDefinitionGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"reportingrest/cohortDefinition"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateCohortDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestCohortDefinitionUpdate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/cohortDefinition response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"reportingrest/cohortDefinition"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteCohortDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/personattributetype": {
"get": {
"tags": [
"personattributetype"
],
"summary": "Fetch all non-retired personattributetype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllPersonAttributeTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "personattributetype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"personattributetype"
],
"summary": "Create with properties in request",
"operationId": "createPersonAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonattributetypeCreate"
}
}
],
"responses": {
"201": {
"description": "personattributetype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/personattributetype/{uuid}": {
"get": {
"tags": [
"personattributetype"
],
"summary": "Fetch by uuid",
"operationId": "getPersonAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "personattributetype response",
"schema": {
"$ref": "#/definitions/PersonattributetypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"personattributetype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePersonAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonattributetypeUpdate"
}
}
],
"responses": {
"201": {
"description": "personattributetype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"personattributetype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePersonAttributeType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/cohort": {
"get": {
"tags": [
"reportingrest/cohort"
],
"summary": "Search for reportingrest/cohort",
"description": "At least one search parameter must be specified",
"operationId": "getAllEvaluatedCohorts",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/cohort response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"reportingrest/cohort"
],
"summary": "Create with properties in request",
"operationId": "createEvaluatedCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestCohortCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/cohort response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/cohort/{uuid}": {
"get": {
"tags": [
"reportingrest/cohort"
],
"summary": "Fetch by uuid",
"operationId": "getEvaluatedCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/cohort response",
"schema": {
"$ref": "#/definitions/ReportingrestCohortGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"reportingrest/cohort"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEvaluatedCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/encountertype": {
"get": {
"tags": [
"encountertype"
],
"summary": "Fetch all non-retired encountertype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllEncounterTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "encountertype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"encountertype"
],
"summary": "Create with properties in request",
"operationId": "createEncounterType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/EncountertypeCreate"
}
}
],
"responses": {
"201": {
"description": "encountertype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/encountertype/{uuid}": {
"get": {
"tags": [
"encountertype"
],
"summary": "Fetch by uuid",
"operationId": "getEncounterType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "encountertype response",
"schema": {
"$ref": "#/definitions/EncountertypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"encountertype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateEncounterType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/EncountertypeUpdate"
}
}
],
"responses": {
"201": {
"description": "encountertype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"encountertype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEncounterType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/apptemplate": {
"get": {
"tags": [
"apptemplate"
],
"summary": "Fetch all non-retired",
"operationId": "getAllAppTemplates",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "apptemplate response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/apptemplate/{uuid}": {
"get": {
"tags": [
"apptemplate"
],
"summary": "Fetch by uuid",
"operationId": "getAppTemplate",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "apptemplate response",
"schema": {
"$ref": "#/definitions/ApptemplateGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/relationship": {
"get": {
"tags": [
"relationship"
],
"summary": "Fetch all non-retired relationship resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllRelationships",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "personB",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "personA",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "person",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "relation",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "relatedPerson",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "relationship response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"relationship"
],
"summary": "Create with properties in request",
"operationId": "createRelationship",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/RelationshipCreate"
}
}
],
"responses": {
"201": {
"description": "relationship response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/relationship/{uuid}": {
"get": {
"tags": [
"relationship"
],
"summary": "Fetch by uuid",
"operationId": "getRelationship",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "relationship response",
"schema": {
"$ref": "#/definitions/RelationshipGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"relationship"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateRelationship",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/RelationshipUpdate"
}
}
],
"responses": {
"201": {
"description": "relationship response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"relationship"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteRelationship",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/orderfrequency": {
"get": {
"tags": [
"orderfrequency"
],
"summary": "Fetch all non-retired orderfrequency resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllOrderFrequencies",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "orderfrequency response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/orderfrequency/{uuid}": {
"get": {
"tags": [
"orderfrequency"
],
"summary": "Fetch by uuid",
"operationId": "getOrderFrequency",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "orderfrequency response",
"schema": {
"$ref": "#/definitions/OrderfrequencyGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"orderfrequency"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateOrderFrequency",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/OrderfrequencyUpdate"
}
}
],
"responses": {
"201": {
"description": "orderfrequency response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"orderfrequency"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteOrderFrequency",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/reportRequest": {
"get": {
"tags": [
"reportingrest/reportRequest"
],
"summary": "Search for reportingrest/reportRequest",
"description": "At least one search parameter must be specified",
"operationId": "getAllReportRequests",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportRequest response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"reportingrest/reportRequest"
],
"summary": "Create with properties in request",
"operationId": "createReportRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestReportRequestCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/reportRequest response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/reportRequest/{uuid}": {
"get": {
"tags": [
"reportingrest/reportRequest"
],
"summary": "Fetch by uuid",
"operationId": "getReportRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportRequest response",
"schema": {
"$ref": "#/definitions/ReportingrestReportRequestGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"reportingrest/reportRequest"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteReportRequest",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/hl7": {
"get": {
"tags": [
"hl7"
],
"summary": "Search for hl7",
"description": "At least one search parameter must be specified",
"operationId": "getAllHL7Messages",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "hl7 response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"hl7"
],
"summary": "Create with properties in request",
"operationId": "createHL7Message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/Hl7Create"
}
}
],
"responses": {
"201": {
"description": "hl7 response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/module": {
"get": {
"tags": [
"module"
],
"summary": "Fetch all non-retired",
"operationId": "getAllModules",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "module response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/module/{uuid}": {
"get": {
"tags": [
"module"
],
"summary": "Fetch by uuid",
"operationId": "getModule",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "module response",
"schema": {
"$ref": "#/definitions/ModuleGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/patientidentifiertype": {
"get": {
"tags": [
"patientidentifiertype"
],
"summary": "Fetch all non-retired patientidentifiertype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllPatientIdentifierTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "patientidentifiertype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"patientidentifiertype"
],
"summary": "Create with properties in request",
"operationId": "createPatientIdentifierType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PatientidentifiertypeCreate"
}
}
],
"responses": {
"201": {
"description": "patientidentifiertype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/patientidentifiertype/{uuid}": {
"get": {
"tags": [
"patientidentifiertype"
],
"summary": "Fetch by uuid",
"operationId": "getPatientIdentifierType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "patientidentifiertype response",
"schema": {
"$ref": "#/definitions/PatientidentifiertypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"patientidentifiertype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePatientIdentifierType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PatientidentifiertypeUpdate"
}
}
],
"responses": {
"201": {
"description": "patientidentifiertype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"patientidentifiertype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePatientIdentifierType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/appointmentscheduling/appointmentblock": {
"get": {
"tags": [
"appointmentscheduling/appointmentblock"
],
"summary": "Fetch all non-retired appointmentscheduling/appointmentblock resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllAppointmentBlocks",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmentblock response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmentblock"
],
"summary": "Create with properties in request",
"operationId": "createAppointmentBlock",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentblockCreate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmentblock response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/appointmentscheduling/appointmentblock/{uuid}": {
"get": {
"tags": [
"appointmentscheduling/appointmentblock"
],
"summary": "Fetch by uuid",
"operationId": "getAppointmentBlock",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmentblock response",
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentblockGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmentblock"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateAppointmentBlock",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmentblockUpdate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmentblock response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"appointmentscheduling/appointmentblock"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteAppointmentBlock",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/appointmentscheduling/appointmenttype": {
"get": {
"tags": [
"appointmentscheduling/appointmenttype"
],
"summary": "Fetch all non-retired appointmentscheduling/appointmenttype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllAppointmentTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmenttype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmenttype"
],
"summary": "Create with properties in request",
"operationId": "createAppointmentType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmenttypeCreate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmenttype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/appointmentscheduling/appointmenttype/{uuid}": {
"get": {
"tags": [
"appointmentscheduling/appointmenttype"
],
"summary": "Fetch by uuid",
"operationId": "getAppointmentType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "appointmentscheduling/appointmenttype response",
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmenttypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"appointmentscheduling/appointmenttype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateAppointmentType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/AppointmentschedulingAppointmenttypeUpdate"
}
}
],
"responses": {
"201": {
"description": "appointmentscheduling/appointmenttype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"appointmentscheduling/appointmenttype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteAppointmentType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/relationshiptype": {
"get": {
"tags": [
"relationshiptype"
],
"summary": "Fetch all non-retired relationshiptype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllRelationShipTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "relationshiptype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"relationshiptype"
],
"summary": "Create with properties in request",
"operationId": "createRelationShipType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/RelationshiptypeCreate"
}
}
],
"responses": {
"201": {
"description": "relationshiptype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/relationshiptype/{uuid}": {
"get": {
"tags": [
"relationshiptype"
],
"summary": "Fetch by uuid",
"operationId": "getRelationShipType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "relationshiptype response",
"schema": {
"$ref": "#/definitions/RelationshiptypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"relationshiptype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateRelationShipType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/RelationshiptypeUpdate"
}
}
],
"responses": {
"201": {
"description": "relationshiptype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"relationshiptype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteRelationShipType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/metadatamapping/source": {
"get": {
"tags": [
"metadatamapping/source"
],
"summary": "Fetch all non-retired metadatamapping/source resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllMetadataSources",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/source response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"metadatamapping/source"
],
"summary": "Create with properties in request",
"operationId": "createMetadataSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingSourceCreate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/source response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/metadatamapping/source/{uuid}": {
"get": {
"tags": [
"metadatamapping/source"
],
"summary": "Fetch by uuid",
"operationId": "getMetadataSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "metadatamapping/source response",
"schema": {
"$ref": "#/definitions/MetadatamappingSourceGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"metadatamapping/source"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateMetadataSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingSourceUpdate"
}
}
],
"responses": {
"201": {
"description": "metadatamapping/source response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"metadatamapping/source"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteMetadataSource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/encounter": {
"get": {
"tags": [
"encounter"
],
"summary": "Search for encounter",
"description": "At least one search parameter must be specified",
"operationId": "getAllEncounters",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "todate",
"in": "query",
"description": "Must be used with patient",
"required": false,
"type": "string"
},
{
"name": "patient",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "encounterType",
"in": "query",
"description": "Must be used with patient",
"required": false,
"type": "string"
},
{
"name": "fromdate",
"in": "query",
"description": "Must be used with patient",
"required": false,
"type": "string"
},
{
"name": "order",
"in": "query",
"description": "Must be used with patient",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "encounter response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"encounter"
],
"summary": "Create with properties in request",
"operationId": "createEncounter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterCreate"
}
}
],
"responses": {
"201": {
"description": "encounter response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/encounter/{uuid}": {
"get": {
"tags": [
"encounter"
],
"summary": "Fetch by uuid",
"operationId": "getEncounter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "encounter response",
"schema": {
"$ref": "#/definitions/EncounterGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"encounter"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateEncounter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterUpdate"
}
}
],
"responses": {
"201": {
"description": "encounter response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"encounter"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEncounter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/reportingrest/reportDefinition": {
"get": {
"tags": [
"reportingrest/reportDefinition"
],
"summary": "Fetch all non-retired reportingrest/reportDefinition resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllReportDefinitions",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportDefinition response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"reportingrest/reportDefinition"
],
"summary": "Create with properties in request",
"operationId": "createReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestReportDefinitionCreate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/reportDefinition response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/reportingrest/reportDefinition/{uuid}": {
"get": {
"tags": [
"reportingrest/reportDefinition"
],
"summary": "Fetch by uuid",
"operationId": "getReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "reportingrest/reportDefinition response",
"schema": {
"$ref": "#/definitions/ReportingrestReportDefinitionGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"reportingrest/reportDefinition"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ReportingrestReportDefinitionUpdate"
}
}
],
"responses": {
"201": {
"description": "reportingrest/reportDefinition response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"reportingrest/reportDefinition"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteReportDefinition",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/personimage": {
"get": {
"tags": [
"personimage"
],
"summary": "Search for personimage",
"description": "At least one search parameter must be specified",
"operationId": "getAllPersonImages",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "personimage response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"personimage"
],
"summary": "Create with properties in request",
"operationId": "createPersonImage",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonimageCreate"
}
}
],
"responses": {
"201": {
"description": "personimage response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/personimage/{uuid}": {
"get": {
"tags": [
"personimage"
],
"summary": "Fetch by uuid",
"operationId": "getPersonImage",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "personimage response",
"schema": {
"$ref": "#/definitions/PersonimageGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"personimage"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePersonImage",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonimageUpdate"
}
}
],
"responses": {
"201": {
"description": "personimage response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"personimage"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePersonImage",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/patientprofile": {
"get": {
"tags": [
"patientprofile"
],
"summary": "Search for patientprofile",
"description": "At least one search parameter must be specified",
"operationId": "getAllPatientProfiles",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "patientprofile response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"patientprofile"
],
"summary": "Create with properties in request",
"operationId": "createPatientProfile",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PatientprofileCreate"
}
}
],
"responses": {
"201": {
"description": "patientprofile response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/patientprofile/{uuid}": {
"post": {
"tags": [
"patientprofile"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updatePatientProfile",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PatientprofileUpdate"
}
}
],
"responses": {
"201": {
"description": "patientprofile response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/encounterrole": {
"get": {
"tags": [
"encounterrole"
],
"summary": "Fetch all non-retired encounterrole resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllEncounterRoles",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "encounterrole response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"encounterrole"
],
"summary": "Create with properties in request",
"operationId": "createEncounterRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterroleCreate"
}
}
],
"responses": {
"201": {
"description": "encounterrole response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/encounterrole/{uuid}": {
"get": {
"tags": [
"encounterrole"
],
"summary": "Fetch by uuid",
"operationId": "getEncounterRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "encounterrole response",
"schema": {
"$ref": "#/definitions/EncounterroleGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"encounterrole"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateEncounterRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterroleUpdate"
}
}
],
"responses": {
"201": {
"description": "encounterrole response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"encounterrole"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEncounterRole",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/obs": {
"get": {
"tags": [
"obs"
],
"summary": "Search for obs",
"description": "At least one search parameter must be specified",
"operationId": "getAllObses",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "patient",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "concept",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "obs response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
},
"post": {
"tags": [
"obs"
],
"summary": "Create with properties in request",
"operationId": "createObs",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ObsCreate"
}
}
],
"responses": {
"201": {
"description": "obs response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/obs/{uuid}": {
"get": {
"tags": [
"obs"
],
"summary": "Fetch by uuid",
"operationId": "getObs",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "obs response",
"schema": {
"$ref": "#/definitions/ObsGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"obs"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateObs",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ObsUpdate"
}
}
],
"responses": {
"201": {
"description": "obs response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"obs"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteObs",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/provider": {
"get": {
"tags": [
"provider"
],
"summary": "Fetch all non-retired provider resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllProviders",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
},
{
"name": "user",
"in": "query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "provider response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"provider"
],
"summary": "Create with properties in request",
"operationId": "createProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderCreate"
}
}
],
"responses": {
"201": {
"description": "provider response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/provider/{uuid}": {
"get": {
"tags": [
"provider"
],
"summary": "Fetch by uuid",
"operationId": "getProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "provider response",
"schema": {
"$ref": "#/definitions/ProviderGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"provider"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderUpdate"
}
}
],
"responses": {
"201": {
"description": "provider response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"provider"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/extension": {
"get": {
"tags": [
"extension"
],
"summary": "Search for extension",
"description": "At least one search parameter must be specified",
"operationId": "getAllExtensions",
"produces": [
"application/json",
"application/xml"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "extension response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
}
}
}
},
"/extension/{uuid}": {
"get": {
"tags": [
"extension"
],
"summary": "Fetch by uuid",
"operationId": "getExtension",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "extension response",
"schema": {
"$ref": "#/definitions/ExtensionGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/cohort": {
"get": {
"tags": [
"cohort"
],
"summary": "Fetch all non-retired cohort resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllCohorts",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "cohort response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"cohort"
],
"summary": "Create with properties in request",
"operationId": "createCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/CohortCreate"
}
}
],
"responses": {
"201": {
"description": "cohort response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/cohort/{uuid}": {
"get": {
"tags": [
"cohort"
],
"summary": "Fetch by uuid",
"operationId": "getCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "cohort response",
"schema": {
"$ref": "#/definitions/CohortGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"cohort"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/CohortUpdate"
}
}
],
"responses": {
"201": {
"description": "cohort response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"cohort"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteCohort",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/visittype": {
"get": {
"tags": [
"visittype"
],
"summary": "Fetch all non-retired visittype resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllVisitTypes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "visittype response",
"schema": {
"$ref": "#/definitions/FetchAll"
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"visittype"
],
"summary": "Create with properties in request",
"operationId": "createVisitType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/VisittypeCreate"
}
}
],
"responses": {
"201": {
"description": "visittype response"
},
"401": {
"description": "User not logged in"
}
}
}
},
"/visittype/{uuid}": {
"get": {
"tags": [
"visittype"
],
"summary": "Fetch by uuid",
"operationId": "getVisitType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "visittype response",
"schema": {
"$ref": "#/definitions/VisittypeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"visittype"
],
"summary": "Edit with given uuid, only modifying properties in request",
"operationId": "updateVisitType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/VisittypeUpdate"
}
}
],
"responses": {
"201": {
"description": "visittype response"
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"visittype"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteVisitType",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/patient/{parent-uuid}/allergy": {
"post": {
"tags": [
"patient"
],
"summary": "Create allergy subresource with properties in request",
"operationId": "createPatientAllergy",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PatientAllergyCreate"
}
}
],
"responses": {
"201": {
"description": "allergy response",
"schema": {
"$ref": "#/definitions/PatientAllergyGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/patient/{parent-uuid}/allergy/{uuid}": {
"get": {
"tags": [
"patient"
],
"summary": "Fetch allergy subresources by uuid",
"operationId": "getPatientAllergy",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "allergy response",
"schema": {
"$ref": "#/definitions/PatientAllergyGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"patient"
],
"summary": "edit allergy subresource with given uuid, only modifying properties in request",
"operationId": "updatePatientAllergy",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PatientAllergyUpdate"
}
}
],
"responses": {
"201": {
"description": "allergy response",
"schema": {
"$ref": "#/definitions/PatientAllergyGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"patient"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePatientAllergy",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/patient/{parent-uuid}/identifier": {
"get": {
"tags": [
"patient"
],
"summary": "Fetch all non-retired identifier subresources",
"operationId": "getAllPatientIdentifiers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "identifier response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/PatientIdentifierGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"patient"
],
"summary": "Create identifier subresource with properties in request",
"operationId": "createPatientIdentifier",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PatientIdentifierCreate"
}
}
],
"responses": {
"201": {
"description": "identifier response",
"schema": {
"$ref": "#/definitions/PatientIdentifierGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/patient/{parent-uuid}/identifier/{uuid}": {
"get": {
"tags": [
"patient"
],
"summary": "Fetch identifier subresources by uuid",
"operationId": "getPatientIdentifier",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "identifier response",
"schema": {
"$ref": "#/definitions/PatientIdentifierGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"patient"
],
"summary": "edit identifier subresource with given uuid, only modifying properties in request",
"operationId": "updatePatientIdentifier",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PatientIdentifierUpdate"
}
}
],
"responses": {
"201": {
"description": "identifier response",
"schema": {
"$ref": "#/definitions/PatientIdentifierGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"patient"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePatientIdentifier",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/location/{parent-uuid}/attribute": {
"get": {
"tags": [
"location"
],
"summary": "Fetch all non-retired attribute resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllLocationAttributes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationAttributeGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"location"
],
"summary": "Create attribute subresource with properties in request",
"operationId": "createLocationAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/LocationAttributeCreate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/LocationAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/location/{parent-uuid}/attribute/{uuid}": {
"get": {
"tags": [
"location"
],
"summary": "Fetch attribute subresources by uuid",
"operationId": "getLocationAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/LocationAttributeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"location"
],
"summary": "edit attribute subresource with given uuid, only modifying properties in request",
"operationId": "updateLocationAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/LocationAttributeUpdate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/LocationAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"location"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteLocationAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/customdatatype/{parent-uuid}/handlers": {
"get": {
"tags": [
"customdatatype"
],
"summary": "Fetch all non-retired handlers subresources",
"operationId": "getAllCustomDatatypeHandlers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "handlers response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/CustomdatatypeHandlersGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/person/{parent-uuid}/attribute": {
"get": {
"tags": [
"person"
],
"summary": "Fetch all non-retired attribute resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllPersonAttributes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "Create attribute subresource with properties in request",
"operationId": "createPersonAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonAttributeCreate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/PersonAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/person/{parent-uuid}/attribute/{uuid}": {
"get": {
"tags": [
"person"
],
"summary": "Fetch attribute subresources by uuid",
"operationId": "getPersonAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/PersonAttributeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "edit attribute subresource with given uuid, only modifying properties in request",
"operationId": "updatePersonAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonAttributeUpdate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/PersonAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"person"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePersonAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/concept/{parent-uuid}/description": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch all non-retired description subresources",
"operationId": "getAllConceptDescriptions",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "description response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptDescriptionGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Create description subresource with properties in request",
"operationId": "createConceptDescription",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptDescriptionCreate"
}
}
],
"responses": {
"201": {
"description": "description response",
"schema": {
"$ref": "#/definitions/ConceptDescriptionGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/concept/{parent-uuid}/description/{uuid}": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch description subresources by uuid",
"operationId": "getConceptDescription",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "description response",
"schema": {
"$ref": "#/definitions/ConceptDescriptionGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "edit description subresource with given uuid, only modifying properties in request",
"operationId": "updateConceptDescription",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptDescriptionUpdate"
}
}
],
"responses": {
"201": {
"description": "description response",
"schema": {
"$ref": "#/definitions/ConceptDescriptionGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"concept"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptDescription",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/person/{parent-uuid}/address": {
"get": {
"tags": [
"person"
],
"summary": "Fetch all non-retired address subresources",
"operationId": "getAllPersonAddresses",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "address response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAddressGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "Create address subresource with properties in request",
"operationId": "createPersonAddress",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonAddressCreate"
}
}
],
"responses": {
"201": {
"description": "address response",
"schema": {
"$ref": "#/definitions/PersonAddressGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/person/{parent-uuid}/address/{uuid}": {
"get": {
"tags": [
"person"
],
"summary": "Fetch address subresources by uuid",
"operationId": "getPersonAddress",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "address response",
"schema": {
"$ref": "#/definitions/PersonAddressGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "edit address subresource with given uuid, only modifying properties in request",
"operationId": "updatePersonAddress",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonAddressUpdate"
}
}
],
"responses": {
"201": {
"description": "address response",
"schema": {
"$ref": "#/definitions/PersonAddressGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"person"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePersonAddress",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/workflow/{parent-uuid}/state": {
"get": {
"tags": [
"workflow"
],
"summary": "Fetch all non-retired state subresources",
"operationId": "getAllProgramWorkflowStates",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "state response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowStateGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"workflow"
],
"summary": "Create state subresource with properties in request",
"operationId": "createProgramWorkflowState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowStateCreate"
}
}
],
"responses": {
"201": {
"description": "state response",
"schema": {
"$ref": "#/definitions/WorkflowStateGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/workflow/{parent-uuid}/state/{uuid}": {
"get": {
"tags": [
"workflow"
],
"summary": "Fetch state subresources by uuid",
"operationId": "getProgramWorkflowState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "state response",
"schema": {
"$ref": "#/definitions/WorkflowStateGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"delete": {
"tags": [
"workflow"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProgramWorkflowState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/person/{parent-uuid}/name": {
"get": {
"tags": [
"person"
],
"summary": "Fetch all non-retired name subresources",
"operationId": "getAllPersonNames",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "name response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonNameGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "Create name subresource with properties in request",
"operationId": "createPersonName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/PersonNameCreate"
}
}
],
"responses": {
"201": {
"description": "name response",
"schema": {
"$ref": "#/definitions/PersonNameGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/person/{parent-uuid}/name/{uuid}": {
"get": {
"tags": [
"person"
],
"summary": "Fetch name subresources by uuid",
"operationId": "getPersonName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "name response",
"schema": {
"$ref": "#/definitions/PersonNameGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"person"
],
"summary": "edit name subresource with given uuid, only modifying properties in request",
"operationId": "updatePersonName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/PersonNameUpdate"
}
}
],
"responses": {
"201": {
"description": "name response",
"schema": {
"$ref": "#/definitions/PersonNameGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"person"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePersonName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/orderset/{parent-uuid}/ordersetmember": {
"get": {
"tags": [
"orderset"
],
"summary": "Fetch all non-retired ordersetmember subresources",
"operationId": "getAllOrderSetMembers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "ordersetmember response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/OrdersetOrdersetmemberGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"orderset"
],
"summary": "Create ordersetmember subresource with properties in request",
"operationId": "createOrderSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/OrdersetOrdersetmemberCreate"
}
}
],
"responses": {
"201": {
"description": "ordersetmember response",
"schema": {
"$ref": "#/definitions/OrdersetOrdersetmemberGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/orderset/{parent-uuid}/ordersetmember/{uuid}": {
"get": {
"tags": [
"orderset"
],
"summary": "Fetch ordersetmember subresources by uuid",
"operationId": "getOrderSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "ordersetmember response",
"schema": {
"$ref": "#/definitions/OrdersetOrdersetmemberGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"orderset"
],
"summary": "edit ordersetmember subresource with given uuid, only modifying properties in request",
"operationId": "updateOrderSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/OrdersetOrdersetmemberUpdate"
}
}
],
"responses": {
"201": {
"description": "ordersetmember response",
"schema": {
"$ref": "#/definitions/OrdersetOrdersetmemberGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"orderset"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteOrderSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/concept/{parent-uuid}/name": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch all non-retired name subresources",
"operationId": "getAllConceptNames",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "name response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptNameGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Create name subresource with properties in request",
"operationId": "createConceptName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptNameCreate"
}
}
],
"responses": {
"201": {
"description": "name response",
"schema": {
"$ref": "#/definitions/ConceptNameGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/concept/{parent-uuid}/name/{uuid}": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch name subresources by uuid",
"operationId": "getConceptName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "name response",
"schema": {
"$ref": "#/definitions/ConceptNameGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "edit name subresource with given uuid, only modifying properties in request",
"operationId": "updateConceptName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptNameUpdate"
}
}
],
"responses": {
"201": {
"description": "name response",
"schema": {
"$ref": "#/definitions/ConceptNameGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"concept"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptName",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/field/{parent-uuid}/answer": {
"get": {
"tags": [
"field"
],
"summary": "Fetch all non-retired answer subresources",
"operationId": "getAllFieldAnswers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "answer response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/FieldAnswerGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"field"
],
"summary": "Create answer subresource with properties in request",
"operationId": "createFieldAnswer",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FieldAnswerCreate"
}
}
],
"responses": {
"201": {
"description": "answer response",
"schema": {
"$ref": "#/definitions/FieldAnswerGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/field/{parent-uuid}/answer/{uuid}": {
"get": {
"tags": [
"field"
],
"summary": "Fetch answer subresources by uuid",
"operationId": "getFieldAnswer",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "answer response",
"schema": {
"$ref": "#/definitions/FieldAnswerGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"field"
],
"summary": "edit answer subresource with given uuid, only modifying properties in request",
"operationId": "updateFieldAnswer",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FieldAnswerUpdate"
}
}
],
"responses": {
"201": {
"description": "answer response",
"schema": {
"$ref": "#/definitions/FieldAnswerGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"field"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteFieldAnswer",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/encounter/{parent-uuid}/encounterprovider": {
"get": {
"tags": [
"encounter"
],
"summary": "Fetch all non-retired encounterprovider subresources",
"operationId": "getAllEncounterProviders",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "encounterprovider response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/EncounterEncounterproviderGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"encounter"
],
"summary": "Create encounterprovider subresource with properties in request",
"operationId": "createEncounterProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterEncounterproviderCreate"
}
}
],
"responses": {
"201": {
"description": "encounterprovider response",
"schema": {
"$ref": "#/definitions/EncounterEncounterproviderGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/encounter/{parent-uuid}/encounterprovider/{uuid}": {
"get": {
"tags": [
"encounter"
],
"summary": "Fetch encounterprovider subresources by uuid",
"operationId": "getEncounterProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "encounterprovider response",
"schema": {
"$ref": "#/definitions/EncounterEncounterproviderGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"encounter"
],
"summary": "edit encounterprovider subresource with given uuid, only modifying properties in request",
"operationId": "updateEncounterProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/EncounterEncounterproviderUpdate"
}
}
],
"responses": {
"201": {
"description": "encounterprovider response",
"schema": {
"$ref": "#/definitions/EncounterEncounterproviderGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"encounter"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteEncounterProvider",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/drug/{parent-uuid}/ingredient": {
"get": {
"tags": [
"drug"
],
"summary": "Fetch all non-retired ingredient subresources",
"operationId": "getAllDrugIngredients",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "ingredient response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/DrugIngredientGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"drug"
],
"summary": "Create ingredient subresource with properties in request",
"operationId": "createDrugIngredient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/DrugIngredientCreate"
}
}
],
"responses": {
"201": {
"description": "ingredient response",
"schema": {
"$ref": "#/definitions/DrugIngredientGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/drug/{parent-uuid}/ingredient/{uuid}": {
"get": {
"tags": [
"drug"
],
"summary": "Fetch ingredient subresources by uuid",
"operationId": "getDrugIngredient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "ingredient response",
"schema": {
"$ref": "#/definitions/DrugIngredientGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"drug"
],
"summary": "edit ingredient subresource with given uuid, only modifying properties in request",
"operationId": "updateDrugIngredient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/DrugIngredientUpdate"
}
}
],
"responses": {
"201": {
"description": "ingredient response",
"schema": {
"$ref": "#/definitions/DrugIngredientGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"drug"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteDrugIngredient",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/concept/{parent-uuid}/mapping": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch all non-retired mapping subresources",
"operationId": "getAllConceptMaps",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "mapping response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptMappingGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Create mapping subresource with properties in request",
"operationId": "createConceptMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptMappingCreate"
}
}
],
"responses": {
"201": {
"description": "mapping response",
"schema": {
"$ref": "#/definitions/ConceptMappingGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/concept/{parent-uuid}/mapping/{uuid}": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch mapping subresources by uuid",
"operationId": "getConceptMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "mapping response",
"schema": {
"$ref": "#/definitions/ConceptMappingGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "edit mapping subresource with given uuid, only modifying properties in request",
"operationId": "updateConceptMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptMappingUpdate"
}
}
],
"responses": {
"201": {
"description": "mapping response",
"schema": {
"$ref": "#/definitions/ConceptMappingGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"concept"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptMap",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/visit/{parent-uuid}/attribute": {
"get": {
"tags": [
"visit"
],
"summary": "Fetch all non-retired attribute resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllVisitAttributes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/VisitAttributeGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"visit"
],
"summary": "Create attribute subresource with properties in request",
"operationId": "createVisitAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/VisitAttributeCreate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/VisitAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/visit/{parent-uuid}/attribute/{uuid}": {
"get": {
"tags": [
"visit"
],
"summary": "Fetch attribute subresources by uuid",
"operationId": "getVisitAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/VisitAttributeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"visit"
],
"summary": "edit attribute subresource with given uuid, only modifying properties in request",
"operationId": "updateVisitAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/VisitAttributeUpdate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/VisitAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"visit"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteVisitAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/metadatamapping/metadataset/{parent-uuid}/members": {
"get": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Fetch all non-retired members subresources",
"operationId": "getAllMetadataSetMembers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "members response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Create members subresource with properties in request",
"operationId": "createMetadataSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersCreate"
}
}
],
"responses": {
"201": {
"description": "members response",
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/metadatamapping/metadataset/{parent-uuid}/members/{uuid}": {
"get": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Fetch members subresources by uuid",
"operationId": "getMetadataSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "members response",
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "edit members subresource with given uuid, only modifying properties in request",
"operationId": "updateMetadataSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersUpdate"
}
}
],
"responses": {
"201": {
"description": "members response",
"schema": {
"$ref": "#/definitions/MetadatamappingMetadatasetMembersGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"metadatamapping/metadataset"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteMetadataSetMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/programenrollment/{parent-uuid}/state": {
"post": {
"tags": [
"programenrollment"
],
"summary": "Create state subresource with properties in request",
"operationId": "createPatientState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramenrollmentStateCreate"
}
}
],
"responses": {
"201": {
"description": "state response",
"schema": {
"$ref": "#/definitions/ProgramenrollmentStateGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/programenrollment/{parent-uuid}/state/{uuid}": {
"get": {
"tags": [
"programenrollment"
],
"summary": "Fetch state subresources by uuid",
"operationId": "getPatientState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "state response",
"schema": {
"$ref": "#/definitions/ProgramenrollmentStateGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"programenrollment"
],
"summary": "edit state subresource with given uuid, only modifying properties in request",
"operationId": "updatePatientState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProgramenrollmentStateUpdate"
}
}
],
"responses": {
"201": {
"description": "state response",
"schema": {
"$ref": "#/definitions/ProgramenrollmentStateGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"programenrollment"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deletePatientState",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/concept/{parent-uuid}/attribute": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch all non-retired attribute resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllConceptAttributes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptAttributeGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "Create attribute subresource with properties in request",
"operationId": "createConceptAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptAttributeCreate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ConceptAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/concept/{parent-uuid}/attribute/{uuid}": {
"get": {
"tags": [
"concept"
],
"summary": "Fetch attribute subresources by uuid",
"operationId": "getConceptAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ConceptAttributeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"concept"
],
"summary": "edit attribute subresource with given uuid, only modifying properties in request",
"operationId": "updateConceptAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ConceptAttributeUpdate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ConceptAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"concept"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteConceptAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/provider/{parent-uuid}/attribute": {
"get": {
"tags": [
"provider"
],
"summary": "Fetch all non-retired attribute resources or perform search",
"description": "All search parameters are optional",
"operationId": "getAllProviderAttributes",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
},
{
"name": "q",
"in": "query",
"description": "The search query",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"provider"
],
"summary": "Create attribute subresource with properties in request",
"operationId": "createProviderAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderAttributeCreate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ProviderAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/provider/{parent-uuid}/attribute/{uuid}": {
"get": {
"tags": [
"provider"
],
"summary": "Fetch attribute subresources by uuid",
"operationId": "getProviderAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ProviderAttributeGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"provider"
],
"summary": "edit attribute subresource with given uuid, only modifying properties in request",
"operationId": "updateProviderAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/ProviderAttributeUpdate"
}
}
],
"responses": {
"201": {
"description": "attribute response",
"schema": {
"$ref": "#/definitions/ProviderAttributeGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"provider"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteProviderAttribute",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/cohort/{parent-uuid}/member": {
"get": {
"tags": [
"cohort"
],
"summary": "Fetch all non-retired member subresources",
"operationId": "getAllCohortMembers",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "member response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/CohortMemberGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"cohort"
],
"summary": "Create member subresource with properties in request",
"operationId": "createCohortMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/CohortMemberCreate"
}
}
],
"responses": {
"201": {
"description": "member response",
"schema": {
"$ref": "#/definitions/CohortMemberGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/cohort/{parent-uuid}/member/{uuid}": {
"get": {
"tags": [
"cohort"
],
"summary": "Fetch member subresources by uuid",
"operationId": "getCohortMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "member response",
"schema": {
"$ref": "#/definitions/CohortMemberGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"cohort"
],
"summary": "edit member subresource with given uuid, only modifying properties in request",
"operationId": "updateCohortMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/CohortMemberUpdate"
}
}
],
"responses": {
"201": {
"description": "member response",
"schema": {
"$ref": "#/definitions/CohortMemberGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"cohort"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteCohortMember",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/form/{parent-uuid}/formfield": {
"get": {
"tags": [
"form"
],
"summary": "Fetch all non-retired formfield subresources",
"operationId": "getAllFormFields",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "formfield response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/FormFormfieldGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "Create formfield subresource with properties in request",
"operationId": "createFormField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FormFormfieldCreate"
}
}
],
"responses": {
"201": {
"description": "formfield response",
"schema": {
"$ref": "#/definitions/FormFormfieldGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/form/{parent-uuid}/formfield/{uuid}": {
"get": {
"tags": [
"form"
],
"summary": "Fetch formfield subresources by uuid",
"operationId": "getFormField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "formfield response",
"schema": {
"$ref": "#/definitions/FormFormfieldGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "edit formfield subresource with given uuid, only modifying properties in request",
"operationId": "updateFormField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FormFormfieldUpdate"
}
}
],
"responses": {
"201": {
"description": "formfield response",
"schema": {
"$ref": "#/definitions/FormFormfieldGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"form"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteFormField",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
},
"/form/{parent-uuid}/resource": {
"get": {
"tags": [
"form"
],
"summary": "Fetch all non-retired resource subresources",
"operationId": "getAllFormResources",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The number of results to return",
"required": false,
"type": "integer"
},
{
"name": "startIndex",
"in": "query",
"description": "The offset at which to start",
"required": false,
"type": "integer"
},
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "resource response",
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/FormResourceGet"
}
}
}
}
},
"401": {
"description": "User not logged in"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "Create resource subresource with properties in request",
"operationId": "createFormResource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource to create",
"required": true,
"schema": {
"$ref": "#/definitions/FormResourceCreate"
}
}
],
"responses": {
"201": {
"description": "resource response",
"schema": {
"$ref": "#/definitions/FormResourceGet"
}
},
"401": {
"description": "User not logged in"
}
}
}
},
"/form/{parent-uuid}/resource/{uuid}": {
"get": {
"tags": [
"form"
],
"summary": "Fetch resource subresources by uuid",
"operationId": "getFormResource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to filter by",
"required": true,
"type": "string"
},
{
"name": "v",
"in": "query",
"description": "The representation to return (ref, default, full or custom)",
"required": false,
"type": "string",
"enum": [
"ref",
"default",
"full",
"custom"
]
}
],
"responses": {
"200": {
"description": "resource response",
"schema": {
"$ref": "#/definitions/FormResourceGet"
}
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
},
"post": {
"tags": [
"form"
],
"summary": "edit resource subresource with given uuid, only modifying properties in request",
"operationId": "updateFormResource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid of resource to update",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "resource",
"description": "Resource properties to update",
"required": true,
"schema": {
"$ref": "#/definitions/FormResourceUpdate"
}
}
],
"responses": {
"201": {
"description": "resource response",
"schema": {
"$ref": "#/definitions/FormResourceGet"
}
},
"401": {
"description": "User not logged in"
}
}
},
"delete": {
"tags": [
"form"
],
"summary": "Delete or purge resource by uuid",
"description": "The resource will be voided/retired unless purge = 'true'",
"operationId": "deleteFormResource",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "parent-uuid",
"in": "path",
"description": "parent resource uuid",
"required": true,
"type": "string"
},
{
"name": "uuid",
"in": "path",
"description": "uuid to delete",
"required": true,
"type": "string"
},
{
"name": "purge",
"in": "query",
"required": false,
"type": "boolean"
}
],
"responses": {
"204": {
"description": "Delete successful"
},
"401": {
"description": "User not logged in"
},
"404": {
"description": "Resource with given uuid doesn't exist"
}
}
}
}
},
"securityDefinitions": {
"basic_auth": {
"type": "basic"
}
},
"definitions": {
"DrugGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"doseStrength": {
"type": "number",
"format": "double"
},
"maximumDailyDose": {
"type": "number",
"format": "double"
},
"minimumDailyDose": {
"type": "number",
"format": "double"
},
"units": {
"type": "string"
},
"combination": {
"type": "boolean",
"default": false
},
"dosageForm": {
"$ref": "#/definitions/ConceptGetRef"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"route": {
"$ref": "#/definitions/ConceptGetRef"
}
}
},
"DrugGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"DrugGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"doseStrength": {
"type": "number",
"format": "double"
},
"maximumDailyDose": {
"type": "number",
"format": "double"
},
"minimumDailyDose": {
"type": "number",
"format": "double"
},
"units": {
"type": "string"
},
"combination": {
"type": "boolean",
"default": false
},
"dosageForm": {
"$ref": "#/definitions/ConceptGet"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"route": {
"$ref": "#/definitions/ConceptGet"
}
}
},
"DrugCreate": {
"required": [
"combination",
"concept",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"combination": {
"type": "boolean",
"default": false
},
"concept": {
"type": "string"
},
"doseStrength": {
"type": "number",
"format": "double"
},
"maximumDailyDose": {
"type": "number",
"format": "double"
},
"minimumDailyDose": {
"type": "number",
"format": "double"
},
"units": {
"type": "string"
},
"dosageForm": {
"type": "string"
},
"route": {
"type": "string"
}
}
},
"DrugCreateFull": {
"required": [
"combination",
"concept",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"combination": {
"type": "boolean",
"default": false
},
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"doseStrength": {
"type": "number",
"format": "double"
},
"maximumDailyDose": {
"type": "number",
"format": "double"
},
"minimumDailyDose": {
"type": "number",
"format": "double"
},
"units": {
"type": "string"
},
"dosageForm": {
"$ref": "#/definitions/ConceptCreate"
},
"route": {
"$ref": "#/definitions/ConceptCreate"
}
}
},
"DrugUpdate": {
"required": [
"combination",
"concept",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"combination": {
"type": "boolean",
"default": false
},
"concept": {
"type": "string"
},
"doseStrength": {
"type": "number",
"format": "double"
},
"maximumDailyDose": {
"type": "number",
"format": "double"
},
"minimumDailyDose": {
"type": "number",
"format": "double"
},
"units": {
"type": "string"
},
"dosageForm": {
"type": "string"
},
"route": {
"type": "string"
}
}
},
"CustomdatatypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"handlers": {
"type": "array",
"items": {
"$ref": "#/definitions/CustomdatatypeHandlersGetRef"
}
}
}
},
"CustomdatatypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"CustomdatatypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"handlers": {
"type": "array",
"items": {
"$ref": "#/definitions/CustomdatatypeHandlersGet"
}
}
}
},
"ProviderattributetypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"ProviderattributetypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ProviderattributetypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ProviderattributetypeCreate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ProviderattributetypeCreateFull": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ProviderattributetypeUpdate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"LocationGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationtagGetRef"
}
},
"parentLocation": {
"$ref": "#/definitions/LocationGetRef"
},
"childLocations": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationGetRef"
}
}
}
},
"LocationGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"LocationGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationtagGet"
}
},
"parentLocation": {
"$ref": "#/definitions/LocationGet"
},
"childLocations": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationGet"
}
}
}
},
"LocationCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"parentLocation": {
"type": "string"
},
"childLocations": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"LocationCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"parentLocation": {
"type": "string"
},
"childLocations": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"LocationUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"parentLocation": {
"type": "string"
},
"childLocations": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ConceptstopwordGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"value": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
}
}
},
"ConceptstopwordGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptstopwordGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"value": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
}
}
},
"ConceptstopwordCreate": {
"required": [
"value"
],
"properties": {
"value": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
}
}
},
"ConceptstopwordCreateFull": {
"required": [
"value"
],
"properties": {
"value": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
}
}
},
"ConceptstopwordUpdate": {
"required": [
"value"
],
"properties": {
"value": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
}
}
},
"PersonCreate": {
"required": [
"gender",
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonNameCreate"
}
},
"gender": {
"type": "string",
"enum": [
"M",
"F"
]
},
"age": {
"type": "integer",
"format": "int32"
},
"birthdate": {
"type": "string",
"format": "date"
},
"birthdateEstimated": {
"type": "boolean",
"default": false
},
"dead": {
"type": "boolean",
"default": false
},
"deathDate": {
"type": "string",
"format": "date"
},
"causeOfDeath": {
"type": "string"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAddressCreate"
}
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeCreate"
}
},
"deathdateEstimated": {
"type": "boolean",
"default": false
},
"birthtime": {
"type": "string",
"format": "date-time"
}
}
},
"PersonCreateFull": {
"required": [
"gender",
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonNameCreate"
}
},
"gender": {
"type": "string",
"enum": [
"M",
"F"
]
},
"age": {
"type": "integer",
"format": "int32"
},
"birthdate": {
"type": "string",
"format": "date"
},
"birthdateEstimated": {
"type": "boolean",
"default": false
},
"dead": {
"type": "boolean",
"default": false
},
"deathDate": {
"type": "string",
"format": "date"
},
"causeOfDeath": {
"type": "string"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAddressCreate"
}
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeCreate"
}
},
"deathdateEstimated": {
"type": "boolean",
"default": false
},
"birthtime": {
"type": "string",
"format": "date-time"
}
}
},
"PersonGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"gender": {
"type": "string",
"enum": [
"M",
"F"
]
},
"age": {
"type": "integer",
"format": "int32"
},
"birthdate": {
"type": "string",
"format": "date-time"
},
"birthdateEstimated": {
"type": "boolean"
},
"dead": {
"type": "boolean"
},
"deathDate": {
"type": "string",
"format": "date"
},
"causeOfDeath": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeGetRef"
}
},
"voided": {
"type": "boolean"
},
"preferredName": {
"$ref": "#/definitions/PersonNameGetRef"
},
"preferredAddress": {
"$ref": "#/definitions/PersonAddressGetRef"
},
"deathdateEstimated": {
"type": "boolean",
"default": false
},
"birthtime": {
"type": "string",
"format": "date-time"
}
}
},
"PersonGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PersonGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"gender": {
"type": "string",
"enum": [
"M",
"F"
]
},
"age": {
"type": "integer",
"format": "int32"
},
"birthdate": {
"type": "string",
"format": "date-time"
},
"birthdateEstimated": {
"type": "boolean"
},
"dead": {
"type": "boolean"
},
"deathDate": {
"type": "string",
"format": "date"
},
"causeOfDeath": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeGetRef"
}
},
"voided": {
"type": "boolean"
},
"preferredName": {
"$ref": "#/definitions/PersonNameGet"
},
"preferredAddress": {
"$ref": "#/definitions/PersonAddressGet"
},
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonNameGet"
}
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAddressGet"
}
},
"deathdateEstimated": {
"type": "boolean",
"default": false
},
"birthtime": {
"type": "string",
"format": "date-time"
}
}
},
"PersonUpdate": {
"required": [
"causeOfDeath",
"dead"
],
"properties": {
"dead": {
"type": "boolean"
},
"causeOfDeath": {
"type": "string"
},
"deathDate": {
"type": "string",
"format": "date"
},
"age": {
"type": "integer",
"format": "int32"
},
"gender": {
"type": "string",
"enum": [
"M",
"F"
]
},
"birthdate": {
"type": "string",
"format": "date"
},
"birthdateEstimated": {
"type": "boolean",
"default": false
},
"preferredName": {
"type": "string",
"example": "uuid"
},
"preferredAddress": {
"type": "string",
"example": "uuid"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/PersonAttributeCreate"
}
},
"deathdateEstimated": {
"type": "boolean",
"default": false
},
"birthtime": {
"type": "string",
"format": "date-time"
}
}
},
"ConceptmaptypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"isHidden": {
"type": "boolean"
}
}
},
"ConceptmaptypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptmaptypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"isHidden": {
"type": "boolean"
}
}
},
"ConceptmaptypeCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"isHidden": {
"type": "boolean"
}
}
},
"ConceptmaptypeCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"isHidden": {
"type": "boolean"
}
}
},
"ConceptmaptypeUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"isHidden": {
"type": "boolean"
}
}
},
"FieldtypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"isSet": {
"type": "boolean",
"default": false
}
}
},
"FieldtypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"FieldtypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"isSet": {
"type": "boolean",
"default": false
}
}
},
"FieldtypeCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"FieldtypeCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"FieldtypeUpdate": {},
"ConceptGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"$ref": "#/definitions/ConceptNameGet"
},
"datatype": {
"$ref": "#/definitions/ConceptdatatypeGetRef"
},
"conceptClass": {
"$ref": "#/definitions/ConceptclassGetRef"
},
"set": {
"type": "boolean"
},
"version": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptNameGetRef"
}
},
"descriptions": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptDescriptionGetRef"
}
},
"mappings": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptMappingGetRef"
}
},
"answers": {
"type": "array",
"items": {
"type": "object"
}
},
"setMembers": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
"ConceptGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptCreate": {
"required": [
"conceptClass",
"datatype",
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptNameCreate"
}
},
"datatype": {
"type": "string",
"example": "uuid"
},
"set": {
"type": "boolean"
},
"version": {
"type": "string"
},
"answers": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
},
"setMembers": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
},
"hiNormal": {
"type": "string"
},
"hiAbsolute": {
"type": "string"
},
"hiCritical": {
"type": "string"
},
"lowNormal": {
"type": "string"
},
"lowAbsolute": {
"type": "string"
},
"lowCritical": {
"type": "string"
},
"units": {
"type": "string"
},
"allowDecimal": {
"type": "string"
},
"displayPrecision": {
"type": "string"
},
"conceptClass": {
"type": "string"
},
"descriptions": {
"type": "array",
"items": {
"type": "string"
}
},
"mappings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ConceptCreateFull": {
"required": [
"conceptClass",
"datatype",
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptNameCreate"
}
},
"datatype": {
"type": "string",
"example": "uuid"
},
"set": {
"type": "boolean"
},
"version": {
"type": "string"
},
"answers": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
},
"setMembers": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
},
"hiNormal": {
"type": "string"
},
"hiAbsolute": {
"type": "string"
},
"hiCritical": {
"type": "string"
},
"lowNormal": {
"type": "string"
},
"lowAbsolute": {
"type": "string"
},
"lowCritical": {
"type": "string"
},
"units": {
"type": "string"
},
"allowDecimal": {
"type": "string"
},
"displayPrecision": {
"type": "string"
},
"conceptClass": {
"$ref": "#/definitions/ConceptclassCreate"
},
"descriptions": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptDescriptionCreate"
}
},
"mappings": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptMappingCreate"
}
}
}
},
"ConceptUpdate": {
"properties": {
"name": {
"$ref": "#/definitions/ConceptNameCreate"
},
"names": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptNameCreate"
}
},
"descriptions": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptDescriptionCreate"
}
}
}
},
"FieldGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"tableName": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"defaultValue": {
"type": "string"
},
"selectMultiple": {
"type": "boolean",
"default": false
},
"fieldType": {
"$ref": "#/definitions/FieldtypeGetRef"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
}
}
},
"FieldGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"FieldGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"tableName": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"defaultValue": {
"type": "string"
},
"selectMultiple": {
"type": "boolean",
"default": false
},
"fieldType": {
"$ref": "#/definitions/FieldtypeGet"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
}
}
},
"FieldCreate": {
"required": [
"fieldType",
"name",
"selectMultiple"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"fieldType": {
"$ref": "#/definitions/FieldtypeCreate"
},
"selectMultiple": {
"type": "boolean",
"default": false
},
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"tableName": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"defaultValue": {
"type": "string"
}
}
},
"FieldCreateFull": {
"required": [
"fieldType",
"name",
"selectMultiple"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"fieldType": {
"$ref": "#/definitions/FieldtypeCreate"
},
"selectMultiple": {
"type": "boolean",
"default": false
},
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"tableName": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"defaultValue": {
"type": "string"
}
}
},
"FieldUpdate": {},
"UserGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"username": {
"type": "string"
},
"systemId": {
"type": "string"
},
"userProperties": {
"type": "object"
},
"person": {
"$ref": "#/definitions/PersonGetRef"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeGetRef"
}
},
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGetRef"
}
}
}
},
"UserGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"UserGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"username": {
"type": "string"
},
"systemId": {
"type": "string"
},
"userProperties": {
"type": "object"
},
"person": {
"$ref": "#/definitions/PersonGet"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeGet"
}
},
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGet"
}
},
"allRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGet"
}
},
"proficientLocales": {
"type": "array",
"items": {
"type": "object"
}
},
"secretQuestion": {
"type": "string"
}
}
},
"UserCreate": {
"required": [
"name",
"password",
"person",
"username"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
},
"person": {
"$ref": "#/definitions/PersonCreate"
},
"systemId": {
"type": "string"
},
"userProperties": {
"type": "object"
},
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
},
"proficientLocales": {
"type": "array",
"items": {
"type": "object"
}
},
"secretQuestion": {
"type": "string"
}
}
},
"UserCreateFull": {
"required": [
"name",
"password",
"person",
"username"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
},
"person": {
"$ref": "#/definitions/PersonCreate"
},
"systemId": {
"type": "string"
},
"userProperties": {
"type": "object"
},
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
},
"proficientLocales": {
"type": "array",
"items": {
"type": "object"
}
},
"secretQuestion": {
"type": "string"
}
}
},
"UserUpdate": {
"required": [
"name",
"password",
"person",
"username"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
},
"person": {
"$ref": "#/definitions/PersonCreate"
},
"systemId": {
"type": "string"
},
"userProperties": {
"type": "object"
},
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
},
"proficientLocales": {
"type": "array",
"items": {
"type": "object"
}
},
"secretQuestion": {
"type": "string"
}
}
},
"ConceptreferencetermmapCreate": {
"required": [
"conceptMapType",
"termA",
"termB"
],
"properties": {
"termA": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"termB": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
},
"ConceptreferencetermmapCreateFull": {
"required": [
"conceptMapType",
"termA",
"termB"
],
"properties": {
"termA": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"termB": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
},
"ConceptreferencetermmapGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"termA": {
"$ref": "#/definitions/ConceptreferencetermGetRef"
},
"termB": {
"$ref": "#/definitions/ConceptreferencetermGetRef"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeGetRef"
}
}
},
"ConceptreferencetermmapGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"ConceptreferencetermmapGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"termA": {
"$ref": "#/definitions/ConceptreferencetermGet"
},
"termB": {
"$ref": "#/definitions/ConceptreferencetermGet"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeGet"
}
}
},
"ConceptreferencetermmapUpdate": {},
"ProgramenrollmentCreate": {
"required": [
"dateEnrolled",
"patient",
"program"
],
"properties": {
"patient": {
"type": "string",
"example": "uuid"
},
"program": {
"type": "string",
"example": "uuid"
},
"dateEnrolled": {
"type": "string",
"format": "date"
},
"dateCompleted": {
"type": "string",
"format": "date"
},
"location": {
"type": "string",
"example": "uuid"
},
"voided": {
"type": "boolean"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/ProgramenrollmentStateCreate"
}
},
"outcome": {
"$ref": "#/definitions/ConceptCreate"
}
}
},
"ProgramenrollmentCreateFull": {
"required": [
"dateEnrolled",
"patient",
"program"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"program": {
"$ref": "#/definitions/ProgramCreate"
},
"dateEnrolled": {
"type": "string",
"format": "date"
},
"dateCompleted": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"voided": {
"type": "boolean"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/ProgramenrollmentStateCreate"
}
},
"outcome": {
"$ref": "#/definitions/ConceptCreate"
}
}
},
"ProgramenrollmentGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"dateEnrolled": {
"type": "string",
"format": "date"
},
"dateCompleted": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
},
"program": {
"$ref": "#/definitions/ProgramGetRef"
},
"location": {
"$ref": "#/definitions/LocationGetRef"
}
}
},
"ProgramenrollmentGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"ProgramenrollmentGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"dateEnrolled": {
"type": "string",
"format": "date"
},
"dateCompleted": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGet"
},
"program": {
"$ref": "#/definitions/ProgramGet"
},
"location": {
"$ref": "#/definitions/LocationGet"
}
}
},
"ProgramenrollmentUpdate": {
"required": [
"dateEnrolled"
],
"properties": {
"dateEnrolled": {
"type": "string",
"format": "date"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/ProgramenrollmentStateCreate"
}
},
"outcome": {
"$ref": "#/definitions/ConceptCreate"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"voided": {
"type": "boolean"
},
"dateCompleted": {
"type": "string",
"format": "date"
}
}
},
"LocationtagGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"LocationtagGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"LocationtagGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"LocationtagCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"retiredReason": {
"type": "string"
}
}
},
"LocationtagCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"retiredReason": {
"type": "string"
}
}
},
"LocationtagUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"retiredReason": {
"type": "string"
}
}
},
"PatientCreate": {
"required": [
"identifiers",
"person"
],
"properties": {
"person": {
"type": "string",
"example": "uuid"
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/PatientIdentifierCreate"
}
}
}
},
"PatientCreateFull": {
"required": [
"identifiers",
"person"
],
"properties": {
"person": {
"$ref": "#/definitions/PersonCreate"
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/PatientIdentifierCreate"
}
}
}
},
"PatientGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/PatientIdentifierGetRef"
}
},
"preferred": {
"type": "boolean",
"default": false
},
"voided": {
"type": "boolean"
},
"person": {
"$ref": "#/definitions/PersonGetRef"
}
}
},
"PatientGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PatientGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/PatientIdentifierGetRef"
}
},
"preferred": {
"type": "boolean",
"default": false
},
"voided": {
"type": "boolean"
},
"person": {
"$ref": "#/definitions/PersonGet"
}
}
},
"PatientUpdate": {
"required": [
"person"
],
"properties": {
"person": {
"$ref": "#/definitions/PersonGet"
}
}
},
"ConceptclassGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptclassGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptclassGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"ConceptclassCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"ConceptclassCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"ConceptclassUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"RoleGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeGetRef"
}
},
"inheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGetRef"
}
}
}
},
"RoleGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"RoleGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeGet"
}
},
"inheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGet"
}
},
"allInheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleGet"
}
}
}
},
"RoleCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeCreate"
}
},
"inheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
}
}
},
"RoleCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeCreate"
}
},
"inheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
}
}
},
"RoleUpdate": {
"properties": {
"description": {
"type": "string"
},
"privileges": {
"type": "array",
"items": {
"$ref": "#/definitions/PrivilegeCreate"
}
},
"inheritedRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleCreate"
}
}
}
},
"ConceptattributetypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"ConceptattributetypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptattributetypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ConceptattributetypeCreate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ConceptattributetypeCreateFull": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ConceptattributetypeUpdate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"OrdertypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"javaClassName": {
"type": "string"
},
"conceptClasses": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptclassGetRef"
}
},
"parent": {
"$ref": "#/definitions/OrdertypeGetRef"
}
}
},
"OrdertypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"OrdertypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"javaClassName": {
"type": "string"
},
"conceptClasses": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptclassGet"
}
},
"parent": {
"$ref": "#/definitions/OrdertypeGet"
}
}
},
"OrdertypeCreate": {
"required": [
"javaClassName",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"javaClassName": {
"type": "string"
},
"parent": {
"type": "string",
"example": "uuid"
},
"conceptClasses": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
}
}
},
"OrdertypeCreateFull": {
"required": [
"javaClassName",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"javaClassName": {
"type": "string"
},
"parent": {
"type": "string",
"example": "uuid"
},
"conceptClasses": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
}
}
},
"OrdertypeUpdate": {
"required": [
"javaClassName",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"javaClassName": {
"type": "string"
},
"parent": {
"type": "string",
"example": "uuid"
},
"conceptClasses": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
}
}
},
"VisitGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"startDatetime": {
"type": "string",
"format": "date"
},
"stopDatetime": {
"type": "string",
"format": "date"
},
"attributes": {
"type": "array",
"items": {
"type": "string"
}
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
},
"visitType": {
"$ref": "#/definitions/VisittypeGetRef"
},
"indication": {
"$ref": "#/definitions/ConceptGetRef"
},
"location": {
"$ref": "#/definitions/LocationGetRef"
},
"encounters": {
"type": "array",
"items": {
"$ref": "#/definitions/EncounterGetRef"
}
}
}
},
"VisitGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"VisitGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"startDatetime": {
"type": "string",
"format": "date"
},
"stopDatetime": {
"type": "string",
"format": "date"
},
"attributes": {
"type": "array",
"items": {
"type": "string"
}
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGet"
},
"visitType": {
"$ref": "#/definitions/VisittypeGet"
},
"indication": {
"$ref": "#/definitions/ConceptGet"
},
"location": {
"$ref": "#/definitions/LocationGet"
},
"encounters": {
"type": "array",
"items": {
"$ref": "#/definitions/EncounterGet"
}
}
}
},
"VisitCreate": {
"required": [
"patient",
"visitType"
],
"properties": {
"patient": {
"type": "string",
"example": "uuid"
},
"visitType": {
"type": "string",
"example": "uuid"
},
"startDatetime": {
"type": "string",
"format": "date"
},
"location": {
"type": "string",
"example": "uuid"
},
"indication": {
"type": "string"
},
"stopDatetime": {
"type": "string",
"format": "date"
},
"encounters": {
"type": "array",
"items": {
"type": "string",
"example": "uuid"
}
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/VisitAttributeCreate"
}
}
}
},
"VisitCreateFull": {
"required": [
"patient",
"visitType"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"visitType": {
"$ref": "#/definitions/VisittypeCreate"
},
"startDatetime": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"indication": {
"$ref": "#/definitions/ConceptCreate"
},
"stopDatetime": {
"type": "string",
"format": "date"
},
"encounters": {
"type": "array",
"items": {
"$ref": "#/definitions/EncounterCreate"
}
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/VisitAttributeCreate"
}
}
}
},
"VisitUpdate": {
"properties": {
"visitType": {
"$ref": "#/definitions/VisittypeCreate"
},
"startDatetime": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"indication": {
"$ref": "#/definitions/ConceptCreate"
},
"stopDatetime": {
"type": "string",
"format": "date"
},
"encounters": {
"type": "array",
"items": {
"$ref": "#/definitions/EncounterCreate"
}
},
"attributes": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ConceptdatatypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Abbreviation": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"ConceptdatatypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptdatatypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"hl7Abbreviation": {
"type": "string"
}
}
},
"PrivilegeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PrivilegeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PrivilegeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"PrivilegeCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"PrivilegeCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"PrivilegeUpdate": {
"properties": {
"description": {
"type": "string"
}
}
},
"ConceptsourceGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Code": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"ConceptsourceGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Code": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"ConceptsourceGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"hl7Code": {
"type": "string"
}
}
},
"ConceptsourceCreate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Code": {
"type": "string"
}
}
},
"ConceptsourceCreateFull": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Code": {
"type": "string"
}
}
},
"ConceptsourceUpdate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"hl7Code": {
"type": "string"
}
}
},
"ModuleactionCreate": {
"required": [
"action"
],
"properties": {
"modules": {
"type": "array",
"items": {
"type": "string",
"example": "moduleId"
}
},
"allModules": {
"type": "boolean"
},
"action": {
"type": "string",
"enum": [
"START",
"STOP",
"RESTART",
"UNLOAD"
]
}
}
},
"ModuleactionCreateFull": {
"required": [
"action"
],
"properties": {
"modules": {
"type": "array",
"items": {
"type": "string",
"example": "moduleId"
}
},
"allModules": {
"type": "boolean"
},
"action": {
"type": "string",
"enum": [
"START",
"STOP",
"RESTART",
"UNLOAD"
]
}
}
},
"OrderCreate": {
"required": [
"concept",
"patient"
],
"properties": {
"encounter": {
"type": "string",
"example": "uuid"
},
"action": {
"type": "string",
"enum": [
"NEW",
"REVISE",
"DISCONTINUE",
"RENEW"
]
},
"accessionNumber": {
"type": "string"
},
"dateActivated": {
"type": "string",
"format": "date"
},
"scheduledDate": {
"type": "string",
"format": "date"
},
"patient": {
"type": "string",
"example": "uuid"
},
"concept": {
"type": "string",
"example": "uuid"
},
"careSetting": {
"type": "string",
"example": "uuid"
},
"dateStopped": {
"type": "string",
"format": "date"
},
"autoExpireDate": {
"type": "string",
"format": "date"
},
"orderer": {
"type": "string",
"example": "uuid"
},
"previousOrder": {
"type": "string",
"example": "uuid"
},
"urgency": {
"type": "string",
"enum": [
"ROUTINE",
"STAT",
"ON_SCHEDULED_DATE"
]
},
"orderReason": {
"type": "string",
"example": "uuid"
},
"orderReasonNonCoded": {
"type": "string"
},
"instructions": {
"type": "string"
},
"commentToFulfiller": {
"type": "string"
}
}
},
"OrderCreateFull": {
"required": [
"concept",
"patient"
],
"properties": {
"encounter": {
"$ref": "#/definitions/EncounterCreate"
},
"action": {
"type": "string",
"enum": [
"NEW",
"REVISE",
"DISCONTINUE",
"RENEW"
]
},
"accessionNumber": {
"type": "string"
},
"dateActivated": {
"type": "string",
"format": "date"
},
"scheduledDate": {
"type": "string",
"format": "date"
},
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"careSetting": {
"type": "string",
"example": "uuid"
},
"dateStopped": {
"type": "string",
"format": "date"
},
"autoExpireDate": {
"type": "string",
"format": "date"
},
"orderer": {
"$ref": "#/definitions/UserCreate"
},
"previousOrder": {
"$ref": "#/definitions/OrderCreate"
},
"urgency": {
"type": "string",
"enum": [
"ROUTINE",
"STAT",
"ON_SCHEDULED_DATE"
]
},
"orderReason": {
"$ref": "#/definitions/ConceptCreate"
},
"orderReasonNonCoded": {
"type": "string"
},
"instructions": {
"type": "string"
},
"commentToFulfiller": {
"type": "string"
}
}
},
"OrderGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"instructions": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"autoExpireDate": {
"type": "string",
"format": "date"
},
"accessionNumber": {
"type": "string"
},
"discontinuedDate": {
"type": "string",
"format": "date"
},
"discontinuedReasonNonCoded": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"orderType": {
"$ref": "#/definitions/OrdertypeGetRef"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"encounter": {
"$ref": "#/definitions/EncounterGetRef"
},
"orderer": {
"$ref": "#/definitions/UserGetRef"
},
"discontinuedBy": {
"$ref": "#/definitions/UserGetRef"
},
"discontinuedReason": {
"$ref": "#/definitions/ConceptGetRef"
}
}
},
"OrderGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"OrderGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"instructions": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"autoExpireDate": {
"type": "string",
"format": "date"
},
"accessionNumber": {
"type": "string"
},
"discontinuedDate": {
"type": "string",
"format": "date"
},
"discontinuedReasonNonCoded": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"orderType": {
"$ref": "#/definitions/OrdertypeGet"
},
"patient": {
"$ref": "#/definitions/PatientGet"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"encounter": {
"$ref": "#/definitions/EncounterGet"
},
"orderer": {
"$ref": "#/definitions/UserGet"
},
"discontinuedBy": {
"$ref": "#/definitions/UserGet"
},
"discontinuedReason": {
"$ref": "#/definitions/ConceptGet"
}
}
},
"CaresettingGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"careSettingType": {
"type": "string",
"enum": [
"OUTPATIENT",
"INPATIENT"
]
}
}
},
"CaresettingGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"CaresettingGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"careSettingType": {
"type": "string",
"enum": [
"OUTPATIENT",
"INPATIENT"
]
}
}
},
"Hl7sourceCreate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"Hl7sourceCreateFull": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"Hl7sourceGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"Hl7sourceGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"Hl7sourceGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"Hl7sourceUpdate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"SystemsettingGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"property": {
"type": "string"
},
"value": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"SystemsettingGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"SystemsettingGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"property": {
"type": "string"
},
"value": {
"type": "string"
},
"description": {
"type": "string"
},
"display": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"SystemsettingCreate": {
"required": [
"property"
],
"properties": {
"property": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"SystemsettingCreateFull": {
"required": [
"property"
],
"properties": {
"property": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"SystemsettingUpdate": {
"properties": {
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"VisitattributetypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"VisitattributetypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"VisitattributetypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"VisitattributetypeCreate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"VisitattributetypeCreateFull": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"VisitattributetypeUpdate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"ConceptreferencetermGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"code": {
"type": "string"
},
"version": {
"type": "string"
},
"conceptSource": {
"$ref": "#/definitions/ConceptsourceGetRef"
}
}
},
"ConceptreferencetermGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptreferencetermGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"code": {
"type": "string"
},
"version": {
"type": "string"
},
"conceptSource": {
"$ref": "#/definitions/ConceptsourceGet"
}
}
},
"ConceptreferencetermCreate": {
"required": [
"code",
"conceptSource",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"code": {
"type": "string"
},
"conceptSource": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"ConceptreferencetermCreateFull": {
"required": [
"code",
"conceptSource",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"code": {
"type": "string"
},
"conceptSource": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"ConceptreferencetermUpdate": {},
"LocationattributetypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"LocationattributetypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"LocationattributetypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeClassname": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"datatypeConfig": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"LocationattributetypeCreate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"LocationattributetypeCreateFull": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"LocationattributetypeUpdate": {
"required": [
"datatypeClassname",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"datatypeClassname": {
"type": "string"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"datatypeConfig": {
"type": "string"
},
"preferredHandlerClassname": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"WorkflowCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"WorkflowCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"WorkflowGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowStateGetRef"
}
}
}
},
"WorkflowGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowStateGet"
}
}
}
},
"WorkflowGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowStateGet"
}
}
}
},
"WorkflowUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"ProgramGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"allWorkflows": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowGetRef"
}
}
}
},
"ProgramGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"allWorkflows": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowGetRef"
}
}
}
},
"ProgramGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"allWorkflows": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkflowGet"
}
}
}
},
"ProgramCreate": {
"required": [
"concept",
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"concept": {
"type": "string",
"example": "uuid"
},
"retired": {
"type": "boolean"
},
"outcomesConcept": {
"type": "string",
"example": "uuid"
}
}
},
"ProgramCreateFull": {
"required": [
"concept",
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"retired": {
"type": "boolean"
},
"outcomesConcept": {
"$ref": "#/definitions/ConceptCreate"
}
}
},
"ProgramUpdate": {},
"FormGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string"
},
"build": {
"type": "integer",
"format": "int32"
},
"published": {
"type": "boolean",
"default": false
},
"retired": {
"type": "boolean"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeGetRef"
},
"formFields": {
"type": "array",
"items": {
"$ref": "#/definitions/FormFormfieldGetRef"
}
}
}
},
"FormGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"FormGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"version": {
"type": "string"
},
"build": {
"type": "integer",
"format": "int32"
},
"published": {
"type": "boolean",
"default": false
},
"encounterType": {
"$ref": "#/definitions/EncountertypeGet"
},
"formFields": {
"type": "array",
"items": {
"$ref": "#/definitions/FormFormfieldGet"
}
}
}
},
"FormCreate": {
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string"
},
"encounterType": {
"type": "string"
},
"build": {
"type": "integer",
"format": "int32"
},
"published": {
"type": "boolean",
"default": false
},
"formFields": {
"type": "array",
"items": {
"type": "string"
}
},
"xslt": {
"type": "string"
},
"template": {
"type": "string"
}
}
},
"FormCreateFull": {
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeCreate"
},
"build": {
"type": "integer",
"format": "int32"
},
"published": {
"type": "boolean",
"default": false
},
"formFields": {
"type": "array",
"items": {
"$ref": "#/definitions/FormFormfieldCreate"
}
},
"xslt": {
"type": "string"
},
"template": {
"type": "string"
}
}
},
"FormUpdate": {
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string"
},
"encounterType": {
"type": "string"
},
"build": {
"type": "integer",
"format": "int32"
},
"published": {
"type": "boolean",
"default": false
},
"formFields": {
"type": "array",
"items": {
"type": "string"
}
},
"xslt": {
"type": "string"
},
"template": {
"type": "string"
}
}
},
"PersonattributetypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"format": {
"type": "string"
},
"foreignKey": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "number",
"format": "double"
},
"searchable": {
"type": "boolean",
"default": false
},
"editPrivilege": {
"$ref": "#/definitions/PrivilegeGetRef"
}
}
},
"PersonattributetypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PersonattributetypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"format": {
"type": "string"
},
"foreignKey": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "number",
"format": "double"
},
"searchable": {
"type": "boolean",
"default": false
},
"editPrivilege": {
"$ref": "#/definitions/PrivilegeGet"
},
"concept": {
"type": "string"
}
}
},
"PersonattributetypeCreate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string",
"example": "java.lang.String"
},
"foreignKey": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "number",
"format": "double"
},
"searchable": {
"type": "boolean",
"default": false
},
"editPrivilege": {
"$ref": "#/definitions/PrivilegeCreate"
}
}
},
"PersonattributetypeCreateFull": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string",
"example": "java.lang.String"
},
"foreignKey": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "number",
"format": "double"
},
"searchable": {
"type": "boolean",
"default": false
},
"editPrivilege": {
"$ref": "#/definitions/PrivilegeCreate"
}
}
},
"PersonattributetypeUpdate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string",
"example": "java.lang.String"
},
"foreignKey": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "number",
"format": "double"
},
"searchable": {
"type": "boolean",
"default": false
},
"editPrivilege": {
"$ref": "#/definitions/PrivilegeCreate"
}
}
},
"EncountertypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"EncountertypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"EncountertypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"EncountertypeCreate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"EncountertypeCreateFull": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"EncountertypeUpdate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"RelationshipGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"personA": {
"$ref": "#/definitions/PersonGetRef"
},
"relationshipType": {
"$ref": "#/definitions/RelationshiptypeGetRef"
},
"personB": {
"$ref": "#/definitions/PersonGetRef"
}
}
},
"RelationshipGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"RelationshipGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"personA": {
"$ref": "#/definitions/PersonGet"
},
"relationshipType": {
"$ref": "#/definitions/RelationshiptypeGet"
},
"personB": {
"$ref": "#/definitions/PersonGet"
}
}
},
"RelationshipCreate": {
"required": [
"personA",
"personB",
"relationshipType"
],
"properties": {
"personA": {
"type": "string",
"example": "uuid"
},
"relationshipType": {
"type": "string",
"example": "uuid"
},
"personB": {
"type": "string",
"example": "uuid"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
}
}
},
"RelationshipCreateFull": {
"required": [
"personA",
"personB",
"relationshipType"
],
"properties": {
"personA": {
"$ref": "#/definitions/PersonCreate"
},
"relationshipType": {
"$ref": "#/definitions/RelationshiptypeCreate"
},
"personB": {
"$ref": "#/definitions/PersonCreate"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
}
}
},
"RelationshipUpdate": {
"properties": {
"voided": {
"type": "boolean"
}
}
},
"OrderfrequencyGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"OrderfrequencyGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"OrderfrequencyGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"OrderfrequencyUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"Hl7Create": {
"required": [
"hl7"
],
"properties": {
"hl7": {
"type": "string"
}
}
},
"Hl7CreateFull": {
"required": [
"hl7"
],
"properties": {
"hl7": {
"type": "string"
}
}
},
"ModuleGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"started": {
"type": "boolean"
},
"startupErrorMessage": {
"type": "string"
}
}
},
"ModuleGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ModuleGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"started": {
"type": "boolean"
},
"startupErrorMessage": {
"type": "string"
},
"packageName": {
"type": "string"
},
"author": {
"type": "string"
},
"version": {
"type": "string"
},
"requireOpenmrsVersion": {
"type": "string"
},
"awareOfModules": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredModules": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"PatientidentifiertypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"format": {
"type": "string"
},
"formatDescription": {
"type": "string"
},
"required": {
"type": "boolean"
},
"checkDigit": {
"type": "boolean"
},
"validator": {
"type": "string"
},
"locationBehavior": {
"type": "string",
"enum": [
"REQUIRED",
"NOT_USED"
]
},
"uniquenessBehavior": {
"type": "string"
}
}
},
"PatientidentifiertypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PatientidentifiertypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"format": {
"type": "string"
},
"formatDescription": {
"type": "string"
},
"required": {
"type": "boolean"
},
"checkDigit": {
"type": "boolean"
},
"validator": {
"type": "string"
},
"locationBehavior": {
"type": "string",
"enum": [
"REQUIRED",
"NOT_USED"
]
},
"uniquenessBehavior": {
"type": "string"
}
}
},
"PatientidentifiertypeCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string"
},
"formatDescription": {
"type": "string"
},
"required": {
"type": "boolean"
},
"checkDigit": {
"type": "boolean"
},
"validator": {
"type": "string"
},
"locationBehavior": {
"type": "string",
"enum": [
"REQUIRED",
"NOT_USED"
]
},
"uniquenessBehavior": {
"type": "string"
}
}
},
"PatientidentifiertypeCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string"
},
"formatDescription": {
"type": "string"
},
"required": {
"type": "boolean"
},
"checkDigit": {
"type": "boolean"
},
"validator": {
"type": "string"
},
"locationBehavior": {
"type": "string",
"enum": [
"REQUIRED",
"NOT_USED"
]
},
"uniquenessBehavior": {
"type": "string"
}
}
},
"PatientidentifiertypeUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"format": {
"type": "string"
},
"formatDescription": {
"type": "string"
},
"required": {
"type": "boolean"
},
"checkDigit": {
"type": "boolean"
},
"validator": {
"type": "string"
},
"locationBehavior": {
"type": "string",
"enum": [
"REQUIRED",
"NOT_USED"
]
},
"uniquenessBehavior": {
"type": "string"
}
}
},
"RelationshiptypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"aIsToB": {
"type": "string"
},
"bIsToA": {
"type": "string"
}
}
},
"RelationshiptypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"RelationshiptypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"aIsToB": {
"type": "string"
},
"bIsToA": {
"type": "string"
},
"weight": {
"type": "integer",
"format": "int32"
}
}
},
"RelationshiptypeCreate": {
"required": [
"aIsToB",
"bIsToA",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"aIsToB": {
"type": "string"
},
"bIsToA": {
"type": "string"
},
"weight": {
"type": "integer",
"format": "int32"
}
}
},
"RelationshiptypeCreateFull": {
"required": [
"aIsToB",
"bIsToA",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"aIsToB": {
"type": "string"
},
"bIsToA": {
"type": "string"
},
"weight": {
"type": "integer",
"format": "int32"
}
}
},
"RelationshiptypeUpdate": {},
"EncounterCreate": {
"required": [
"encounterType",
"patient"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeCreate"
},
"encounterDatetime": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"form": {
"$ref": "#/definitions/FormCreate"
},
"provider": {
"type": "string"
},
"orders": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderCreate"
}
},
"obs": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsCreate"
}
}
}
},
"EncounterCreateFull": {
"required": [
"encounterType",
"patient"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeCreate"
},
"encounterDatetime": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"form": {
"$ref": "#/definitions/FormCreate"
},
"provider": {
"type": "string"
},
"orders": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderCreate"
}
},
"obs": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsCreate"
}
}
}
},
"EncounterGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"encounterDatetime": {
"type": "string",
"format": "date"
},
"provider": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
},
"location": {
"$ref": "#/definitions/LocationGetRef"
},
"form": {
"$ref": "#/definitions/FormGetRef"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeGetRef"
},
"obs": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsGetRef"
}
},
"orders": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderGetRef"
}
}
}
},
"EncounterGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"EncounterGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"encounterDatetime": {
"type": "string",
"format": "date"
},
"provider": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"patient": {
"$ref": "#/definitions/PatientGet"
},
"location": {
"$ref": "#/definitions/LocationGet"
},
"form": {
"$ref": "#/definitions/FormGet"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeGet"
},
"obs": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsGet"
}
},
"orders": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderGet"
}
}
}
},
"EncounterUpdate": {
"required": [
"encounterType",
"patient"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
},
"encounterType": {
"$ref": "#/definitions/EncountertypeCreate"
},
"encounterDatetime": {
"type": "string",
"format": "date"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"form": {
"$ref": "#/definitions/FormCreate"
},
"provider": {
"type": "string"
},
"orders": {
"type": "array",
"items": {
"$ref": "#/definitions/OrderCreate"
}
},
"obs": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsCreate"
}
}
}
},
"EncounterroleGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"EncounterroleGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"EncounterroleGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"EncounterroleCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"EncounterroleCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"EncounterroleUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"ObsCreate": {
"required": [
"concept",
"obsDatetime",
"person"
],
"properties": {
"person": {
"type": "string",
"example": "uuid"
},
"obsDatetime": {
"type": "string",
"format": "date-time"
},
"concept": {
"type": "string",
"example": "uuid"
},
"location": {
"type": "string"
},
"order": {
"type": "string"
},
"encounter": {
"type": "string"
},
"accessionNumber": {
"type": "string"
},
"groupMembers": {
"type": "array",
"items": {
"type": "string"
}
},
"valueCodedName": {
"type": "string"
},
"comment": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"value": {
"type": "string"
},
"valueModifier": {
"type": "string"
},
"formFieldPath": {
"type": "string"
},
"formFieldNamespace": {
"type": "string"
}
}
},
"ObsCreateFull": {
"required": [
"concept",
"obsDatetime",
"person"
],
"properties": {
"person": {
"type": "string",
"example": "uuid"
},
"obsDatetime": {
"type": "string",
"format": "date-time"
},
"concept": {
"type": "string",
"example": "uuid"
},
"location": {
"type": "string"
},
"order": {
"type": "string"
},
"encounter": {
"type": "string"
},
"accessionNumber": {
"type": "string"
},
"groupMembers": {
"type": "array",
"items": {
"type": "string"
}
},
"valueCodedName": {
"type": "string"
},
"comment": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"value": {
"type": "string"
},
"valueModifier": {
"type": "string"
},
"formFieldPath": {
"type": "string"
},
"formFieldNamespace": {
"type": "string"
}
}
},
"ObsGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"obsDatetime": {
"type": "string",
"format": "date"
},
"accessionNumber": {
"type": "string"
},
"comment": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"value": {
"type": "string"
},
"valueModifier": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"person": {
"$ref": "#/definitions/PersonGetRef"
},
"obsGroup": {
"$ref": "#/definitions/ObsGetRef"
},
"groupMembers": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsGetRef"
}
},
"valueCodedName": {
"$ref": "#/definitions/ConceptNameGetRef"
},
"location": {
"$ref": "#/definitions/LocationGetRef"
},
"order": {
"$ref": "#/definitions/OrderGetRef"
},
"encounter": {
"$ref": "#/definitions/EncounterGetRef"
},
"formFieldPath": {
"type": "string"
},
"formFieldNamespace": {
"type": "string"
}
}
},
"ObsGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"formFieldPath": {
"type": "string"
},
"formFieldNamespace": {
"type": "string"
}
}
},
"ObsGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"obsDatetime": {
"type": "string",
"format": "date"
},
"accessionNumber": {
"type": "string"
},
"comment": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"value": {
"type": "string"
},
"valueModifier": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"person": {
"$ref": "#/definitions/PersonGet"
},
"obsGroup": {
"$ref": "#/definitions/ObsGet"
},
"groupMembers": {
"type": "array",
"items": {
"$ref": "#/definitions/ObsGet"
}
},
"valueCodedName": {
"$ref": "#/definitions/ConceptNameGet"
},
"location": {
"$ref": "#/definitions/LocationGet"
},
"order": {
"$ref": "#/definitions/OrderGet"
},
"encounter": {
"$ref": "#/definitions/EncounterGet"
},
"formFieldPath": {
"type": "string"
},
"formFieldNamespace": {
"type": "string"
}
}
},
"ObsUpdate": {},
"ProviderGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"person": {
"$ref": "#/definitions/PersonGetRef"
},
"identifier": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeGetRef"
}
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"ProviderGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ProviderGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"person": {
"$ref": "#/definitions/PersonGet"
},
"identifier": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeGet"
}
},
"preferredHandlerClassname": {
"type": "string"
}
}
},
"ProviderCreate": {
"required": [
"identifier",
"name",
"person"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"person": {
"type": "string",
"example": "uuid"
},
"identifier": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeCreate"
}
},
"retired": {
"type": "boolean"
}
}
},
"ProviderCreateFull": {
"required": [
"identifier",
"name",
"person"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"person": {
"$ref": "#/definitions/PersonCreate"
},
"identifier": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeCreate"
}
},
"retired": {
"type": "boolean"
}
}
},
"ProviderUpdate": {
"required": [
"identifier",
"name",
"person"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"person": {
"type": "string",
"example": "uuid"
},
"identifier": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderAttributeCreate"
}
},
"retired": {
"type": "boolean"
}
}
},
"CohortGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"voided": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"CohortGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"CohortGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"voided": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"CohortCreate": {
"required": [
"description",
"memberIds",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"CohortCreateFull": {
"required": [
"description",
"memberIds",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"CohortUpdate": {
"required": [
"description",
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"VisittypeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"VisittypeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"VisittypeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
}
}
},
"VisittypeCreate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"VisittypeCreateFull": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"VisittypeUpdate": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"PatientAllergyCreate": {
"required": [
"allergen"
],
"properties": {
"allergen": {
"type": "object"
},
"severity": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"comment": {
"type": "string"
},
"reactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"allergy": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"reaction": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
}
}
}
}
}
},
"PatientAllergyCreateFull": {
"required": [
"allergen"
],
"properties": {
"allergen": {
"type": "object"
},
"severity": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"comment": {
"type": "string"
},
"reactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"allergy": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"reaction": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
}
}
}
}
}
},
"PatientAllergyGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"allergen": {
"type": "object"
},
"severity": {
"$ref": "#/definitions/ConceptGetRef"
},
"comment": {
"type": "string"
},
"reactions": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptGetRef"
}
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
}
}
},
"PatientAllergyGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PatientAllergyGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"allergen": {
"type": "object"
},
"severity": {
"$ref": "#/definitions/ConceptGet"
},
"comment": {
"type": "string"
},
"reactions": {
"type": "array",
"items": {
"$ref": "#/definitions/ConceptGet"
}
},
"patient": {
"$ref": "#/definitions/PatientGet"
}
}
},
"PatientAllergyUpdate": {
"required": [
"allergen"
],
"properties": {
"allergen": {
"type": "object"
},
"severity": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"comment": {
"type": "string"
},
"reactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"allergy": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
},
"reaction": {
"type": "object",
"properties": {
"uuid": {
"type": "string"
}
}
}
}
}
}
}
},
"PatientIdentifierGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"identifier": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"voided": {
"type": "boolean"
},
"identifierType": {
"$ref": "#/definitions/PatientidentifiertypeGetRef"
},
"location": {
"$ref": "#/definitions/LocationGetRef"
}
}
},
"PatientIdentifierGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PatientIdentifierGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"identifier": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"voided": {
"type": "boolean"
},
"identifierType": {
"$ref": "#/definitions/PatientidentifiertypeGet"
},
"location": {
"$ref": "#/definitions/LocationGet"
}
}
},
"PatientIdentifierCreate": {
"required": [
"identifier",
"identifierType"
],
"properties": {
"identifier": {
"type": "string"
},
"identifierType": {
"type": "string",
"example": "uuid"
},
"location": {
"type": "string",
"example": "uuid"
},
"preferred": {
"type": "boolean",
"default": false
}
}
},
"PatientIdentifierCreateFull": {
"required": [
"identifier",
"identifierType"
],
"properties": {
"identifier": {
"type": "string"
},
"identifierType": {
"$ref": "#/definitions/PatientidentifiertypeCreate"
},
"location": {
"$ref": "#/definitions/LocationCreate"
},
"preferred": {
"type": "boolean",
"default": false
}
}
},
"PatientIdentifierUpdate": {
"required": [
"identifier",
"identifierType"
],
"properties": {
"identifier": {
"type": "string"
},
"identifierType": {
"type": "string",
"example": "uuid"
},
"location": {
"type": "string",
"example": "uuid"
},
"preferred": {
"type": "boolean",
"default": false
}
}
},
"LocationAttributeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"LocationAttributeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"LocationAttributeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"LocationAttributeCreate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"LocationAttributeCreateFull": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"LocationAttributeUpdate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"CustomdatatypeHandlersGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"handlerClassname": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"CustomdatatypeHandlersGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"CustomdatatypeHandlersGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"handlerClassname": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PersonAttributeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"value": {
"type": "string"
},
"attributeType": {
"$ref": "#/definitions/PersonattributetypeGetRef"
},
"voided": {
"type": "boolean"
}
}
},
"PersonAttributeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PersonAttributeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"value": {
"type": "string"
},
"attributeType": {
"$ref": "#/definitions/PersonattributetypeGetRef"
},
"voided": {
"type": "boolean"
},
"hydratedObject": {
"type": "string"
}
}
},
"PersonAttributeCreate": {
"required": [
"attributeType"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
},
"hydratedObject": {
"type": "string",
"example": "uuid"
}
}
},
"PersonAttributeCreateFull": {
"required": [
"attributeType"
],
"properties": {
"attributeType": {
"$ref": "#/definitions/PersonattributetypeCreate"
},
"value": {
"type": "string"
},
"hydratedObject": {
"type": "string",
"example": "uuid"
}
}
},
"PersonAttributeUpdate": {
"required": [
"attributeType"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
},
"hydratedObject": {
"type": "string",
"example": "uuid"
}
}
},
"ConceptDescriptionGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"description": {
"type": "string"
},
"locale": {
"type": "string"
}
}
},
"ConceptDescriptionGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptDescriptionGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"description": {
"type": "string"
},
"locale": {
"type": "string"
}
}
},
"ConceptDescriptionCreate": {
"required": [
"description",
"locale"
],
"properties": {
"description": {
"type": "string"
},
"locale": {
"type": "string",
"example": "fr"
}
}
},
"ConceptDescriptionCreateFull": {
"required": [
"description",
"locale"
],
"properties": {
"description": {
"type": "string"
},
"locale": {
"type": "string",
"example": "fr"
}
}
},
"ConceptDescriptionUpdate": {
"required": [
"description",
"locale"
],
"properties": {
"description": {
"type": "string"
},
"locale": {
"type": "string",
"example": "fr"
}
}
},
"PersonAddressGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"PersonAddressGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"PersonAddressGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"PersonAddressCreate": {
"properties": {
"preferred": {
"type": "boolean",
"default": false
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
}
}
},
"PersonAddressCreateFull": {
"properties": {
"preferred": {
"type": "boolean",
"default": false
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
}
}
},
"PersonAddressUpdate": {
"properties": {
"preferred": {
"type": "boolean",
"default": false
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"cityVillage": {
"type": "string"
},
"stateProvince": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countyDistrict": {
"type": "string"
},
"address3": {
"type": "string"
},
"address4": {
"type": "string"
},
"address5": {
"type": "string"
},
"address6": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
}
}
},
"WorkflowStateGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
}
}
},
"WorkflowStateGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
}
}
},
"WorkflowStateGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"description": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
}
}
},
"WorkflowStateCreate": {},
"WorkflowStateCreateFull": {},
"PersonNameGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"givenName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"familyName": {
"type": "string"
},
"familyName2": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"PersonNameGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"PersonNameGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"givenName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"familyName": {
"type": "string"
},
"familyName2": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"preferred": {
"type": "boolean"
},
"prefix": {
"type": "string"
},
"familyNamePrefix": {
"type": "string"
},
"familyNameSuffix": {
"type": "string"
},
"degree": {
"type": "string"
}
}
},
"PersonNameCreate": {
"required": [
"familyName",
"givenName"
],
"properties": {
"givenName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"familyName": {
"type": "string"
},
"familyName2": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"prefix": {
"type": "string"
},
"familyNamePrefix": {
"type": "string"
},
"familyNameSuffix": {
"type": "string"
},
"degree": {
"type": "string"
}
}
},
"PersonNameCreateFull": {
"required": [
"familyName",
"givenName"
],
"properties": {
"givenName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"familyName": {
"type": "string"
},
"familyName2": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"prefix": {
"type": "string"
},
"familyNamePrefix": {
"type": "string"
},
"familyNameSuffix": {
"type": "string"
},
"degree": {
"type": "string"
}
}
},
"PersonNameUpdate": {
"required": [
"familyName",
"givenName"
],
"properties": {
"givenName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"familyName": {
"type": "string"
},
"familyName2": {
"type": "string"
},
"preferred": {
"type": "boolean",
"default": false
},
"prefix": {
"type": "string"
},
"familyNamePrefix": {
"type": "string"
},
"familyNameSuffix": {
"type": "string"
},
"degree": {
"type": "string"
}
}
},
"ConceptNameGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
},
"localePreferred": {
"type": "boolean"
},
"conceptNameType": {
"type": "string",
"enum": [
"FULLY_SPECIFIED",
"SHORT",
"INDEX_TERM"
]
}
}
},
"ConceptNameGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"ConceptNameGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
},
"localePreferred": {
"type": "boolean"
},
"conceptNameType": {
"type": "string",
"enum": [
"FULLY_SPECIFIED",
"SHORT",
"INDEX_TERM"
]
}
}
},
"ConceptNameCreate": {
"required": [
"locale",
"name"
],
"properties": {
"name": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
},
"localePreferred": {
"type": "boolean",
"default": false
},
"conceptNameType": {
"type": "string",
"enum": [
"FULLY_SPECIFIED",
"SHORT",
"INDEX_TERM"
]
}
}
},
"ConceptNameCreateFull": {
"required": [
"locale",
"name"
],
"properties": {
"name": {
"type": "string"
},
"locale": {
"type": "string",
"example": "en"
},
"localePreferred": {
"type": "boolean",
"default": false
},
"conceptNameType": {
"type": "string",
"enum": [
"FULLY_SPECIFIED",
"SHORT",
"INDEX_TERM"
]
}
}
},
"ConceptNameUpdate": {
"properties": {
"name": {
"type": "string"
}
}
},
"FieldAnswerGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGetRef"
},
"field": {
"$ref": "#/definitions/FieldGetRef"
}
}
},
"FieldAnswerGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"FieldAnswerGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"concept": {
"$ref": "#/definitions/ConceptGet"
},
"field": {
"$ref": "#/definitions/FieldGet"
}
}
},
"FieldAnswerCreate": {
"required": [
"concept",
"field"
],
"properties": {
"concept": {
"type": "string",
"example": "uuid"
},
"field": {
"type": "string",
"example": "uuid"
}
}
},
"FieldAnswerCreateFull": {
"required": [
"concept",
"field"
],
"properties": {
"concept": {
"$ref": "#/definitions/ConceptCreate"
},
"field": {
"$ref": "#/definitions/FieldCreate"
}
}
},
"FieldAnswerUpdate": {
"required": [
"concept",
"field"
],
"properties": {
"concept": {
"type": "string",
"example": "uuid"
},
"field": {
"type": "string",
"example": "uuid"
}
}
},
"EncounterEncounterproviderGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/ProviderGetRef"
},
"encounterRole": {
"$ref": "#/definitions/EncounterroleGetRef"
},
"voided": {
"type": "boolean"
}
}
},
"EncounterEncounterproviderGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"EncounterEncounterproviderGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/ProviderGet"
},
"encounterRole": {
"$ref": "#/definitions/EncounterroleGet"
},
"voided": {
"type": "boolean"
}
}
},
"EncounterEncounterproviderCreate": {
"properties": {
"provider": {
"type": "string",
"example": "uuid"
},
"encounterRole": {
"type": "string",
"example": "uuid"
},
"encounter": {
"type": "string"
}
}
},
"EncounterEncounterproviderCreateFull": {
"properties": {
"provider": {
"$ref": "#/definitions/ProviderCreate"
},
"encounterRole": {
"$ref": "#/definitions/EncounterroleCreate"
},
"encounter": {
"$ref": "#/definitions/EncounterCreate"
}
}
},
"EncounterEncounterproviderUpdate": {
"properties": {
"encounterRole": {
"type": "string"
},
"voided": {
"type": "boolean"
},
"voidReason": {
"type": "string"
}
}
},
"ConceptMappingGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"conceptReferenceTerm": {
"$ref": "#/definitions/ConceptreferencetermGetRef"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeGetRef"
}
}
},
"ConceptMappingGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"ConceptMappingGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"conceptReferenceTerm": {
"$ref": "#/definitions/ConceptreferencetermGet"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeGet"
}
}
},
"ConceptMappingCreate": {
"required": [
"conceptMapType",
"conceptReferenceTerm"
],
"properties": {
"conceptReferenceTerm": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
},
"ConceptMappingCreateFull": {
"required": [
"conceptMapType",
"conceptReferenceTerm"
],
"properties": {
"conceptReferenceTerm": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
},
"ConceptMappingUpdate": {
"required": [
"conceptMapType",
"conceptReferenceTerm"
],
"properties": {
"conceptReferenceTerm": {
"$ref": "#/definitions/ConceptreferencetermCreate"
},
"conceptMapType": {
"$ref": "#/definitions/ConceptmaptypeCreate"
}
}
},
"VisitAttributeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"VisitAttributeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"VisitAttributeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"VisitAttributeCreate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"VisitAttributeCreateFull": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"VisitAttributeUpdate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ProgramenrollmentStateCreate": {
"required": [
"state"
],
"properties": {
"state": {
"$ref": "#/definitions/WorkflowStateCreate"
}
}
},
"ProgramenrollmentStateCreateFull": {
"required": [
"state"
],
"properties": {
"state": {
"$ref": "#/definitions/WorkflowStateCreate"
}
}
},
"ProgramenrollmentStateGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
},
"state": {
"$ref": "#/definitions/WorkflowStateGet"
}
}
},
"ProgramenrollmentStateGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
},
"state": {
"$ref": "#/definitions/WorkflowStateGetRef"
},
"patientProgram": {
"type": "object"
}
}
},
"ProgramenrollmentStateGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
},
"state": {
"$ref": "#/definitions/WorkflowStateGetRef"
},
"patientProgram": {
"type": "object"
}
}
},
"ProgramenrollmentStateUpdate": {
"properties": {
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"voided": {
"type": "boolean"
}
}
},
"ConceptAttributeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"ConceptAttributeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"ConceptAttributeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"ConceptAttributeCreate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ConceptAttributeCreateFull": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ConceptAttributeUpdate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ProviderAttributeGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"ProviderAttributeGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"ProviderAttributeGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"uuid": {
"type": "string"
},
"attributeType": {
"type": "string"
},
"value": {
"type": "string"
},
"voided": {
"type": "boolean"
}
}
},
"ProviderAttributeCreate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ProviderAttributeCreateFull": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"ProviderAttributeUpdate": {
"required": [
"attributeType",
"value"
],
"properties": {
"attributeType": {
"type": "string",
"example": "uuid"
},
"value": {
"type": "string"
}
}
},
"CohortMemberGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
}
}
},
"CohortMemberGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
}
}
},
"CohortMemberGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"display": {
"type": "string"
},
"patient": {
"$ref": "#/definitions/PatientGetRef"
}
}
},
"CohortMemberCreate": {
"required": [
"patient"
],
"properties": {
"patient": {
"type": "string",
"example": "uuid"
}
}
},
"CohortMemberCreateFull": {
"required": [
"patient"
],
"properties": {
"patient": {
"$ref": "#/definitions/PatientCreate"
}
}
},
"CohortMemberUpdate": {
"required": [
"patient"
],
"properties": {
"patient": {
"type": "string",
"example": "uuid"
}
}
},
"FormFormfieldGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"fieldNumber": {
"type": "integer",
"format": "int32"
},
"fieldPart": {
"type": "string"
},
"pageNumber": {
"type": "integer",
"format": "int32"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"required": {
"type": "boolean",
"default": false
},
"sortWeight": {
"type": "number",
"format": "float"
},
"retired": {
"type": "boolean"
},
"parent": {
"$ref": "#/definitions/FormFormfieldGetRef"
},
"form": {
"$ref": "#/definitions/FormGetRef"
},
"field": {
"$ref": "#/definitions/FieldGetRef"
}
}
},
"FormFormfieldGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
}
}
},
"FormFormfieldGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"fieldNumber": {
"type": "integer",
"format": "int32"
},
"fieldPart": {
"type": "string"
},
"pageNumber": {
"type": "integer",
"format": "int32"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"required": {
"type": "boolean",
"default": false
},
"sortWeight": {
"type": "number",
"format": "float"
},
"retired": {
"type": "boolean"
},
"parent": {
"$ref": "#/definitions/FormFormfieldGet"
},
"form": {
"$ref": "#/definitions/FormGet"
},
"field": {
"$ref": "#/definitions/FieldGet"
}
}
},
"FormFormfieldCreate": {
"required": [
"field",
"form",
"required"
],
"properties": {
"form": {
"type": "string",
"example": "uuid"
},
"field": {
"type": "string",
"example": "uuid"
},
"required": {
"type": "boolean",
"default": false
},
"parent": {
"type": "string",
"example": "uuid"
},
"fieldNumber": {
"type": "integer",
"format": "int32"
},
"fieldPart": {
"type": "string"
},
"pageNumber": {
"type": "integer",
"format": "int32"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "boolean",
"default": false
}
}
},
"FormFormfieldCreateFull": {
"required": [
"field",
"form",
"required"
],
"properties": {
"form": {
"$ref": "#/definitions/FormCreate"
},
"field": {
"$ref": "#/definitions/FieldCreate"
},
"required": {
"type": "boolean",
"default": false
},
"parent": {
"$ref": "#/definitions/FormFormfieldCreate"
},
"fieldNumber": {
"type": "integer",
"format": "int32"
},
"fieldPart": {
"type": "string"
},
"pageNumber": {
"type": "integer",
"format": "int32"
},
"minOccurs": {
"type": "integer",
"format": "int32"
},
"maxOccurs": {
"type": "integer",
"format": "int32"
},
"sortWeight": {
"type": "boolean",
"default": false
}
}
},
"FormFormfieldUpdate": {},
"FormResourceGet": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self|full"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"valueReference": {
"type": "string"
}
}
},
"FormResourceGetRef": {
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
}
}
},
"FormResourceGetFull": {
"properties": {
"auditInfo": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"example": "self",
"properties": {
"rel": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"valueReference": {
"type": "string"
},
"dataType": {
"type": "string"
},
"handler": {
"type": "string"
},
"handlerConfig": {
"type": "string"
}
}
},
"FormResourceCreate": {
"properties": {
"form": {
"type": "string"
},
"name": {
"type": "string"
},
"dataType": {
"type": "string"
},
"handler": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
},
"valueReference": {
"type": "string"
}
}
},
"FormResourceCreateFull": {
"properties": {
"form": {
"$ref": "#/definitions/FormCreate"
},
"name": {
"type": "string"
},
"dataType": {
"type": "string"
},
"handler": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
},
"valueReference": {
"type": "string"
}
}
},
"FormResourceUpdate": {
"properties": {
"form": {
"type": "string"
},
"name": {
"type": "string"
},
"dataType": {
"type": "string"
},
"handler": {
"type": "string"
},
"handlerConfig": {
"type": "string"
},
"value": {
"type": "string"
},
"valueReference": {
"type": "string"
}
}
},
"FetchAll": {
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"display": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"example": "self"
},
"uri": {
"type": "string",
"format": "uri"
}
}
}
},
"uuid": {
"type": "string"
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment