Current section
Files
Jump to
Current section
Files
schema/DetectedIssue.schema.json
{
"schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://hl7.erp.uno/schema/DetectedIssue.schema.json",
"$ref": "#/definitions/DetectedIssue",
"description": "see https://hl7.org/fhir/json.html for information about the FHIR Json Schemas",
"definitions": {
"DetectedIssue": {
"allOf": [
{
"$ref": "DomainResource.schema.json#/definitions/DomainResource"
},
{
"description": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.",
"properties": {
"resourceType": {
"description": "This is a DetectedIssue resource",
"type": "string",
"enum": [
"DetectedIssue"
]
},
"identifier": {
"description": "Business identifier associated with the detected issue record.",
"$ref": "Identifier.schema.json#/definitions/Identifier"
},
"status": {
"description": "Indicates the status of the detected issue.",
"type": "string",
"pattern": "[^\\s]+([\\s]?[^\\s]+)*"
},
"_status": {
"description": "Extensions for status",
"$ref": "Element.schema.json#/definitions/Element"
},
"category": {
"description": "Identifies the general type of issue identified.",
"$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
},
"severity": {
"description": "Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.",
"enum": [
"high",
"moderate",
"low"
],
"type": "string"
},
"_severity": {
"description": "Extensions for severity",
"$ref": "Element.schema.json#/definitions/Element"
},
"patient": {
"description": "Indicates the patient whose record the detected issue is associated with.",
"$ref": "Reference.schema.json#/definitions/Reference"
},
"date": {
"description": "The date or date-time when the detected issue was initially identified.",
"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)))?)?)?"
},
"_date": {
"description": "Extensions for date",
"$ref": "Element.schema.json#/definitions/Element"
},
"author": {
"description": "Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.",
"$ref": "Reference.schema.json#/definitions/Reference"
},
"implicated": {
"description": "Indicates the resource representing the current activity or proposed activity that is potentially problematic.",
"type": "array",
"items": {
"$ref": "Reference.schema.json#/definitions/Reference"
}
},
"detail": {
"description": "A textual explanation of the detected issue.",
"type": "string"
},
"_detail": {
"description": "Extensions for detail",
"$ref": "Element.schema.json#/definitions/Element"
},
"reference": {
"description": "The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.",
"type": "string"
},
"_reference": {
"description": "Extensions for reference",
"$ref": "Element.schema.json#/definitions/Element"
},
"mitigation": {
"description": "Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.",
"type": "array",
"items": {
"$ref": "#/definitions/DetectedIssue_Mitigation"
}
}
},
"required": [
"resourceType"
]
}
]
},
"DetectedIssue_Mitigation": {
"allOf": [
{
"$ref": "BackboneElement.schema.json#/definitions/BackboneElement"
},
{
"description": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.",
"properties": {
"action": {
"description": "Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified issue.",
"$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept"
},
"date": {
"description": "Indicates when the mitigating action was documented.",
"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)))?)?)?"
},
"_date": {
"description": "Extensions for date",
"$ref": "Element.schema.json#/definitions/Element"
},
"author": {
"description": "Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring.",
"$ref": "Reference.schema.json#/definitions/Reference"
}
},
"required": [
"action"
]
}
]
}
}
}