fhir-schemas
Version:
Schemas for Fast Healthcare Interoperability Resources.
132 lines • 5.54 kB
JSON
{
"schema": "http://json-schema.org/draft-04/schema#",
"$id": "http://hl7.org/fhir/json-schema/ProcessResponse",
"$ref": "#/definitions/ProcessResponse",
"description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas",
"definitions": {
"ProcessResponse": {
"allOf": [
{
"$ref": "DomainResource#/definitions/DomainResource"
},
{
"description": "This resource provides processing status, errors and notes from the processing of a resource.",
"properties": {
"resourceType": {
"description": "This is a ProcessResponse resource",
"type": "string",
"enum": [
"ProcessResponse"
]
},
"identifier": {
"description": "The Response business identifier.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier"
}
},
"status": {
"description": "The status of the resource instance.",
"type": "string",
"pattern": "[^\\s]+([\\s]?[^\\s]+)*"
},
"_status": {
"description": "Extensions for status",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"created": {
"description": "The date when the enclosed suite of services were performed or completed.",
"type": "string",
"pattern": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
},
"_created": {
"description": "Extensions for created",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"organization": {
"description": "The organization who produced this adjudicated response.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"request": {
"description": "Original request resource reference.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"outcome": {
"description": "Transaction status: error, complete, held.",
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
},
"disposition": {
"description": "A description of the status of the adjudication or processing.",
"type": "string"
},
"_disposition": {
"description": "Extensions for disposition",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"requestProvider": {
"description": "The practitioner who is responsible for the services rendered to the patient.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"requestOrganization": {
"description": "The organization which is responsible for the services rendered to the patient.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"form": {
"description": "The form to be used for printing the content.",
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
},
"processNote": {
"description": "Suite of processing notes or additional requirements if the processing has been held.",
"type": "array",
"items": {
"$ref": "#/definitions/ProcessResponse_ProcessNote"
}
},
"error": {
"description": "Processing errors.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
}
},
"communicationRequest": {
"description": "Request for additional supporting or authorizing information, such as: documents, images or resources.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
}
}
},
"required": [
"resourceType"
]
}
]
},
"ProcessResponse_ProcessNote": {
"allOf": [
{
"$ref": "BackboneElement#/definitions/BackboneElement"
},
{
"description": "This resource provides processing status, errors and notes from the processing of a resource.",
"properties": {
"type": {
"description": "The note purpose: Print/Display.",
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
},
"text": {
"description": "The note text.",
"type": "string"
},
"_text": {
"description": "Extensions for text",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
}
}
}
]
}
}
}