json_schema: {"schema": "http://json-schema.org/draft-04/schema#", "$id": "http://hl7.org/fhir/json-schema/DataRequirement", "$ref": "#/definitions/DataRequirement", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": {"DataRequirement": {"allOf": [{"$ref": "Element#/definitions/Element"}, {"description": "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.", "properties": {"type": {"description": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.", "type": "string", "pattern": "[^\\s]+([\\s]?[^\\s]+)*"}, "_type": {"description": "Extensions for type", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "profile": {"description": "The profile of the required data, specified as the uri of the profile definition.", "type": "array", "items": {"type": "string"}}, "_profile": {"description": "Extensions for profile", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}}, "mustSupport": {"description": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.", "type": "array", "items": {"type": "string"}}, "_mustSupport": {"description": "Extensions for mustSupport", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}}, "codeFilter": {"description": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data.", "type": "array", "items": {"$ref": "#/definitions/DataRequirement_CodeFilter"}}, "dateFilter": {"description": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements.", "type": "array", "items": {"$ref": "#/definitions/DataRequirement_DateFilter"}}}}]}, "DataRequirement_CodeFilter": {"allOf": [{"$ref": "BackboneElement#/definitions/BackboneElement"}, {"description": "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.", "properties": {"path": {"description": "The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.", "type": "string"}, "_path": {"description": "Extensions for path", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "valueSetString": {"description": "The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", "type": "string"}, "_valueSetString": {"description": "Extensions for valueSetString", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "valueSetReference": {"description": "The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"}, "valueCode": {"description": "The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.", "type": "array", "items": {"type": "string", "pattern": "[^\\s]+([\\s]?[^\\s]+)*"}}, "_valueCode": {"description": "Extensions for valueCode", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}}, "valueCoding": {"description": "The Codings for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified Codings.", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/Coding#/definitions/Coding"}}, "valueCodeableConcept": {"description": "The CodeableConcepts for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified CodeableConcepts.", "type": "array", "items": {"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"}}}}]}, "DataRequirement_DateFilter": {"allOf": [{"$ref": "BackboneElement#/definitions/BackboneElement"}, {"description": "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.", "properties": {"path": {"description": "The date-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type dateTime, Period, Schedule, or Timing.", "type": "string"}, "_path": {"description": "Extensions for path", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "valueDateTime": {"description": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration from now.", "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)))?)?)?", "type": "string"}, "_valueDateTime": {"description": "Extensions for valueDateTime", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"}, "valuePeriod": {"description": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration from now.", "$ref": "http://hl7.org/fhir/json-schema/Period#/definitions/Period"}, "valueDuration": {"description": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration from now.", "$ref": "http://hl7.org/fhir/json-schema/Duration#/definitions/Duration"}}}]}}}