json_schema: {"schema": "http://json-schema.org/draft-04/schema#", "$id": "http://hl7.org/fhir/json-schema/Flag", "$ref": "#/definitions/Flag", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": {"Flag": {"allOf": [{"$ref": "DomainResource#/definitions/DomainResource"}, {"description": "Prospective warnings of potential issues when providing care to the patient.", "properties": {"resourceType": {"description": "This is a Flag resource", "type": "string", "enum": ["Flag"]}, "identifier": {"description": "Identifier assigned to the flag for external use (outside the FHIR environment).", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier"}}, "status": {"description": "Supports basic workflow.", "enum": ["active", "inactive", "entered-in-error"], "type": "string"}, "_status": {"description": "Extensions for status", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "category": {"description": "Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.", "$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"}, "code": {"description": "The coded value or textual component of the flag to display to the user.", "$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"}, "subject": {"description": "The patient, location, group , organization , or practitioner, etc. this is about record this flag is associated with.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}, "period": {"description": "The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.", "$ref": "http://hl7.org/fhir/json-schema/Period#/definitions/Period"}, "encounter": {"description": "This alert is only relevant during the encounter.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}, "author": {"description": "The person, organization or device that created the flag.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}}, "required": ["code", "subject", "resourceType"]}]}}}