UNPKG

fhir-schemas

Version:

Schemas for Fast Healthcare Interoperability Resources.

349 lines 15.9 kB
{ "schema": "http://json-schema.org/draft-04/schema#", "$id": "http://hl7.org/fhir/json-schema/Parameters", "$ref": "#/definitions/Parameters", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "Parameters": { "allOf": [ { "$ref": "Resource#/definitions/Resource" }, { "description": "This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.", "properties": { "parameter": { "description": "A parameter passed to or received from the operation.", "type": "array", "items": { "$ref": "#/definitions/Parameters_Parameter" } } } } ] }, "Parameters_Parameter": { "allOf": [ { "$ref": "BackboneElement#/definitions/BackboneElement" }, { "description": "This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.", "properties": { "name": { "description": "The name of the parameter (reference to the operation definition).", "type": "string" }, "_name": { "description": "Extensions for name", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueBoolean": { "description": "If the parameter is a data type.", "type": "boolean" }, "_valueBoolean": { "description": "Extensions for valueBoolean", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueInteger": { "description": "If the parameter is a data type.", "pattern": "-?([0]|([1-9][0-9]*))", "type": "number" }, "_valueInteger": { "description": "Extensions for valueInteger", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueDecimal": { "description": "If the parameter is a data type.", "pattern": "-?([0]|([1-9][0-9]*))(\\.[0-9]+)?", "type": "number" }, "_valueDecimal": { "description": "Extensions for valueDecimal", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueBase64Binary": { "description": "If the parameter is a data type.", "type": "string" }, "_valueBase64Binary": { "description": "Extensions for valueBase64Binary", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueInstant": { "description": "If the parameter is a data type.", "type": "string" }, "_valueInstant": { "description": "Extensions for valueInstant", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueString": { "description": "If the parameter is a data type.", "type": "string" }, "_valueString": { "description": "Extensions for valueString", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueUri": { "description": "If the parameter is a data type.", "type": "string" }, "_valueUri": { "description": "Extensions for valueUri", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueDate": { "description": "If the parameter is a data type.", "pattern": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?", "type": "string" }, "_valueDate": { "description": "Extensions for valueDate", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueDateTime": { "description": "If the parameter is a data type.", "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" }, "valueTime": { "description": "If the parameter is a data type.", "pattern": "([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?", "type": "string" }, "_valueTime": { "description": "Extensions for valueTime", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueCode": { "description": "If the parameter is a data type.", "pattern": "[^\\s]+([\\s]?[^\\s]+)*", "type": "string" }, "_valueCode": { "description": "Extensions for valueCode", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueOid": { "description": "If the parameter is a data type.", "pattern": "urn:oid:(0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*))*", "type": "string" }, "_valueOid": { "description": "Extensions for valueOid", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueUuid": { "description": "If the parameter is a data type.", "pattern": "urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", "type": "string" }, "_valueUuid": { "description": "Extensions for valueUuid", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueId": { "description": "If the parameter is a data type.", "pattern": "[A-Za-z0-9\\-\\.]{1,64}", "type": "string" }, "_valueId": { "description": "Extensions for valueId", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueUnsignedInt": { "description": "If the parameter is a data type.", "pattern": "[0]|([1-9][0-9]*)", "type": "number" }, "_valueUnsignedInt": { "description": "Extensions for valueUnsignedInt", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valuePositiveInt": { "description": "If the parameter is a data type.", "pattern": "[1-9][0-9]*", "type": "number" }, "_valuePositiveInt": { "description": "Extensions for valuePositiveInt", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueMarkdown": { "description": "If the parameter is a data type.", "type": "string" }, "_valueMarkdown": { "description": "Extensions for valueMarkdown", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueElement": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element" }, "valueExtension": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Extension#/definitions/Extension" }, "valueBackboneElement": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/BackboneElement#/definitions/BackboneElement" }, "valueNarrative": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Narrative#/definitions/Narrative" }, "valueAnnotation": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Annotation#/definitions/Annotation" }, "valueAttachment": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Attachment#/definitions/Attachment" }, "valueIdentifier": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier" }, "valueCodeableConcept": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept" }, "valueCoding": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Coding#/definitions/Coding" }, "valueQuantity": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Quantity#/definitions/Quantity" }, "valueDuration": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Duration#/definitions/Duration" }, "valueSimpleQuantity": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Quantity#/definitions/Quantity" }, "valueDistance": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Distance#/definitions/Distance" }, "valueCount": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Count#/definitions/Count" }, "valueMoney": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Money#/definitions/Money" }, "valueAge": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Age#/definitions/Age" }, "valueRange": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Range#/definitions/Range" }, "valuePeriod": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Period#/definitions/Period" }, "valueRatio": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Ratio#/definitions/Ratio" }, "valueReference": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference" }, "valueSampledData": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/SampledData#/definitions/SampledData" }, "valueSignature": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Signature#/definitions/Signature" }, "valueHumanName": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/HumanName#/definitions/HumanName" }, "valueAddress": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Address#/definitions/Address" }, "valueContactPoint": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/ContactPoint#/definitions/ContactPoint" }, "valueTiming": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Timing#/definitions/Timing" }, "valueMeta": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Meta#/definitions/Meta" }, "valueElementDefinition": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/ElementDefinition#/definitions/ElementDefinition" }, "valueContactDetail": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/ContactDetail#/definitions/ContactDetail" }, "valueContributor": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Contributor#/definitions/Contributor" }, "valueDosage": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/Dosage#/definitions/Dosage" }, "valueRelatedArtifact": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/RelatedArtifact#/definitions/RelatedArtifact" }, "valueUsageContext": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/UsageContext#/definitions/UsageContext" }, "valueDataRequirement": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/DataRequirement#/definitions/DataRequirement" }, "valueParameterDefinition": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/ParameterDefinition#/definitions/ParameterDefinition" }, "valueTriggerDefinition": { "description": "If the parameter is a data type.", "$ref": "http://hl7.org/fhir/json-schema/TriggerDefinition#/definitions/TriggerDefinition" }, "resource": { "description": "If the parameter is a whole resource.", "$ref": "http://hl7.org/fhir/json-schema/ResourceList#/definitions/ResourceList" }, "part": { "description": "A named part of a multi-part parameter.", "type": "array", "items": { "$ref": "#/definitions/Parameters_Parameter" } } } } ] } } }