This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
This is a representation of the json schema for ServiceRequest, which is just a part of the full JSON Schema.
{ "$schema": "http://json-schema.org/draft-06/schema#", "id": "http://hl7.org/fhir/json-schema/ServiceRequest", "$ref": "#/definitions/ServiceRequest", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "ServiceRequest": { "description": "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.", "properties": { "resourceType": { "description": "This is a ServiceRequest resource", "const": "ServiceRequest" }, "id": { "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "$ref": "id.schema.json#/definitions/id" }, "meta": { "description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "$ref": "Meta.schema.json#/definitions/Meta" }, "implicitRules": { "description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "$ref": "#/definitions/uri" }, "_implicitRules": { "description": "Extensions for implicitRules", "$ref": "Element.schema.json#/definitions/Element" }, "language": { "description": "The base language in which the resource is written.", "$ref": "#/definitions/code" }, "_language": { "description": "Extensions for language", "$ref": "Element.schema.json#/definitions/Element" }, "text": { "description": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "$ref": "Narrative.schema.json#/definitions/Narrative" }, "contained": { "description": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "items": { "$ref": "ResourceList.schema.json#/definitions/ResourceList" }, "type": "array" }, "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "identifier": { "description": "Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.", "items": { "$ref": "Identifier.schema.json#/definitions/Identifier" }, "type": "array" }, "instantiatesCanonical": { "description": "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.", "items": { "$ref": "canonical.schema.json#/definitions/canonical" }, "type": "array" }, "instantiatesUri": { "description": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.", "items": { "$ref": "#/definitions/uri" }, "type": "array" }, "_instantiatesUri": { "description": "Extensions for instantiatesUri", "items": { "$ref": "Element.schema.json#/definitions/Element" }, "type": "array" }, "basedOn": { "description": "Plan/proposal/order fulfilled by this request.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "replaces": { "description": "The request takes the place of the referenced completed or terminated request(s).", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "requisition": { "description": "A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.", "$ref": "Identifier.schema.json#/definitions/Identifier" }, "status": { "description": "The status of the order.", "$ref": "#/definitions/code" }, "_status": { "description": "Extensions for status", "$ref": "Element.schema.json#/definitions/Element" }, "intent": { "description": "Whether the request is a proposal, plan, an original order or a reflex order.", "$ref": "#/definitions/code" }, "_intent": { "description": "Extensions for intent", "$ref": "Element.schema.json#/definitions/Element" }, "category": { "description": "A code that classifies the service for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "priority": { "description": "Indicates how quickly the ServiceRequest should be addressed with respect to other requests.", "$ref": "#/definitions/code" }, "_priority": { "description": "Extensions for priority", "$ref": "Element.schema.json#/definitions/Element" }, "doNotPerform": { "description": "Set this to true if the record is saying that the service/procedure should NOT be performed.", "$ref": "#/definitions/boolean" }, "_doNotPerform": { "description": "Extensions for doNotPerform", "$ref": "Element.schema.json#/definitions/Element" }, "code": { "description": "A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "orderDetail": { "description": "Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "quantityQuantity": { "description": "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", "$ref": "Quantity.schema.json#/definitions/Quantity" }, "quantityRatio": { "description": "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", "$ref": "Ratio.schema.json#/definitions/Ratio" }, "quantityRange": { "description": "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", "$ref": "Range.schema.json#/definitions/Range" }, "subject": { "description": "On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).", "$ref": "Reference.schema.json#/definitions/Reference" }, "encounter": { "description": "An encounter that provides additional information about the healthcare context in which this request is made.", "$ref": "Reference.schema.json#/definitions/Reference" }, "occurrenceDateTime": { "description": "The date/time at which the requested service should occur.", "pattern": "^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$", "type": "string" }, "_occurrenceDateTime": { "description": "Extensions for occurrenceDateTime", "$ref": "Element.schema.json#/definitions/Element" }, "occurrencePeriod": { "description": "The date/time at which the requested service should occur.", "$ref": "Period.schema.json#/definitions/Period" }, "occurrenceTiming": { "description": "The date/time at which the requested service should occur.", "$ref": "Timing.schema.json#/definitions/Timing" }, "asNeededBoolean": { "description": "If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc.", "pattern": "^true|false$", "type": "boolean" }, "_asNeededBoolean": { "description": "Extensions for asNeededBoolean", "$ref": "Element.schema.json#/definitions/Element" }, "asNeededCodeableConcept": { "description": "If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "authoredOn": { "description": "When the request transitioned to being actionable.", "$ref": "#/definitions/dateTime" }, "_authoredOn": { "description": "Extensions for authoredOn", "$ref": "Element.schema.json#/definitions/Element" }, "requester": { "description": "The individual who initiated the request and has responsibility for its activation.", "$ref": "Reference.schema.json#/definitions/Reference" }, "performerType": { "description": "Desired type of performer for doing the requested service.", "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "performer": { "description": "The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "location": { "description": "The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.", "items": { "$ref": "CodeableReference.schema.json#/definitions/CodeableReference" }, "type": "array" }, "reason": { "description": "An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.", "items": { "$ref": "CodeableReference.schema.json#/definitions/CodeableReference" }, "type": "array" }, "insurance": { "description": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "supportingInfo": { "description": "Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "specimen": { "description": "One or more specimens that the laboratory procedure will use.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" }, "bodySite": { "description": "Anatomic location where the procedure should be performed. This is the target site.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "note": { "description": "Any other notes and comments made about the service request. For example, internal billing notes.", "items": { "$ref": "Annotation.schema.json#/definitions/Annotation" }, "type": "array" }, "patientInstruction": { "description": "Instructions in terms that are understood by the patient or consumer.", "$ref": "#/definitions/string" }, "_patientInstruction": { "description": "Extensions for patientInstruction", "$ref": "Element.schema.json#/definitions/Element" }, "relevantHistory": { "description": "Key events in the history of the request.", "items": { "$ref": "Reference.schema.json#/definitions/Reference" }, "type": "array" } }, "additionalProperties": false, "required": [ "subject", "resourceType" ] } } }