{ "openapi": "3.0.1", "info": { "title": "Patient Access", "description": "Patient Access Endpoints for FHIR Resources", "version": "1.0" }, "servers": [ { "url": "https://dev-int-api-gw.centene.com/fhir/v4/patientaccess" } ], "tags": [ { "name": "metadata" }, { "name": "AllergyIntolerance" }, { "name": "Patient" }, { "name": "CarePlan" }, { "name": "CareTeam" }, { "name": "Condition" }, { "name": "Coverage" }, { "name": "Device" }, { "name": "DiagnosticReport" }, { "name": "Encounter" }, { "name": "ExplanationOfBenefit" }, { "name": "Goal" }, { "name": "Immunization" }, { "name": "List" }, { "name": "Location" }, { "name": "Medication" }, { "name": "MedicationKnowledge" }, { "name": "MedicationRequest" }, { "name": "Observation" }, { "name": "Organization" }, { "name": "Practitioner" }, { "name": "PractitionerRole" }, { "name": "Procedure" }, { "name": "Provenance" }, { "name": "QuestionnaireResponse" } ], "paths": { "/metadata": { "get": { "tags": [ "metadata" ], "summary": "CapailityStatement", "description": "Capability Statement", "operationId": "getMetadata", "responses": { "200": { "description": "Success" } } } }, "/CareTeam": { "get": { "tags": [ "CareTeam" ], "summary": "Search all resources of type CareTeam based on a set of criteria", "description": "Search all resources of type CareTeam based on a set of criteria", "operationId": "searchCareTeam", "parameters": [ { "name": "patient", "in": "query", "description": "Who care team is for", "schema": { "type": "string" } }, { "name": "status", "in": "query", "description": "proposed | active | suspended | inactive | entered-in-error", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/CareTeam-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed careteam ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this careteam." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this careteam." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No careteam found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for careteam with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for careteam is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/CareTeam/{id}": { "get": { "tags": [ "CareTeam" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readCareTeam", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/CareTeam" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed careteam ID." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this careteam." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this careteam." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No careteam found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for careteam with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for careteam is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/AllergyIntolerance": { "get": { "tags": [ "AllergyIntolerance" ], "summary": "Search all resources of type AllergyIntolerance based on a set of criteria", "description": "Search all resources of type AllergyIntolerance based on a set of criteria", "operationId": "searchAllergyIntolerance", "parameters": [ { "name": "patient", "in": "query", "description": "Who the sensitivity is for", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/AllergyIntolerance-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed AllergyIntolerance ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this AllergyIntolerance." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this AllergyIntolerance." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No AllergyIntolerance found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for AllergyIntolerance with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Allergy Intolerance is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/AllergyIntolerance/{id}": { "get": { "tags": [ "AllergyIntolerance" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readAllergyIntolerance", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/AllergyIntolerance" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed AllergyIntolerance ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this AllergyIntolerance." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this AllergyIntolerance." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No AllergyIntolerance found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for AllergyIntolerance with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for AllergyIntolerance is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Encounter": { "get": { "tags": [ "Encounter" ], "summary": "Search all resources of type Encounter based on a set of criteria", "description": "Search all resources of type Encounter based on a set of criteria", "operationId": "searchEncounter", "parameters": [ { "name": "_id", "in": "query", "description": "The ID of the resource", "schema": { "type": "string" } }, { "name": "patient", "in": "query", "description": "The patient or group present at the encounter", "schema": { "type": "string" } }, { "name": "date", "in": "query", "description": "A date within the period the Encounter lasted", "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Encounter-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Encounter ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Encounter." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Encounter." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Encounter found with the Encounter ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Encounter with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Encounter is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Encounter/{id}": { "get": { "tags": [ "Encounter" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readEncounter", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Encounter" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Encounter ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Encounter." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Encounter." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Encounter found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Encounter with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Encounter is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Device": { "get": { "tags": [ "Device" ], "summary": "Search all resources of type Device based on a set of criteria", "description": "Search all resources of type Device based on a set of criteria", "operationId": "searchDevice", "parameters": [ { "name": "patient", "in": "query", "description": "Patient information, if the resource is affixed to a person", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Device-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Device ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Device." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Device." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Device found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for device with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for device is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Device/{id}": { "get": { "tags": [ "Device" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readDevice", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Device" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Device ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Device." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Device." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Device found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for device with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for device is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Condition": { "get": { "tags": [ "Condition" ], "summary": "Search all resources of type Condition based on a set of criteria", "description": "Search all resources of type Condition based on a set of criteria", "operationId": "searchCondition", "parameters": [ { "name": "patient", "in": "query", "description": "Who has the condition?", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Condition-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Condition ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Condition." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Condition." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Condition found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for condition with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for condition is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Condition/{id}": { "get": { "tags": [ "Condition" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readCondition", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Condition" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Condition ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Condition." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Condition." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Condition found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for condition with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for condition is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/DiagnosticReport": { "get": { "tags": [ "DiagnosticReport" ], "summary": "Search all resources of type DiagnosticReport based on a set of criteria", "description": "Search all resources of type DiagnosticReport based on a set of criteria", "operationId": "searchDiagnosticReport", "parameters": [ { "name": "patient", "in": "query", "description": "The subject of the report if a patient", "schema": { "type": "string" } }, { "name": "category", "in": "query", "description": "Which diagnostic discipline/department created the report", "schema": { "type": "string" } }, { "name": "date", "in": "query", "description": "The clinically relevant time of the report", "schema": { "type": "string", "format": "date" } }, { "name": "code", "in": "query", "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/DiagnosticReport-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed DiagnosticReport ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this DiagnosticReport." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this DiagnosticReport." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No DiagnosticReport found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for diagnostic report with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for diagnostic report is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/DiagnosticReport/{id}": { "get": { "tags": [ "DiagnosticReport" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readDiagnosticReport", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/DiagnosticReport" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed DiagnosticReport ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this DiagnosticReport." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this DiagnosticReport." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No DiagnosticReport found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for diagnostic report with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for diagnostic report is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Immunization": { "get": { "tags": [ "Immunization" ], "summary": "Search all resources of type Immunization based on a set of criteria", "description": "Search all resources of type Immunization based on a set of criteria", "operationId": "searchImmunization", "parameters": [ { "name": "patient", "in": "query", "description": "The patient for the vaccination record", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Immunization-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Immunization ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Immunization." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Immunization." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Immunization found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Immunization with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Immunization is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Immunization/{id}": { "get": { "tags": [ "Immunization" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readImmunization", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Immunization" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Immunization ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Immunization." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Immunization." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Immunization found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Immunization with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for immunization is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/CarePlan": { "get": { "tags": [ "CarePlan" ], "summary": "Search all resources of type CarePlan based on a set of criteria", "description": "Search all resources of type CarePlan based on a set of criteria", "operationId": "searchCarePlan", "parameters": [ { "name": "patient", "in": "query", "description": "Who the care plan is for", "schema": { "type": "string" } }, { "name": "category", "in": "query", "description": "Type of plan", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/CarePlan-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed CarePlan ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this CarePlan." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this CarePlan." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No CarePlan found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for careplan with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for careplan is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/CarePlan/{id}": { "get": { "tags": [ "CarePlan" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readCarePlan", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/CarePlan" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed CarePlan ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this CarePlan." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this CarePlan." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No CarePlan found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for careplan with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for careplan is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Goal": { "get": { "tags": [ "Goal" ], "summary": "Search all resources of type Goal based on a set of criteria", "description": "Search all resources of type Goal based on a set of criteria", "operationId": "searchGoal", "parameters": [ { "name": "patient", "in": "query", "description": "Who this goal is intended for", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Goal-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Goal ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Goal." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Goal." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Goal found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for goal with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for goal is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Goal/{id}": { "get": { "tags": [ "Goal" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readGoal", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Goal" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Goal ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Goal." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Goal." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Goal found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for goal with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for goal is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/MedicationRequest": { "get": { "tags": [ "MedicationRequest" ], "summary": "Search all resources of type MedicationRequest based on a set of criteria", "description": "Search all resources of type MedicationRequest based on a set of criteria", "operationId": "searchMedicationRequest", "parameters": [ { "name": "intent", "in": "query", "description": "Returns prescriptions with different intents", "schema": { "type": "string" } }, { "name": "patient", "in": "query", "description": "Returns prescriptions for a specific patient", "schema": { "type": "string" } }, { "name": "status", "in": "query", "description": "Status of the prescription", "schema": { "type": "string" } }, { "name": "_include", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/MedicationRequest-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed MedicationRequest ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this MedicationRequest." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this MedicationRequest." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No MedicationRequest found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for medication request with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Medication request is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/MedicationRequest/{id}": { "get": { "tags": [ "MedicationRequest" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readMedicationRequest", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/MedicationRequest" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed MedicationRequest ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this MedicationRequest." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this MedicationRequest." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No MedicationRequest found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for medication request with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for medication request is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/PractitionerRole": { "get": { "tags": [ "PractitionerRole" ], "summary": "Search all resources of type PractitionerRole based on a set of criteria", "description": "Search all resources of type PractitionerRole based on a set of criteria", "operationId": "searchPractitionerRole", "parameters": [ { "name": "practitioner", "in": "query", "description": "Practitioner that is able to provide the defined services for the organization", "schema": { "type": "string" } }, { "name": "practitioner.name", "in": "query", "description": "Practitioner name that is able to provide the defined services for the organization", "schema": { "type": "string" } }, { "name": "practitioner.identifier", "in": "query", "description": "Practitioner identifier that is able to provide the defined services for the organization", "schema": { "type": "string" } }, { "name": "specialty", "in": "query", "description": "The practitioner has this specialty at an organization", "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/PractitionerRole-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed PractitionerRole ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this PractitionerRole." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this PractitionerRole." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No PractitionerRole found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Practitioner Role with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for paractitioner role is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/PractitionerRole/{id}": { "get": { "tags": [ "PractitionerRole" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readPractitionerRole", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/PractitionerRole" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed PractitionerRole ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this PractitionerRole." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this PractitionerRole." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No PractitionerRole found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for practitioner role with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for practitioner role is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Location": { "get": { "tags": [ "Location" ], "summary": "Search all resources of type Location based on a set of criteria", "description": "Search all resources of type Location based on a set of criteria", "operationId": "searchLocation", "parameters": [ { "name": "address", "in": "query", "description": "A (part of the) address of the location", "schema": { "type": "string" } }, { "name": "address:contains", "in": "query", "description": "A (part of the) address of the location", "schema": { "type": "string" } }, { "name": "address:exact", "in": "query", "description": "A server defined search that would match the exact address", "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "A portion of the location's name or alias", "schema": { "type": "string" } }, { "name": "name:contains", "in": "query", "description": "A portion of the location's name or alias", "schema": { "type": "string" } }, { "name": "name:exact", "in": "query", "description": "A server defined search that would match the exact name", "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Location-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Location ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Location." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Location." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Location found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Location with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Location is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Location/{id}": { "get": { "tags": [ "Location" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readLocation", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Location" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Location ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Location." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Location." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Location found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Location with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Location is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Procedure": { "get": { "tags": [ "Procedure" ], "summary": "Search all resources of type Procedure based on a set of criteria", "description": "Search all resources of type Procedure based on a set of criteria", "operationId": "searchProcedure", "parameters": [ { "name": "patient", "in": "query", "description": "Search by subject - a patient", "schema": { "type": "string" } }, { "name": "date", "in": "query", "description": "When the procedure was performed", "schema": { "type": "string", "format": "date" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Procedure-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Procedure ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Procedure." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Procedure." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Procedure found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for procedure with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for procedure is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Procedure/{id}": { "get": { "tags": [ "Procedure" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readProcedure", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Procedure" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Procedure ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Procedure." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Procedure." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Procedure found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for procedure with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for procedure is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Observation": { "get": { "tags": [ "Observation" ], "summary": "Search all resources of type Observation based on a set of criteria", "description": "Search all resources of type Observation based on a set of criteria", "operationId": "searchObservation", "parameters": [ { "name": "category", "in": "query", "description": "The classification of the type of observation", "schema": { "type": "string" } }, { "name": "patient", "in": "query", "description": "The subject that the observation is about (if patient)", "schema": { "type": "string" } }, { "name": "date", "in": "query", "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period", "schema": { "type": "string" } }, { "name": "code", "in": "query", "description": "The code of the observation type", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Observation-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Observation ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Observation." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Observation." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Observation found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for observation with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for observation is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Observation/{id}": { "get": { "tags": [ "Observation" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readObservation", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Observation" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Observation ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Observation." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Observation." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Observation found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for observation with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for observation is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Coverage": { "get": { "tags": [ "Coverage" ], "summary": "Search all resources of type Coverage based on a set of criteria", "description": "Search all resources of type Coverage based on a set of criteria", "operationId": "searchCoverage", "parameters": [ { "name": "_id", "in": "query", "description": "Logical id of this artifact", "schema": { "type": "string" } }, { "name": "_include", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Coverage-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Coverage ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Coverage." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Coverage." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Coverage found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for coverage with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for coverage is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Coverage/{id}": { "get": { "tags": [ "Coverage" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readCoverage", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Coverage" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Coverage ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Coverage." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Coverage." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Coverage found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for coverage with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for coverage is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Practitioner": { "get": { "tags": [ "Practitioner" ], "summary": "Search all resources of type Practitioner based on a set of criteria", "description": "Search all resources of type Practitioner based on a set of criteria", "operationId": "searchPractitioner", "parameters": [ { "name": "_id", "in": "query", "description": "Logical id of this artifact", "schema": { "type": "string" } }, { "name": "identifier", "in": "query", "description": "A practitioner's Identifier", "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", "schema": { "type": "string" } }, { "name": "name:contains", "in": "query", "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", "schema": { "type": "string" } }, { "name": "name:exact", "in": "query", "description": "A server defined search that would match the exact name", "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Practitioner-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Practitioner ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Practitioner." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Practitioner." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Practitioner found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for practitioner with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for practitioner is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Practitioner/{id}": { "get": { "tags": [ "Practitioner" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readPractitioner", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Practitioner" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Practitioner ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Practitioner." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Practitioner." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Practitioner found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for practitioner with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for practitioner is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Patient": { "get": { "tags": [ "Patient" ], "summary": "Search all resources of type Patient based on a set of criteria", "description": "Search all resources of type Patient based on a set of criteria", "operationId": "searchPatient", "parameters": [ { "name": "_id", "in": "query", "description": "A patient's Identifier", "schema": { "type": "string" } }, { "name": "identifier", "in": "query", "description": "A patient's Identifier", "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text", "schema": { "type": "string" } }, { "name": "gender", "in": "query", "description": "A patient's Gender", "schema": { "type": "string" } }, { "name": "birthdate", "in": "query", "description": "A patient's birthdate", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Practitioner-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Patient ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Patient." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Patient." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Patient found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for patient with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for patient is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Patient/{id}": { "get": { "tags": [ "Patient" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readPatient", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Patient" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Patient ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Patient." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Patient." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Patient found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for patient with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for patient is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/ExplanationOfBenefit": { "get": { "tags": [ "ExplanationOfBenefit" ], "summary": "Search all resources of type ExplanationOfBenefit based on a set of criteria", "description": "Search all resources of type ExplanationOfBenefit based on a set of criteria", "operationId": "searchExplanationOfBenefit", "parameters": [ { "name": "service-date", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "patient", "in": "query", "description": "The reference to the patient", "schema": { "type": "string" } }, { "name": "_id", "in": "query", "description": "The ID of the resource", "schema": { "type": "string" } }, { "name": "type", "in": "query", "schema": { "type": "string" } }, { "name": "_lastUpdated", "in": "query", "schema": { "type": "string" } }, { "name": "identifier", "in": "query", "description": "The business identifier of the Explanation of Benefit", "schema": { "type": "string" } }, { "name": "service-start-date", "in": "query", "description": "Starting Date of the service for the EOB. The service-start-date search parameter simplifies search, since a client doesn\u0027t need to know that for inpatient and outpatient institutional EOB dates they need to search by billablePeriod.start, for a pharmacy EOB by item.servicedDate, for a professional and non-clinician EOB - by item.servicedPeriod.start and for an oral EOB - by item.servicedPeriod.start.", "schema": { "type": "string", "format": "date" } }, { "name": "billable-period-start", "description": "Starting Date of the service for the EOB using billablePeriod.period.start. The billable-period-start search parameter using the billablePeriod.period.start provides results with the earliest billablePeriod.start from a professional and non-clinician EOB or an oral EOB.", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "_include", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ExplanationOfBenefit-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed ExplanationOfBenefit ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this ExplanationOfBenefit." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this ExplanationOfBenefit." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No ExplanationOfBenefit found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Explanation of benefit with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Explanation of benefit is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/ExplanationOfBenefit/{id}": { "get": { "tags": [ "ExplanationOfBenefit" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readExplanationOfBenefit", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ExplanationOfBenefit" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed ExplanationOfBenefit ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this ExplanationOfBenefit." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this ExplanationOfBenefit." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No ExplanationOfBenefit found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for explanation of benefit with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for explanation of benefit is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Organization": { "get": { "tags": [ "Organization" ], "summary": "Search all resources of type Organization based on a set of criteria", "description": "Search all resources of type Organization based on a set of criteria", "operationId": "searchOrganization", "parameters": [ { "name": "_id", "in": "query", "description": "Logical id of this artifact", "schema": { "type": "string" } }, { "name": "address", "in": "query", "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text", "schema": { "type": "string" } }, { "name": "address:contains", "in": "query", "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text", "schema": { "type": "string" } }, { "name": "address:exact", "in": "query", "description": "A server defined search that would match the exact address", "schema": { "type": "string" } }, { "name": "name", "in": "query", "description": "A portion of the organization's name or alias", "schema": { "type": "string" } }, { "name": "name:contains", "in": "query", "description": "A portion of the organization's name or alias", "schema": { "type": "string" } }, { "name": "name:exact", "in": "query", "description": "A server defined search that would match the exact name", "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Organization-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Organization ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Organization." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Organization." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Organization found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for organization with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for organization is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Organization/{id}": { "get": { "tags": [ "Organization" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readOrganization", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "_page", "in": "query", "schema": { "type": "number" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Organization" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Organization ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Organization." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Organization." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Organization found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for organization with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for organization is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/List": { "get": { "tags": [ "List" ], "summary": "Search all resources of type List based on a set of criteria", "description": "Search all resources of type List based on a set of criteria", "operationId": "searchList", "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/List-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed List ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this List." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this List." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No List found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for List with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for List is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "parameters": [ { "name": "identifier", "in": "query", "schema": { "type": "string" }, "description": "Business Identifier" }, { "name": "_id", "in": "query", "schema": { "type": "string" }, "description": "Logical id of resource" }, { "name": "item", "in": "query", "schema": { "type": "string" }, "description": "MedicationKnowledge resource id" }, { "name": "status", "in": "query", "schema": { "type": "string" }, "description": "CoveragePlan status - 'current', 'retired', or 'entered-in-error'" }, { "name": "_page", "in": "query", "schema": { "type": "number" }, "description": "Page for paginated results" } ], "security": [ { "Bearer": [] } ] } }, "/List/{id}": { "get": { "tags": [ "List" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readList", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/List-read" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed List ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this List." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this List." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No List found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for List with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for List is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/MedicationKnowledge": { "get": { "tags": [ "MedicationKnowledge" ], "summary": "Search all resources of type MedicationKnowledge based on a set of criteria", "description": "Search all resources of type MedicationKnowledge based on a set of criteria", "operationId": "searchMedicationKnowledge", "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/MedicationKnowledge-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed MedicationKnowledge ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this MedicationKnowledge." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this MedicationKnowledge." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No MedicationKnowledge found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Medication knowledge with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Medication knowledge is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "parameters": [ { "name": "DrugTier", "in": "query", "schema": { "type": "string" }, "description": "Identifier for DrugTier" }, { "name": "DrugPlan", "in": "query", "schema": { "type": "string" }, "description": "Identifier for DrugPlan" }, { "name": "code", "in": "query", "schema": { "type": "string" }, "description": "RX Norm code" }, { "name": "_id", "in": "query", "schema": { "type": "string" }, "description": "Logical identifier for record" }, { "name": "DrugName", "in": "query", "schema": { "type": "string" }, "description": "String query (starts with or contains) for the drug name associated with the RxNorm code" }, { "name": "_page", "in": "query", "schema": { "type": "number" }, "description": "Page for paginated results" } ], "security": [ { "Bearer": [] } ] } }, "/MedicationKnowledge/{id}": { "get": { "tags": [ "MedicationKnowledge" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readMedicationKnowledge", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/MedicationKnowledge-read" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed MedicationKnowledge ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this MedicationKnowledge." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this MedicationKnowledge." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No MedicationKnowledge found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for MedicationKnowledge with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for MedicationKnowledge is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Medication/{id}": { "get": { "tags": [ "Medication" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readMedication", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Medication" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Medication ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Medication." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Medication." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Medication found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Medication with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Medication is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/Provenance/{id}": { "get": { "tags": [ "Provenance" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readProvenance", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/Provenance" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Provenance ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Provenance." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Provenance." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Provenance found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for Provenance with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for Provenance is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/QuestionnaireResponse": { "get": { "tags": [ "QuestionnaireResponse" ], "summary": "Search all resources of type QuestionnaireResponse based on a set of criteria", "description": "Search all resources of type QuestionnaireResponse based on a set of criteria", "operationId": "searchQuestionnaireResponse", "parameters": [ { "name": "patient", "in": "query", "description": "Search by subject - a patient", "schema": { "type": "string" } }, { "name": "_revinclude", "in": "query", "schema": { "type": "string", "x-consoleDefault": "application/json" }, "x-consoleDefault": "application/json" } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/QuestionnaireResponse-search" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed Questionnaire ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Questionnaire." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Questionnaire." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Questionnaire found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for procedure with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for questionnaire is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } }, "/QuestionnaireResponse/{id}": { "get": { "tags": [ "QuestionnaireResponse" ], "summary": "Read the current state of the resource", "description": "Read the current state of the resource", "operationId": "readQuestionnaireResponse", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/QuestionnaireResponse" } } } }, "400": { "description": "Bad request", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "invalid", "details": { "text": "Invalid or badly formed questionnaire ID ." } } } } } }, "401": { "description": "Unauthorized", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Unauthorized", "details": { "text": "You are not authorized to view this Questionnaire." } } } } } }, "403": { "description": "Forbidden", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "forbidden", "details": { "text": "You are not allowed to view this Questionnaire." } } } } } }, "404": { "description": "Not Found", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Found", "details": { "text": "No Questionnaire found with the provided ID." } } } } } }, "500": { "description": "InternalServerError", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "fatal", "code": "exception", "details": { "text": "Internal server error. Please try again later" } } } } } }, "429": { "description": "Too Many Requests", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Too Many Requests", "details": { "text": "Too Many Requests for questionnaire with the provided ID." } } } } } }, "501": { "description": "Not Implemented", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Not Implemented", "details": { "text": "The request for procedure is Not Implemented" } } } } } }, "502": { "description": "Bad gateway", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Bad gateway", "details": { "text": "Bad gateway" } } } } } }, "503": { "description": "Service Unavailable", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Service Unavailable", "details": { "text": "Service Unavailable" } } } } } }, "504": { "description": "Gateway Timeout", "content": { "*/*": { "example": { "resourceType": "OperationOutcome", "issue": { "severity": "error", "code": "Gateway Timeout", "details": { "text": "Gateway Timeout" } } } } } } }, "security": [ { "Bearer": [] } ] } } }, "components": { "schemas": { "OperationOutcome": { "type": "object" }, "QuestionnaireResponse": { "type": "object", "properties": { "resourceType": { "type": "string" }, "id": { "type": "string" }, "meta": { "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "string" } } }, "required": [ "profile" ] }, "target": { "type": "array", "items": { "type": "object", "properties": { "reference": { "type": "string" } }, "required": [ "reference" ] } }, "recorded": { "type": "string" }, "agent": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string" }, "code": { "type": "string" } }, "required": [ "system", "code" ] } } }, "required": [ "coding" ] }, "who": { "type": "object", "properties": { "display": { "type": "string" } }, "required": [ "display" ] } }, "required": [ "type", "who" ] } } }, "required": [ "resourceType", "id", "meta", "target", "recorded", "agent" ] }, "QuestionnaireResponse-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "id", "intent", "meta", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "intent": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } } } }, "description": "" }, "CareTeam": { "required": [ "id", "meta", "name", "participant", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "participant": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "role": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } }, "member": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "CareTeam-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "id", "meta", "name", "participant", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "participant": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "role": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } }, "member": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } } } } } } }, "description": "" }, "AllergyIntolerance": { "required": [ "category", "clinicalStatus", "code", "criticality", "id", "meta", "patient", "reaction", "resourceType", "text", "verificationStatus" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "clinicalStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "verificationStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "category": { "type": "array", "items": { "type": "object", "properties": {} } }, "criticality": { "minLength": 1, "type": "string" }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "reaction": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "severity" ], "type": "object", "properties": { "manifestation": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "severity": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "AllergyIntolerance-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "clinicalStatus", "code", "criticality", "id", "meta", "patient", "reaction", "resourceType", "text", "verificationStatus" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "clinicalStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "verificationStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "category": { "type": "array", "items": { "type": "object", "properties": {} } }, "criticality": { "minLength": 1, "type": "string" }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "reaction": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "severity" ], "type": "object", "properties": { "manifestation": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "severity": { "minLength": 1, "type": "string" } } } } } } } } } }, "description": "" }, "Encounter": { "required": [ "class", "id", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "class": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } }, "description": "" }, "Encounter-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "class", "id", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "class": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } } } } } } }, "description": "" }, "Device": { "required": [ "expirationDate", "id", "lotNumber", "meta", "patient", "resourceType", "serialNumber", "status", "text", "type", "udiCarrier" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "udiCarrier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "carrierHRF", "deviceIdentifier" ], "type": "object", "properties": { "deviceIdentifier": { "minLength": 1, "type": "string" }, "carrierHRF": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "expirationDate": { "minLength": 1, "type": "string" }, "lotNumber": { "minLength": 1, "type": "string" }, "serialNumber": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "description": "" }, "Device-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "expirationDate", "id", "lotNumber", "meta", "patient", "resourceType", "serialNumber", "status", "text", "type", "udiCarrier" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "udiCarrier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "carrierHRF", "deviceIdentifier" ], "type": "object", "properties": { "deviceIdentifier": { "minLength": 1, "type": "string" }, "carrierHRF": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "expirationDate": { "minLength": 1, "type": "string" }, "lotNumber": { "minLength": 1, "type": "string" }, "serialNumber": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } } } }, "description": "" }, "Condition": { "required": [ "category", "clinicalStatus", "code", "id", "meta", "onsetDateTime", "resourceType", "subject", "text", "verificationStatus" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "clinicalStatus": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "verificationStatus": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "onsetDateTime": { "minLength": 1, "type": "string" } }, "description": "" }, "Condition-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "clinicalStatus", "code", "id", "meta", "onsetDateTime", "resourceType", "subject", "text", "verificationStatus" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "clinicalStatus": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "verificationStatus": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "onsetDateTime": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "DiagnosticReport": { "required": [ "category", "code", "effectiveDateTime", "id", "meta", "presentedForm", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "effectiveDateTime": { "minLength": 1, "type": "string" }, "presentedForm": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "contentType", "hash", "url" ], "type": "object", "properties": { "contentType": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "hash": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "DiagnosticReport-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "code", "effectiveDateTime", "id", "meta", "presentedForm", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "effectiveDateTime": { "minLength": 1, "type": "string" }, "presentedForm": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "contentType", "hash", "url" ], "type": "object", "properties": { "contentType": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" }, "hash": { "minLength": 1, "type": "string" } } } } } } } } } }, "description": "" }, "Immunization": { "required": [ "id", "meta", "occurrenceDateTime", "patient", "primarySource", "resourceType", "status", "text", "vaccineCode" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "vaccineCode": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "occurrenceDateTime": { "minLength": 1, "type": "string" }, "primarySource": { "type": "boolean" } }, "description": "" }, "Immunization-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "id", "meta", "occurrenceDateTime", "patient", "primarySource", "resourceType", "status", "text", "vaccineCode" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "vaccineCode": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } }, "patient": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "occurrenceDateTime": { "minLength": 1, "type": "string" }, "primarySource": { "type": "boolean" } } } } } } }, "description": "" }, "CarePlan": { "required": [ "category", "id", "intent", "meta", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "intent": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "description": "" }, "CarePlan-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "id", "intent", "meta", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "intent": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } } } }, "description": "" }, "Goal": { "required": [ "description", "id", "lifecycleStatus", "meta", "resourceType", "subject", "target", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "lifecycleStatus": { "minLength": 1, "type": "string" }, "description": { "required": [ "text" ], "type": "object", "properties": { "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "target": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "dueDate" ], "type": "object", "properties": { "dueDate": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "Goal-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "description", "id", "lifecycleStatus", "meta", "resourceType", "subject", "target", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "lifecycleStatus": { "minLength": 1, "type": "string" }, "description": { "required": [ "text" ], "type": "object", "properties": { "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "target": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "dueDate" ], "type": "object", "properties": { "dueDate": { "minLength": 1, "type": "string" } } } } } } } } } }, "description": "" }, "MedicationRequest": { "required": [ "authoredOn", "dosageInstruction", "encounter", "id", "identifier", "intent", "medicationCodeableConcept", "reportedBoolean", "requester", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "use", "value" ], "type": "object", "properties": { "use": { "minLength": 1, "type": "string" }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "intent": { "minLength": 1, "type": "string" }, "reportedBoolean": { "type": "boolean" }, "medicationCodeableConcept": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "encounter": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "authoredOn": { "minLength": 1, "type": "string" }, "requester": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "dosageInstruction": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "text": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "MedicationRequest-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "authoredOn", "dosageInstruction", "encounter", "id", "identifier", "intent", "medicationCodeableConcept", "reportedBoolean", "requester", "resourceType", "status", "subject", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "use", "value" ], "type": "object", "properties": { "use": { "minLength": 1, "type": "string" }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "intent": { "minLength": 1, "type": "string" }, "reportedBoolean": { "type": "boolean" }, "medicationCodeableConcept": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "encounter": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "authoredOn": { "minLength": 1, "type": "string" }, "requester": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "dosageInstruction": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "text": { "minLength": 1, "type": "string" } } } } } } } } } }, "description": "" }, "PractitionerRole": { "required": [ "active", "availabilityExceptions", "availableTime", "code", "endpoint", "healthcareService", "id", "identifier", "location", "notAvailable", "organization", "period", "practitioner", "resourceType", "specialty", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "period": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "practitioner": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "organization": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "code": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "specialty": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } }, "location": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "healthcareService": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "use", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" }, "use": { "minLength": 1, "type": "string" } } } }, "availableTime": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "availableEndTime", "availableStartTime" ], "type": "object", "properties": { "daysOfWeek": { "type": "array", "items": { "type": "object", "properties": {} } }, "availableStartTime": { "minLength": 1, "type": "string" }, "availableEndTime": { "minLength": 1, "type": "string" } } } }, "notAvailable": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "description" ], "type": "object", "properties": { "description": { "minLength": 1, "type": "string" }, "during": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } } } } }, "availabilityExceptions": { "minLength": 1, "type": "string" }, "endpoint": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "PractitionerRole-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "active", "availabilityExceptions", "availableTime", "code", "endpoint", "healthcareService", "id", "identifier", "location", "notAvailable", "organization", "period", "practitioner", "resourceType", "specialty", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "period": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "practitioner": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "organization": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "code": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "specialty": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } } } } }, "location": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "healthcareService": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "use", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" }, "use": { "minLength": 1, "type": "string" } } } }, "availableTime": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "availableEndTime", "availableStartTime" ], "type": "object", "properties": { "daysOfWeek": { "type": "array", "items": { "type": "object", "properties": {} } }, "availableStartTime": { "minLength": 1, "type": "string" }, "availableEndTime": { "minLength": 1, "type": "string" } } } }, "notAvailable": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "description" ], "type": "object", "properties": { "description": { "minLength": 1, "type": "string" }, "during": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } } } } }, "availabilityExceptions": { "minLength": 1, "type": "string" }, "endpoint": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } } } } } } } }, "description": "" }, "Location": { "required": [ "address", "description", "id", "identifier", "managingOrganization", "meta", "name", "position", "resourceType", "status", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "address": { "required": [ "city", "country", "line", "postalCode", "state" ], "type": "object", "properties": { "line": { "type": "array", "items": { "type": "object", "properties": {} } }, "city": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "postalCode": { "minLength": 1, "type": "string" }, "country": { "minLength": 1, "type": "string" } } }, "position": { "required": [ "latitude", "longitude" ], "type": "object", "properties": { "longitude": { "type": "number" }, "latitude": { "type": "number" } } }, "managingOrganization": { "required": [ "display" ], "type": "object", "properties": { "display": { "minLength": 1, "type": "string" } } } }, "description": "" }, "Location-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "address", "description", "id", "identifier", "managingOrganization", "meta", "name", "position", "resourceType", "status", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "profile" ], "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "address": { "required": [ "city", "country", "line", "postalCode", "state" ], "type": "object", "properties": { "line": { "type": "array", "items": { "type": "object", "properties": {} } }, "city": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "postalCode": { "minLength": 1, "type": "string" }, "country": { "minLength": 1, "type": "string" } } }, "position": { "required": [ "latitude", "longitude" ], "type": "object", "properties": { "longitude": { "type": "number" }, "latitude": { "type": "number" } } }, "managingOrganization": { "required": [ "display" ], "type": "object", "properties": { "display": { "minLength": 1, "type": "string" } } } } } } } } }, "description": "" }, "Procedure": { "description": "", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "code": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "version", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "version": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] }, "subject": { "type": "object", "properties": { "reference": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 } }, "required": [ "reference", "type" ] }, "performedDateTime": { "type": "string", "minLength": 1 }, "performer": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "properties": { "actor": { "type": "object", "properties": { "reference": { "type": "string", "minLength": 1 } }, "required": [ "reference" ] }, "onBehalfOf": { "type": "object", "properties": { "reference": { "type": "string", "minLength": 1 } }, "required": [ "reference" ] } } } } }, "required": [ "resourceType", "id", "status", "code", "subject", "performedDateTime", "performer" ] }, "Procedure-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl", "resource" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "minLength": 1, "type": "string" } } } } }, "description": "" }, "Observation": { "required": [ "category", "code", "effectiveDateTime", "id", "meta", "referenceRange", "resourceType", "status", "subject", "text", "valueQuantity" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile", "versionId" ], "type": "object", "properties": { "versionId": { "minLength": 1, "type": "string" }, "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "effectiveDateTime": { "minLength": 1, "type": "string" }, "valueQuantity": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } }, "referenceRange": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "low": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } }, "high": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "Observation-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "category", "code", "effectiveDateTime", "id", "meta", "referenceRange", "resourceType", "status", "subject", "text", "valueQuantity" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile", "versionId" ], "type": "object", "properties": { "versionId": { "minLength": 1, "type": "string" }, "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "status": { "minLength": 1, "type": "string" }, "category": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } } }, "code": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subject": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "effectiveDateTime": { "minLength": 1, "type": "string" }, "valueQuantity": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } }, "referenceRange": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "low": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } }, "high": { "required": [ "code", "system", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } } } } } } }, "description": "" }, "Coverage": { "required": [ "beneficiary", "class", "dependent", "id", "identifier", "language", "meta", "network", "payor", "period", "policyHolder", "relationship", "resourceType", "status", "subscriber", "subscriberId", "text", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "policyHolder": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "subscriber": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "subscriberId": { "minLength": 1, "type": "string" }, "beneficiary": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "dependent": { "minLength": 1, "type": "string" }, "relationship": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "period": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "payor": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } }, "class": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "name", "value" ], "type": "object", "properties": { "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "value": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } } } }, "network": { "minLength": 1, "type": "string" } }, "description": "" }, "Coverage-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "beneficiary", "class", "dependent", "id", "identifier", "language", "meta", "network", "payor", "period", "policyHolder", "relationship", "resourceType", "status", "subscriber", "subscriberId", "text", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "policyHolder": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "subscriber": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "subscriberId": { "minLength": 1, "type": "string" }, "beneficiary": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "dependent": { "minLength": 1, "type": "string" }, "relationship": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "period": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "payor": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } }, "class": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "name", "value" ], "type": "object", "properties": { "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "value": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } } } }, "network": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "Practitioner": { "required": [ "active", "id", "identifier", "meta", "name", "resourceType", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "family" ], "type": "object", "properties": { "family": { "minLength": 1, "type": "string" }, "given": { "type": "array", "items": { "type": "object", "properties": {} } }, "prefix": { "type": "array", "items": { "type": "object", "properties": {} } } } } } }, "description": "" }, "Practitioner-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "active", "id", "identifier", "meta", "name", "resourceType", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "display", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "family" ], "type": "object", "properties": { "family": { "minLength": 1, "type": "string" }, "given": { "type": "array", "items": { "type": "object", "properties": {} } }, "prefix": { "type": "array", "items": { "type": "object", "properties": {} } } } } } } } } } } }, "description": "" }, "Patient": { "required": [ "active", "address", "birthDate", "gender", "id", "identifier", "language", "maritalStatus", "meta", "name", "resourceType", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "family" ], "type": "object", "properties": { "family": { "minLength": 1, "type": "string" }, "given": { "type": "array", "items": { "type": "object", "properties": {} } } } } }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "rank", "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" }, "rank": { "type": "number" } } } }, "gender": { "minLength": 1, "type": "string" }, "birthDate": { "minLength": 1, "type": "string" }, "address": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "city", "postalCode", "state", "type" ], "type": "object", "properties": { "type": { "minLength": 1, "type": "string" }, "line": { "type": "array", "items": { "type": "object", "properties": {} } }, "city": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "postalCode": { "minLength": 1, "type": "string" } } } }, "maritalStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "Patient-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "active", "address", "birthDate", "gender", "id", "identifier", "language", "maritalStatus", "meta", "name", "resourceType", "telecom", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "family" ], "type": "object", "properties": { "family": { "minLength": 1, "type": "string" }, "given": { "type": "array", "items": { "type": "object", "properties": {} } } } } }, "telecom": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "rank", "system", "value" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" }, "rank": { "type": "number" } } } }, "gender": { "minLength": 1, "type": "string" }, "birthDate": { "minLength": 1, "type": "string" }, "address": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "city", "postalCode", "state", "type" ], "type": "object", "properties": { "type": { "minLength": 1, "type": "string" }, "line": { "type": "array", "items": { "type": "object", "properties": {} } }, "city": { "minLength": 1, "type": "string" }, "state": { "minLength": 1, "type": "string" }, "postalCode": { "minLength": 1, "type": "string" } } } }, "maritalStatus": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } } } } } } }, "description": "" }, "ExplanationOfBenefit": { "required": [ "adjudication", "billablePeriod", "created", "diagnosis", "id", "identifier", "insurance", "insurer", "language", "meta", "outcome", "patient", "provider", "resourceType", "status", "subType", "supportingInfo", "text", "total", "type", "use" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subType": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "use": { "minLength": 1, "type": "string" }, "patient": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "billablePeriod": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "created": { "minLength": 1, "type": "string" }, "insurer": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "provider": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "outcome": { "minLength": 1, "type": "string" }, "supportingInfo": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "sequence" ], "type": "object", "properties": { "sequence": { "type": "number" }, "category": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "timingPeriod": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } } } } }, "diagnosis": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "sequence" ], "type": "object", "properties": { "sequence": { "type": "number" }, "diagnosisCodeableConcept": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "type": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } } } } }, "insurance": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "focal" ], "type": "object", "properties": { "focal": { "type": "boolean" }, "coverage": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } } } }, "adjudication": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "category": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "amount": { "required": [ "currency", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "currency": { "minLength": 1, "type": "string" } } } } } }, "total": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "category": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "amount": { "required": [ "currency", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "currency": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "ExplanationOfBenefit-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "adjudication", "billablePeriod", "created", "diagnosis", "id", "identifier", "insurance", "insurer", "language", "meta", "outcome", "patient", "provider", "resourceType", "status", "subType", "supportingInfo", "text", "total", "type", "use" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "status": { "minLength": 1, "type": "string" }, "type": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "subType": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "use": { "minLength": 1, "type": "string" }, "patient": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } }, "billablePeriod": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } }, "created": { "minLength": 1, "type": "string" }, "insurer": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "provider": { "required": [ "display", "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" }, "display": { "minLength": 1, "type": "string" } } }, "outcome": { "minLength": 1, "type": "string" }, "supportingInfo": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "sequence" ], "type": "object", "properties": { "sequence": { "type": "number" }, "category": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "timingPeriod": { "required": [ "end", "start" ], "type": "object", "properties": { "start": { "minLength": 1, "type": "string" }, "end": { "minLength": 1, "type": "string" } } } } } }, "diagnosis": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "sequence" ], "type": "object", "properties": { "sequence": { "type": "number" }, "diagnosisCodeableConcept": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "type": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } } } } } }, "insurance": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "focal" ], "type": "object", "properties": { "focal": { "type": "boolean" }, "coverage": { "required": [ "reference" ], "type": "object", "properties": { "reference": { "minLength": 1, "type": "string" } } } } } }, "adjudication": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "category": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "amount": { "required": [ "currency", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "currency": { "minLength": 1, "type": "string" } } } } } }, "total": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "type": "object", "properties": { "category": { "required": [ "coding", "text" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } }, "text": { "minLength": 1, "type": "string" } } }, "amount": { "required": [ "currency", "value" ], "type": "object", "properties": { "value": { "type": "number" }, "currency": { "minLength": 1, "type": "string" } } } } } } } } } } } }, "description": "" }, "Organization": { "required": [ "active", "id", "identifier", "language", "meta", "name", "resourceType", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minLength": 1, "type": "string" } }, "description": "" }, "Organization-search": { "required": [ "entry", "id", "link", "meta", "resourceType", "total", "type" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" } } }, "type": { "minLength": 1, "type": "string" }, "total": { "type": "number" }, "link": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "relation", "url" ], "type": "object", "properties": { "relation": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } } } }, "entry": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "fullUrl" ], "type": "object", "properties": { "fullUrl": { "minLength": 1, "type": "string" }, "resource": { "required": [ "active", "id", "identifier", "language", "meta", "name", "resourceType", "text" ], "type": "object", "properties": { "resourceType": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "meta": { "required": [ "lastUpdated", "profile" ], "type": "object", "properties": { "lastUpdated": { "minLength": 1, "type": "string" }, "profile": { "type": "array", "items": { "type": "object", "properties": {} } } } }, "language": { "minLength": 1, "type": "string" }, "text": { "required": [ "div", "status" ], "type": "object", "properties": { "status": { "minLength": 1, "type": "string" }, "div": { "minLength": 1, "type": "string" } } }, "identifier": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "system", "value" ], "type": "object", "properties": { "type": { "required": [ "coding" ], "type": "object", "properties": { "coding": { "minItems": 1, "uniqueItems": true, "type": "array", "items": { "required": [ "code", "system" ], "type": "object", "properties": { "system": { "minLength": 1, "type": "string" }, "code": { "minLength": 1, "type": "string" } } } } } }, "system": { "minLength": 1, "type": "string" }, "value": { "minLength": 1, "type": "string" } } } }, "active": { "type": "boolean" }, "name": { "minLength": 1, "type": "string" } } } } } } }, "description": "" }, "List-read": { "description": "", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "versionId": { "type": "string", "minLength": 1 }, "lastUpdated": { "type": "string", "minLength": 1 }, "profile": { "type": "array", "items": { "properties": {} } } }, "required": [ "versionId", "lastUpdated", "profile" ] }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "valueCodeableConcept": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } } } } } } }, "identifier": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "value" ], "properties": { "value": { "type": "string", "minLength": 1 } } } }, "status": { "type": "string", "minLength": 1 }, "mode": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "date": { "type": "string", "minLength": 1 } }, "required": [ "resourceType", "id", "meta", "extension", "identifier", "status", "mode", "title", "date" ] }, "List-search": { "description": "", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "lastUpdated": { "type": "string", "minLength": 1 } }, "required": [ "lastUpdated" ] }, "type": { "type": "string", "minLength": 1 }, "total": { "type": "number" }, "link": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "relation", "url" ], "properties": { "relation": { "type": "string", "minLength": 1 }, "url": { "type": "string", "minLength": 1 } } } }, "entry": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "fullUrl" ], "properties": { "fullUrl": { "type": "string", "minLength": 1 }, "resource": { "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "versionId": { "type": "string", "minLength": 1 }, "lastUpdated": { "type": "string", "minLength": 1 }, "profile": { "type": "array", "items": { "properties": {} } } }, "required": [ "versionId", "lastUpdated", "profile" ] }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "valueCodeableConcept": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } } } } } } }, "identifier": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "value" ], "properties": { "value": { "type": "string", "minLength": 1 } } } }, "status": { "type": "string", "minLength": 1 }, "mode": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "date": { "type": "string", "minLength": 1 } }, "required": [ "resourceType", "id", "meta", "extension", "identifier", "status", "mode", "title", "date" ] } } } } }, "required": [ "resourceType", "id", "meta", "type", "total", "link", "entry" ] }, "MedicationKnowledge-read": { "description": "", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "profile": { "type": "array", "items": { "properties": {} } } }, "required": [ "profile" ] }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "valueCodeableConcept": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } } } }, "code": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } }, "required": [ "resourceType", "id", "meta", "extension", "code" ] }, "MedicationKnowledge-search": { "description": "", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "lastUpdated": { "type": "string", "minLength": 1 } }, "required": [ "lastUpdated" ] }, "type": { "type": "string", "minLength": 1 }, "total": { "type": "number" }, "link": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "relation", "url" ], "properties": { "relation": { "type": "string", "minLength": 1 }, "url": { "type": "string", "minLength": 1 } } } }, "entry": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "fullUrl" ], "properties": { "fullUrl": { "type": "string", "minLength": 1 }, "resource": { "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1 }, "meta": { "type": "object", "properties": { "profile": { "type": "array", "items": { "properties": {} } } }, "required": [ "profile" ] }, "extension": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "url" ], "properties": { "url": { "type": "string", "minLength": 1 }, "valueCodeableConcept": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } } } }, "code": { "type": "object", "properties": { "coding": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "required": [ "system", "code", "display" ], "properties": { "system": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "display": { "type": "string", "minLength": 1 } } } } }, "required": [ "coding" ] } }, "required": [ "resourceType", "id", "meta", "extension", "code" ] } } } } }, "required": [ "resourceType", "id", "meta", "type", "total", "link", "entry" ] }, "Medication": { "required": [ "resourceType", "id", "meta", "text", "code" ], "type": "object", "properties": { "resourceType": { "type": "string" }, "id": { "type": "string" }, "meta": { "type": "object", "properties": { "extension": { "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string" }, "valueString": { "type": "string" } }, "required": [ "url", "valueString" ] } }, "profile": { "type": "array", "items": { "type": "string" } } }, "required": [ "extension", "profile" ] }, "text": { "type": "object", "properties": { "status": { "type": "string" }, "div": { "type": "string" } }, "required": [ "status", "div" ] }, "code": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string" }, "code": { "type": "string" }, "display": { "type": "string" } }, "required": [ "system", "code", "display" ] } }, "text": { "type": "string" } }, "required": [ "coding", "text" ] } }, "description": "" }, "Provenance": { "type": "object", "properties": { "resourceType": { "type": "string" }, "id": { "type": "string" }, "meta": { "type": "object", "properties": { "profile": { "type": "array", "items": { "type": "string" } } }, "required": [ "profile" ] }, "target": { "type": "array", "items": { "type": "object", "properties": { "reference": { "type": "string" } }, "required": [ "reference" ] } }, "recorded": { "type": "string" }, "agent": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string" }, "code": { "type": "string" } }, "required": [ "system", "code" ] } } }, "required": [ "coding" ] }, "who": { "type": "object", "properties": { "display": { "type": "string" } }, "required": [ "display" ] } }, "required": [ "type", "who" ] } } }, "required": [ "resourceType", "id", "meta", "target", "recorded", "agent" ] } }, "securitySchemes": { "Bearer": { "type": "http", "scheme": "bearer" } } } }