{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aetna/refs/heads/main/json-schema/aetna-explanationofbenefit.json", "title": "Aetna FHIR R4 ExplanationOfBenefit", "description": "JSON Schema for the FHIR R4 ExplanationOfBenefit resource as Aetna profiles it. Derived mechanically from the components.schemas of openapi/aetna-patient-access-api-openapi.yml, which is assembled from the Swagger 2.0 documents Aetna publishes at https://developerportal.aetna.com/managedcontent/yaml/. Not authored - every constraint here is Aetna's. $refs rewritten from #/components/schemas/ to #/$defs/.", "x-provenance": { "generated": "2026-08-30", "method": "derived", "source": "openapi/aetna-patient-access-api-openapi.yml" }, "allOf": [ { "$ref": "#/$defs/DomainResource" }, { "type": "object", "required": [ "created", "insurance", "insurer", "outcome", "patient", "provider", "status", "type", "use" ], "properties": { "insurance": { "minItems": 1, "description": "Financial instruments for reimbursement for the health care products and services specified on the claim.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Insurance" } }, "benefitPeriod": { "description": "The term of the benefits documented in this response.", "$ref": "#/$defs/Period" }, "benefitBalance": { "description": "Balance by Benefit Category.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_BenefitBalance" } }, "claimResponse": { "description": "The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response.", "$ref": "#/$defs/Reference" }, "use": { "description": "A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.", "type": "string", "enum": [ "claim", "preauthorization", "predetermination" ] }, "preAuthRef": { "description": "Reference from the Insurer which is used in later communications which refers to this adjudication.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } }, "type": { "description": "The category of claim, e.g. oral, pharmacy, vision, institutional, professional.", "$ref": "#/$defs/CodeableConcept" }, "precedence": { "format": "int32", "description": "This indicates the relative order of a series of EOBs related to different coverages for the same suite of services.", "type": "integer" }, "accident": { "description": "Details of a accident which resulted in injuries which required the products and services listed in the claim.", "$ref": "#/$defs/ExplanationOfBenefit_Accident" }, "processNote": { "description": "A note that describes or explains adjudication results in a human readable form.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_ProcessNote" } }, "payee": { "description": "The party to be reimbursed for cost of the products and services according to the terms of the policy.", "$ref": "#/$defs/ExplanationOfBenefit_Payee" }, "adjudication": { "description": "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "addItem": { "description": "The first-tier service adjudications for payor added product or service lines.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_AddItem" } }, "total": { "description": "Categorized monetary totals for the adjudication.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Total" } }, "related": { "description": "Other claims which are related to this claim such as prior submissions or claims for related services or for the same event.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Related" } }, "supportingInfo": { "description": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_SupportingInfo" } }, "provider": { "description": "The provider which is responsible for the claim, predetermination or preauthorization.", "$ref": "#/$defs/Reference" }, "fundsReserveRequested": { "description": "A code to indicate whether and for whom funds are to be reserved for future claims.", "$ref": "#/$defs/CodeableConcept" }, "fundsReserve": { "description": "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.", "$ref": "#/$defs/CodeableConcept" }, "patient": { "description": "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for forecast reimbursement is sought.", "$ref": "#/$defs/Reference" }, "insurer": { "description": "The party responsible for authorization, adjudication and reimbursement.", "$ref": "#/$defs/Reference" }, "enterer": { "description": "Individual who created the claim, predetermination or preauthorization.", "$ref": "#/$defs/Reference" }, "claim": { "description": "Reference to a related claim.", "$ref": "#/$defs/Reference" }, "payment": { "description": "Payment details for the adjudication of the claim.", "$ref": "#/$defs/ExplanationOfBenefit_Payment" }, "outcome": { "description": "The outcome of the claim, predetermination, or preauthorization processing.", "type": "string", "enum": [ "queued", "complete", "error", "partial" ] }, "careTeam": { "description": "The members of the team who provided the products and services.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_CareTeam" } }, "identifier": { "description": "A unique identifier assigned to this explanation of benefit.", "type": "array", "items": { "$ref": "#/$defs/Identifier" } }, "item": { "description": "A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item" } }, "formCode": { "description": "A code for the form to be used for printing the content.", "$ref": "#/$defs/CodeableConcept" }, "created": { "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)))?)?)?", "description": "The date this resource was created.", "type": "string" }, "diagnosis": { "description": "Information about diagnoses relevant to the claim items.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Diagnosis" } }, "originalPrescription": { "description": "Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products.", "$ref": "#/$defs/Reference" }, "procedure": { "description": "Procedures performed on the patient relevant to the billing items with the claim.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Procedure" } }, "priority": { "description": "The provider-required urgency of processing the request. Typical values include: stat, routine deferred.", "$ref": "#/$defs/CodeableConcept" }, "preAuthRefPeriod": { "description": "The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided.", "type": "array", "items": { "$ref": "#/$defs/Period" } }, "disposition": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A human readable description of the status of the adjudication.", "type": "string" }, "referral": { "description": "A reference to a referral resource.", "$ref": "#/$defs/Reference" }, "form": { "description": "The actual form, by reference or inclusion, for printing the content or an EOB.", "$ref": "#/$defs/Attachment" }, "prescription": { "description": "Prescription to support the dispensing of pharmacy, device or vision products.", "$ref": "#/$defs/Reference" }, "billablePeriod": { "description": "The period for which charges are being submitted.", "$ref": "#/$defs/Period" }, "subType": { "description": "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.", "$ref": "#/$defs/CodeableConcept" }, "facility": { "description": "Facility where the services were provided.", "$ref": "#/$defs/Reference" }, "status": { "description": "The status of the resource instance.", "type": "string", "enum": [ "active", "cancelled", "draft", "entered-in-error" ] } } } ], "$defs": { "Address": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "country": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Country - a nation as commonly understood or generally accepted.", "type": "string" }, "period": { "description": "Time period when address was/is in use.", "$ref": "#/$defs/Period" }, "city": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The name of the city, town, suburb, village or other community or delivery center.", "type": "string" }, "use": { "description": "The purpose of this address.", "type": "string", "enum": [ "home", "work", "temp", "old", "billing" ] }, "line": { "description": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } }, "district": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The name of the administrative area (county).", "type": "string" }, "postalCode": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A postal code designating a region defined by the postal service.", "type": "string" }, "text": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", "type": "string" }, "state": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", "type": "string" }, "type": { "description": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", "type": "string", "enum": [ "postal", "physical", "both" ] } } } ] }, "Age": { "allOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "object" } ] }, "Annotation": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "text" ], "properties": { "authorString": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The individual responsible for making the annotation.", "type": "string" }, "authorReference": { "description": "The individual responsible for making the annotation.", "$ref": "#/$defs/Reference" }, "time": { "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)))?)?)?", "description": "Indicates when this particular annotation was made.", "type": "string" }, "text": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The text of the annotation in markdown format.", "type": "string" } } } ] }, "Attachment": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "data": { "pattern": "(\\s*([0-9a-zA-Z\\+\\=]){4}\\s*)+", "description": "The actual data of the attachment - a sequence of bytes, base64 encoded.", "type": "string" }, "size": { "format": "int32", "description": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", "type": "integer" }, "language": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "The human language of the content. The value can be any valid value according to BCP 47.", "type": "string" }, "title": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A label or set of text to display in place of the data.", "type": "string" }, "contentType": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", "type": "string" }, "url": { "pattern": "\\S*", "description": "A location where the data can be accessed.", "type": "string" }, "hash": { "pattern": "(\\s*([0-9a-zA-Z\\+\\=]){4}\\s*)+", "description": "The calculated hash of the data using SHA-1. Represented using base64.", "type": "string" }, "creation": { "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)))?)?)?", "description": "The date that the attachment was first created.", "type": "string" } } } ] }, "BackboneElement": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "modifierExtension": { "description": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's 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 can 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).", "type": "array", "items": { "$ref": "#/$defs/Extension" } } } } ] }, "CodeableConcept": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "coding": { "description": "A reference to a code defined by a terminology system.", "type": "array", "items": { "$ref": "#/$defs/Coding" } }, "text": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", "type": "string" } } } ] }, "Coding": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "system": { "pattern": "\\S*", "description": "The identification of the code system that defines the meaning of the symbol in the code.", "type": "string" }, "code": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "type": "string" }, "userSelected": { "description": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "type": "boolean" }, "display": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A representation of the meaning of the code in the system, following the rules of the system.", "type": "string" }, "version": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "type": "string" } } } ] }, "ContactDetail": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "name": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The name of an individual to contact.", "type": "string" }, "telecom": { "description": "The contact details for the individual (if a name was provided) or the organization.", "type": "array", "items": { "$ref": "#/$defs/ContactPoint" } } } } ] }, "ContactPoint": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "period": { "description": "Time period when the contact point was/is in use.", "$ref": "#/$defs/Period" }, "system": { "description": "Telecommunications form for contact point - what communications system is required to make use of the contact.", "type": "string", "enum": [ "phone", "fax", "email", "pager", "url", "sms", "other" ] }, "use": { "description": "Identifies the purpose for the contact point.", "type": "string", "enum": [ "home", "work", "temp", "old", "mobile" ] }, "rank": { "format": "int32", "description": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", "type": "integer" }, "value": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", "type": "string" } } } ] }, "Count": { "allOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "object" } ] }, "Distance": { "allOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "object" } ] }, "DomainResource": { "allOf": [ { "$ref": "#/$defs/Resource" }, { "type": "object", "properties": { "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.", "type": "array", "items": { "$ref": "#/$defs/Resource" } }, "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.", "type": "array", "items": { "$ref": "#/$defs/Extension" } }, "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's 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).", "type": "array", "items": { "$ref": "#/$defs/Extension" } }, "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": "#/$defs/Narrative" } } } ] }, "Duration": { "allOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "object" } ] }, "Element": { "type": "object", "properties": { "extension": { "description": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "type": "array", "items": { "$ref": "#/$defs/Extension" } }, "id": { "pattern": "[A-Za-z0-9\\-\\.]{1,64}", "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "string" } } }, "ExplanationOfBenefit_Accident": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "date": { "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]))?)?", "description": "Date of an accident event related to the products and services contained in the claim.", "type": "string" }, "locationAddress": { "description": "The physical location of the accident event.", "$ref": "#/$defs/Address" }, "locationReference": { "description": "The physical location of the accident event.", "$ref": "#/$defs/Reference" }, "type": { "description": "The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_AddItem": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService" ], "properties": { "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "programCode": { "description": "Identifies the program under which this may be recovered.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "locationAddress": { "description": "Where the product or service was provided.", "$ref": "#/$defs/Address" }, "servicedPeriod": { "description": "The date or dates when the service or product was supplied, performed or completed.", "$ref": "#/$defs/Period" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "subDetailSequence": { "description": "The sequence number of the sub-details woithin the details within the claim item which this line is intended to replace.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "adjudication": { "description": "The adjudication results.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "itemSequence": { "description": "Claim items which this service line is intended to replace.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "bodySite": { "description": "Physical service site on the patient (limb, tooth, etc.).", "$ref": "#/$defs/CodeableConcept" }, "locationCodeableConcept": { "description": "Where the product or service was provided.", "$ref": "#/$defs/CodeableConcept" }, "provider": { "description": "The providers who are authorized for the services rendered to the patient.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "detailSequence": { "description": "The sequence number of the details within the claim item which this line is intended to replace.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "subSite": { "description": "A region or surface of the bodySite, e.g. limb region or tooth surface(s).", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "servicedDate": { "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]))?)?", "description": "The date or dates when the service or product was supplied, performed or completed.", "type": "string" }, "locationReference": { "description": "Where the product or service was provided.", "$ref": "#/$defs/Reference" }, "detail": { "description": "The second-tier service adjudications for payor added services.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_AddItem_Detail" } }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" } } } ] }, "ExplanationOfBenefit_AddItem_Detail": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService" ], "properties": { "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "adjudication": { "description": "The adjudication results.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "subDetail": { "description": "Third-tier of goods and services.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_AddItem_Detail_SubDetail" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } } } } ] }, "ExplanationOfBenefit_AddItem_Detail_SubDetail": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService" ], "properties": { "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "adjudication": { "description": "The adjudication results.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } } } } ] }, "ExplanationOfBenefit_BenefitBalance": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "category" ], "properties": { "excluded": { "description": "True if the indicated class of service is excluded from the plan, missing or False indicates the product or service is included in the coverage.", "type": "boolean" }, "unit": { "description": "Indicates if the benefits apply to an individual or to the family.", "$ref": "#/$defs/CodeableConcept" }, "financial": { "description": "Benefits Used to date.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_BenefitBalance_Financial" } }, "name": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A short name or tag for the benefit.", "type": "string" }, "description": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A richer description of the benefit or services covered.", "type": "string" }, "term": { "description": "The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'.", "$ref": "#/$defs/CodeableConcept" }, "category": { "description": "Code to identify the general type of benefits under which products and services are provided.", "$ref": "#/$defs/CodeableConcept" }, "network": { "description": "Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_BenefitBalance_Financial": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "type" ], "properties": { "allowedMoney": { "description": "The quantity of the benefit which is permitted under the coverage.", "$ref": "#/$defs/Money" }, "allowedString": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The quantity of the benefit which is permitted under the coverage.", "type": "string" }, "allowedUnsignedInt": { "format": "int32", "description": "The quantity of the benefit which is permitted under the coverage.", "type": "integer" }, "usedUnsignedInt": { "format": "int32", "description": "The quantity of the benefit which have been consumed to date.", "type": "integer" }, "usedMoney": { "description": "The quantity of the benefit which have been consumed to date.", "$ref": "#/$defs/Money" }, "type": { "description": "Classification of benefit being provided.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_CareTeam": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "provider", "sequence" ], "properties": { "sequence": { "format": "int32", "description": "A number to uniquely identify care team entries.", "type": "integer" }, "qualification": { "description": "The qualification of the practitioner which is applicable for this service.", "$ref": "#/$defs/CodeableConcept" }, "role": { "description": "The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team.", "$ref": "#/$defs/CodeableConcept" }, "provider": { "description": "Member of the team who provided the product or service.", "$ref": "#/$defs/Reference" }, "responsible": { "description": "The party who is billing and/or responsible for the claimed products or services.", "type": "boolean" } } } ] }, "ExplanationOfBenefit_Diagnosis": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "sequence" ], "properties": { "sequence": { "format": "int32", "description": "A number to uniquely identify diagnosis entries.", "type": "integer" }, "onAdmission": { "description": "Indication of whether the diagnosis was present on admission to a facility.", "$ref": "#/$defs/CodeableConcept" }, "packageCode": { "description": "A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system.", "$ref": "#/$defs/CodeableConcept" }, "type": { "description": "When the condition was observed or the relative ranking.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "diagnosisReference": { "description": "The nature of illness or problem in a coded form or as a reference to an external defined Condition.", "$ref": "#/$defs/Reference" }, "diagnosisCodeableConcept": { "description": "The nature of illness or problem in a coded form or as a reference to an external defined Condition.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_Insurance": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "coverage", "focal" ], "properties": { "coverage": { "description": "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system.", "$ref": "#/$defs/Reference" }, "focal": { "description": "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true.", "type": "boolean" }, "preAuthRef": { "description": "Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } } } } ] }, "ExplanationOfBenefit_Item": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService", "sequence" ], "properties": { "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "locationAddress": { "description": "Where the product or service was provided.", "$ref": "#/$defs/Address" }, "servicedPeriod": { "description": "The date or dates when the service or product was supplied, performed or completed.", "$ref": "#/$defs/Period" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "adjudication": { "description": "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "informationSequence": { "description": "Exceptions, special conditions and supporting information applicable for this service or product.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "revenue": { "description": "The type of revenue or cost center providing the product and/or service.", "$ref": "#/$defs/CodeableConcept" }, "locationCodeableConcept": { "description": "Where the product or service was provided.", "$ref": "#/$defs/CodeableConcept" }, "diagnosisSequence": { "description": "Diagnoses applicable for this service or product.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "locationReference": { "description": "Where the product or service was provided.", "$ref": "#/$defs/Reference" }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" }, "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "programCode": { "description": "Identifies the program under which this may be recovered.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "careTeamSequence": { "description": "Care team members related to this service or product.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "encounter": { "description": "A billed item may include goods or services provided in multiple encounters.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "sequence": { "format": "int32", "description": "A number to uniquely identify item entries.", "type": "integer" }, "bodySite": { "description": "Physical service site on the patient (limb, tooth, etc.).", "$ref": "#/$defs/CodeableConcept" }, "subSite": { "description": "A region or surface of the bodySite, e.g. limb region or tooth surface(s).", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "servicedDate": { "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]))?)?", "description": "The date or dates when the service or product was supplied, performed or completed.", "type": "string" }, "udi": { "description": "Unique Device Identifiers associated with this line item.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "detail": { "description": "Second-tier of goods and services.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Detail" } }, "procedureSequence": { "description": "Procedures applicable for this service or product.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "category": { "description": "Code to identify the general type of benefits under which products and services are provided.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_Item_Adjudication": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "category" ], "properties": { "reason": { "description": "A code supporting the understanding of the adjudication result and explaining variance from expected amount.", "$ref": "#/$defs/CodeableConcept" }, "amount": { "description": "Monetary amount associated with the category.", "$ref": "#/$defs/Money" }, "category": { "description": "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in-aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item.", "$ref": "#/$defs/CodeableConcept" }, "value": { "description": "A non-monetary value associated with the category. Mutually exclusive to the amount element above.", "type": "number" } } } ] }, "ExplanationOfBenefit_Item_Detail": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService", "sequence" ], "properties": { "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "programCode": { "description": "Identifies the program under which this may be recovered.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "subDetail": { "description": "Third-tier of goods and services.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Detail_SubDetail" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "adjudication": { "description": "The adjudication results.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "sequence": { "format": "int32", "description": "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.", "type": "integer" }, "revenue": { "description": "The type of revenue or cost center providing the product and/or service.", "$ref": "#/$defs/CodeableConcept" }, "udi": { "description": "Unique Device Identifiers associated with this line item.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "category": { "description": "Code to identify the general type of benefits under which products and services are provided.", "$ref": "#/$defs/CodeableConcept" }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" } } } ] }, "ExplanationOfBenefit_Item_Detail_SubDetail": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "productOrService", "sequence" ], "properties": { "unitPrice": { "description": "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.", "$ref": "#/$defs/Money" }, "quantity": { "description": "The number of repetitions of a service or product.", "$ref": "#/$defs/SimpleQuantity" }, "programCode": { "description": "Identifies the program under which this may be recovered.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "modifier": { "description": "Item typification or modifiers codes to convey additional context for the product or service.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } }, "productOrService": { "description": "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.", "$ref": "#/$defs/CodeableConcept" }, "noteNumber": { "description": "The numbers associated with notes below which apply to the adjudication of this item.", "type": "array", "items": { "format": "int32", "type": "integer" } }, "adjudication": { "description": "The adjudication results.", "type": "array", "items": { "$ref": "#/$defs/ExplanationOfBenefit_Item_Adjudication" } }, "sequence": { "format": "int32", "description": "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.", "type": "integer" }, "revenue": { "description": "The type of revenue or cost center providing the product and/or service.", "$ref": "#/$defs/CodeableConcept" }, "udi": { "description": "Unique Device Identifiers associated with this line item.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "category": { "description": "Code to identify the general type of benefits under which products and services are provided.", "$ref": "#/$defs/CodeableConcept" }, "factor": { "description": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.", "type": "number" }, "net": { "description": "The quantity times the unit price for an additional service or product or charge.", "$ref": "#/$defs/Money" } } } ] }, "ExplanationOfBenefit_Payee": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "type": { "description": "Type of Party to be reimbursed: Subscriber, provider, other.", "$ref": "#/$defs/CodeableConcept" }, "party": { "description": "Reference to the individual or organization to whom any payment will be made.", "$ref": "#/$defs/Reference" } } } ] }, "ExplanationOfBenefit_Payment": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "date": { "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]))?)?", "description": "Estimated date the payment will be issued or the actual issue date of payment.", "type": "string" }, "identifier": { "description": "Issuer's unique identifier for the payment instrument.", "$ref": "#/$defs/Identifier" }, "adjustmentReason": { "description": "Reason for the payment adjustment.", "$ref": "#/$defs/CodeableConcept" }, "amount": { "description": "Benefits payable less any payment adjustment.", "$ref": "#/$defs/Money" }, "adjustment": { "description": "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication.", "$ref": "#/$defs/Money" }, "type": { "description": "Whether this represents partial or complete payment of the benefits payable.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_Procedure": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "sequence" ], "properties": { "date": { "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)))?)?)?", "description": "Date and optionally time the procedure was performed.", "type": "string" }, "sequence": { "format": "int32", "description": "A number to uniquely identify procedure entries.", "type": "integer" }, "procedureCodeableConcept": { "description": "The code or reference to a Procedure resource which identifies the clinical intervention performed.", "$ref": "#/$defs/CodeableConcept" }, "procedureReference": { "description": "The code or reference to a Procedure resource which identifies the clinical intervention performed.", "$ref": "#/$defs/Reference" }, "udi": { "description": "Unique Device Identifiers associated with this line item.", "type": "array", "items": { "$ref": "#/$defs/Reference" } }, "type": { "description": "When the condition was observed or the relative ranking.", "type": "array", "items": { "$ref": "#/$defs/CodeableConcept" } } } } ] }, "ExplanationOfBenefit_ProcessNote": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "number": { "format": "int32", "description": "A number to uniquely identify a note entry.", "type": "integer" }, "language": { "description": "A code to define the language used in the text of the note.", "$ref": "#/$defs/CodeableConcept" }, "text": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The explanation or description associated with the processing.", "type": "string" }, "type": { "description": "The business purpose of the note text.", "type": "string", "enum": [ "display", "print", "printoper" ] } } } ] }, "ExplanationOfBenefit_Related": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "reference": { "description": "An alternate organizational reference to the case or file to which this particular claim pertains.", "$ref": "#/$defs/Identifier" }, "claim": { "description": "Reference to a related claim.", "$ref": "#/$defs/Reference" }, "relationship": { "description": "A code to convey how the claims are related.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "ExplanationOfBenefit_SupportingInfo": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "category", "sequence" ], "properties": { "timingDate": { "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]))?)?", "description": "The date when or period to which this information refers.", "type": "string" }, "valueBoolean": { "description": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.", "type": "boolean" }, "sequence": { "format": "int32", "description": "A number to uniquely identify supporting information entries.", "type": "integer" }, "reason": { "description": "Provides the reason in the situation where a reason code is required in addition to the content.", "$ref": "#/$defs/Coding" }, "code": { "description": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient for which care is sought.", "$ref": "#/$defs/CodeableConcept" }, "valueAttachment": { "description": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.", "$ref": "#/$defs/Attachment" }, "valueString": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.", "type": "string" }, "valueReference": { "description": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.", "$ref": "#/$defs/Reference" }, "timingPeriod": { "description": "The date when or period to which this information refers.", "$ref": "#/$defs/Period" }, "category": { "description": "The general class of the information supplied: information; exception; accident, employment; onset, etc.", "$ref": "#/$defs/CodeableConcept" }, "valueQuantity": { "description": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.", "$ref": "#/$defs/Quantity" } } } ] }, "ExplanationOfBenefit_Total": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "required": [ "amount", "category" ], "properties": { "amount": { "description": "Monetary total amount associated with the category.", "$ref": "#/$defs/Money" }, "category": { "description": "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item.", "$ref": "#/$defs/CodeableConcept" } } } ] }, "Extension": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "url" ], "properties": { "valueBase64Binary": { "pattern": "(\\s*([0-9a-zA-Z\\+\\=]){4}\\s*)+", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueBoolean": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "boolean" }, "valueCoding": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Coding" }, "valueTime": { "pattern": "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueIdentifier": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Identifier" }, "valueReference": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Reference" }, "valueMoney": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Money" }, "valueRange": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Range" }, "valueSignature": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Signature" }, "valueUri": { "pattern": "\\S*", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueDistance": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Distance" }, "valueUrl": { "pattern": "\\S*", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueContactDetail": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/ContactDetail" }, "valueMeta": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Meta" }, "valueUuid": { "pattern": "urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueCodeableConcept": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/CodeableConcept" }, "valueRatio": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Ratio" }, "valueMarkdown": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueAttachment": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Attachment" }, "valueUsageContext": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/UsageContext" }, "valueDateTime": { "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)))?)?)?", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueInteger": { "format": "int32", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "integer" }, "valueUnsignedInt": { "format": "int32", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "integer" }, "valueHumanName": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/HumanName" }, "valueQuantity": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Quantity" }, "valueRelatedArtifact": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/RelatedArtifact" }, "valueCanonical": { "pattern": "\\S*", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueCount": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Count" }, "valueId": { "pattern": "[A-Za-z0-9\\-\\.]{1,64}", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueDecimal": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "number" }, "valueCode": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueDate": { "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]))?)?", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valueOid": { "pattern": "urn:oid:[0-2](\\.(0|[1-9][0-9]*))+", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "url": { "pattern": "\\S*", "description": "Source of the definition for the extension code - a logical name or a URL.", "type": "string" }, "valueAddress": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Address" }, "valueContactPoint": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/ContactPoint" }, "valueString": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valuePeriod": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Period" }, "valueSampledData": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/SampledData" }, "valueTiming": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Timing" }, "valueInstant": { "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))", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "string" }, "valuePositiveInt": { "format": "int32", "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "type": "integer" }, "valueDuration": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Duration" }, "valueAge": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Age" }, "valueAnnotation": { "description": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "$ref": "#/$defs/Annotation" } } } ] }, "HumanName": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "given": { "description": "Given name.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } }, "period": { "description": "Indicates the period of time when this name was valid for the named person.", "$ref": "#/$defs/Period" }, "use": { "description": "Identifies the purpose for this name.", "type": "string", "enum": [ "usual", "official", "temp", "nickname", "anonymous", "old", "maiden" ] }, "prefix": { "description": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } }, "text": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", "type": "string" }, "family": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", "type": "string" }, "suffix": { "description": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", "type": "array", "items": { "pattern": "[ \\r\\n\\t\\S]+", "type": "string" } } } } ] }, "Identifier": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "period": { "description": "Time period during which identifier is/was valid for use.", "$ref": "#/$defs/Period" }, "system": { "pattern": "\\S*", "description": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", "type": "string" }, "use": { "description": "The purpose of this identifier.", "type": "string", "enum": [ "usual", "official", "temp", "secondary", "old" ] }, "assigner": { "description": "Organization that issued/manages the identifier.", "$ref": "#/$defs/Reference" }, "type": { "description": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", "$ref": "#/$defs/CodeableConcept" }, "value": { "pattern": "[ \\r\\n\\t\\S]+", "description": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", "type": "string" } } } ] }, "Meta": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "lastUpdated": { "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))", "description": "When the resource last changed - e.g. when the version changed.", "type": "string" }, "versionId": { "pattern": "[A-Za-z0-9\\-\\.]{1,64}", "description": "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.", "type": "string" }, "security": { "description": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.", "type": "array", "items": { "$ref": "#/$defs/Coding" } }, "profile": { "description": "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).", "type": "array", "items": { "pattern": "\\S*", "type": "string" } }, "source": { "pattern": "\\S*", "description": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.", "type": "string" }, "tag": { "description": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.", "type": "array", "items": { "$ref": "#/$defs/Coding" } } } } ] }, "Money": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "currency": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "ISO 4217 Currency Code.", "type": "string" }, "value": { "description": "Numerical value (with implicit precision).", "type": "number" } } } ] }, "Narrative": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "div", "status" ], "properties": { "div": { "description": "The actual narrative content, a stripped down version of XHTML.", "type": "string" }, "status": { "description": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.", "type": "string", "enum": [ "generated", "extensions", "additional", "empty" ] } } } ] }, "Period": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "start": { "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)))?)?)?", "description": "The start of the period. The boundary is inclusive.", "type": "string" }, "end": { "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)))?)?)?", "description": "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.", "type": "string" } } } ] }, "Quantity": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "comparator": { "description": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<>", "type": "string", "enum": [ "<", "<=", ">=", ">" ] }, "unit": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A human-readable form of the unit.", "type": "string" }, "system": { "pattern": "\\S*", "description": "The identification of the system that provides the coded form of the unit.", "type": "string" }, "code": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "A computer processable form of the unit in some unit representation system.", "type": "string" }, "value": { "description": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", "type": "number" } } } ] }, "Range": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "high": { "description": "The high limit. The boundary is inclusive.", "$ref": "#/$defs/SimpleQuantity" }, "low": { "description": "The low limit. The boundary is inclusive.", "$ref": "#/$defs/SimpleQuantity" } } } ] }, "Ratio": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "numerator": { "description": "The value of the numerator.", "$ref": "#/$defs/Quantity" }, "denominator": { "description": "The value of the denominator.", "$ref": "#/$defs/Quantity" } } } ] }, "Reference": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "properties": { "reference": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "type": "string" }, "identifier": { "description": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "$ref": "#/$defs/Identifier" }, "display": { "pattern": "[ \\r\\n\\t\\S]+", "description": "Plain text narrative that identifies the resource in addition to the resource reference.", "type": "string" }, "type": { "pattern": "\\S*", "description": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "type": "string" } } } ] }, "RelatedArtifact": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "type" ], "properties": { "citation": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.", "type": "string" }, "resource": { "pattern": "\\S*", "description": "The related resource, such as a library, value set, profile, or other knowledge resource.", "type": "string" }, "display": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.", "type": "string" }, "document": { "description": "The document being referenced, represented as an attachment. This is exclusive with the resource element.", "$ref": "#/$defs/Attachment" }, "label": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.", "type": "string" }, "type": { "description": "The type of relationship to the related artifact.", "type": "string", "enum": [ "documentation", "justification", "citation", "predecessor", "successor", "derived-from", "depends-on", "composed-of" ] }, "url": { "pattern": "\\S*", "description": "A url for the artifact that can be followed to access the actual content.", "type": "string" } } } ] }, "Resource": { "type": "object", "required": [ "resourceType" ], "properties": { "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": "#/$defs/Meta" }, "implicitRules": { "pattern": "\\S*", "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.", "type": "string" }, "language": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "The base language in which the resource is written.", "type": "string" }, "id": { "pattern": "[A-Za-z0-9\\-\\.]{1,64}", "description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "type": "string" }, "resourceType": { "type": "string", "enum": [ "Account", "ActivityDefinition", "AdverseEvent", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "Binary", "BiologicallyDerivedProduct", "BodyStructure", "Bundle", "CapabilityStatement", "CarePlan", "CareTeam", "CatalogEntry", "ChargeItem", "ChargeItemDefinition", "Claim", "ClaimResponse", "ClinicalImpression", "CodeSystem", "Communication", "CommunicationRequest", "CompartmentDefinition", "Composition", "ConceptMap", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceDefinition", "DeviceMetric", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "DomainResource", "EffectEvidenceSynthesis", "Encounter", "Endpoint", "EnrollmentRequest", "EnrollmentResponse", "EpisodeOfCare", "EventDefinition", "Evidence", "EvidenceVariable", "ExampleScenario", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GraphDefinition", "Group", "GuidanceResponse", "HealthcareService", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "ImplementationGuide", "InsurancePlan", "Invoice", "Library", "Linkage", "List", "Location", "Measure", "MeasureReport", "Media", "Medication", "MedicationAdministration", "MedicationDispense", "MedicationKnowledge", "MedicationRequest", "MedicationStatement", "MedicinalProduct", "MedicinalProductAuthorization", "MedicinalProductContraindication", "MedicinalProductIndication", "MedicinalProductIngredient", "MedicinalProductInteraction", "MedicinalProductManufactured", "MedicinalProductPackaged", "MedicinalProductPharmaceutical", "MedicinalProductUndesirableEffect", "MessageDefinition", "MessageHeader", "MolecularSequence", "NamingSystem", "NutritionOrder", "Observation", "ObservationDefinition", "OperationDefinition", "OperationOutcome", "Organization", "OrganizationAffiliation", "Parameters", "Patient", "PaymentNotice", "PaymentReconciliation", "Person", "PlanDefinition", "Practitioner", "PractitionerRole", "Procedure", "Provenance", "Questionnaire", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchDefinition", "ResearchElementDefinition", "ResearchStudy", "ResearchSubject", "Resource", "RiskAssessment", "RiskEvidenceSynthesis", "Schedule", "SearchParameter", "ServiceRequest", "Slot", "Specimen", "SpecimenDefinition", "StructureDefinition", "StructureMap", "Subscription", "Substance", "SubstanceNucleicAcid", "SubstancePolymer", "SubstanceProtein", "SubstanceReferenceInformation", "SubstanceSourceMaterial", "SubstanceSpecification", "SupplyDelivery", "SupplyRequest", "Task", "TerminologyCapabilities", "TestReport", "TestScript", "ValueSet", "VerificationResult", "VisionPrescription" ] } }, "discriminator": "resourceType" }, "SampledData": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "dimensions", "origin", "period" ], "properties": { "period": { "description": "The length of time between sampling times, measured in milliseconds.", "type": "number" }, "data": { "pattern": "[ \\r\\n\\t\\S]+", "description": "A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value.", "type": "string" }, "origin": { "description": "The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.", "$ref": "#/$defs/SimpleQuantity" }, "upperLimit": { "description": "The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit).", "type": "number" }, "lowerLimit": { "description": "The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit).", "type": "number" }, "factor": { "description": "A correction factor that is applied to the sampled data points before they are added to the origin.", "type": "number" }, "dimensions": { "format": "int32", "description": "The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.", "type": "integer" } } } ] }, "Signature": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "type", "when", "who" ], "properties": { "data": { "pattern": "(\\s*([0-9a-zA-Z\\+\\=]){4}\\s*)+", "description": "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.", "type": "string" }, "onBehalfOf": { "description": "A reference to an application-usable description of the identity that is represented by the signature.", "$ref": "#/$defs/Reference" }, "sigFormat": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.", "type": "string" }, "targetFormat": { "pattern": "[^\\s]+(\\s[^\\s]+)*", "description": "A mime type that indicates the technical format of the target resources signed by the signature.", "type": "string" }, "type": { "minItems": 1, "description": "An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.", "type": "array", "items": { "$ref": "#/$defs/Coding" } }, "when": { "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))", "description": "When the digital signature was signed.", "type": "string" }, "who": { "description": "A reference to an application-usable description of the identity that signed (e.g. the signature used their private key).", "$ref": "#/$defs/Reference" } } } ] }, "SimpleQuantity": { "allOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "object" } ] }, "Timing": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "code": { "description": "A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).", "$ref": "#/$defs/CodeableConcept" }, "repeat": { "description": "A set of rules that describe when the event is scheduled.", "$ref": "#/$defs/Timing_Repeat" }, "event": { "description": "Identifies specific times when the event occurs.", "type": "array", "items": { "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" } } } } ] }, "Timing_Repeat": { "allOf": [ { "$ref": "#/$defs/BackboneElement" }, { "type": "object", "properties": { "boundsRange": { "description": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.", "$ref": "#/$defs/Range" }, "period": { "description": "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.", "type": "number" }, "offset": { "format": "int32", "description": "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.", "type": "integer" }, "frequencyMax": { "format": "int32", "description": "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.", "type": "integer" }, "countMax": { "format": "int32", "description": "If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.", "type": "integer" }, "periodMax": { "description": "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.", "type": "number" }, "count": { "format": "int32", "description": "A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.", "type": "integer" }, "periodUnit": { "description": "The units of time for the period in UCUM units.", "type": "string", "enum": [ "s", "min", "h", "d", "wk", "mo", "a" ] }, "when": { "description": "An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.", "type": "array", "items": { "type": "string" } }, "frequency": { "format": "int32", "description": "The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.", "type": "integer" }, "boundsDuration": { "description": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.", "$ref": "#/$defs/Duration" }, "duration": { "description": "How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.", "type": "number" }, "durationMax": { "description": "If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.", "type": "number" }, "dayOfWeek": { "description": "If one or more days of week is provided, then the action happens only on the specified day(s).", "type": "array", "items": { "type": "string" } }, "boundsPeriod": { "description": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.", "$ref": "#/$defs/Period" }, "durationUnit": { "description": "The units of time for the duration, in UCUM units.", "type": "string", "enum": [ "s", "min", "h", "d", "wk", "mo", "a" ] }, "timeOfDay": { "description": "Specified time of day for action to take place.", "type": "array", "items": { "pattern": "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?", "type": "string" } } } } ] }, "UsageContext": { "allOf": [ { "$ref": "#/$defs/Element" }, { "type": "object", "required": [ "code" ], "properties": { "valueCodeableConcept": { "description": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.", "$ref": "#/$defs/CodeableConcept" }, "code": { "description": "A code that identifies the type of context being specified by this usage context.", "$ref": "#/$defs/Coding" }, "valueReference": { "description": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.", "$ref": "#/$defs/Reference" }, "valueRange": { "description": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.", "$ref": "#/$defs/Range" }, "valueQuantity": { "description": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.", "$ref": "#/$defs/Quantity" } } } ] } } }