Publish-box (todo)
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
This is a representation of the json schema for StructureMap, 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/StructureMap", "$ref": "#/definitions/StructureMap", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "StructureMap": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "resourceType": { "description": "This is a StructureMap resource", "const": "StructureMap" }, "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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", "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 managable, 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 managable, 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" }, "url": { "description": "An absolute URI that is used to identify this structure map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this structure map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the structure map is stored on different servers.", "$ref": "#/definitions/uri" }, "_url": { "description": "Extensions for url", "$ref": "Element.schema.json#/definitions/Element" }, "identifier": { "description": "A formal identifier that is used to identify this structure map when it is represented in other formats, or referenced in a specification, model, design or an instance.", "items": { "$ref": "Identifier.schema.json#/definitions/Identifier" }, "type": "array" }, "version": { "description": "The identifier that is used to identify this version of the structure map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.", "$ref": "#/definitions/string" }, "_version": { "description": "Extensions for version", "$ref": "Element.schema.json#/definitions/Element" }, "versionAlgorithmString": { "description": "Indicates the mechanism used to compare versions to determine which is more current.", "pattern": "^^[\\s\\S]+$$", "type": "string" }, "_versionAlgorithmString": { "description": "Extensions for versionAlgorithmString", "$ref": "Element.schema.json#/definitions/Element" }, "versionAlgorithmCoding": { "description": "Indicates the mechanism used to compare versions to determine which is more current.", "$ref": "Coding.schema.json#/definitions/Coding" }, "name": { "description": "A natural language name identifying the structure map. This name should be usable as an identifier for the module by machine processing applications such as code generation.", "$ref": "#/definitions/string" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "title": { "description": "A short, descriptive, user-friendly title for the structure map.", "$ref": "#/definitions/string" }, "_title": { "description": "Extensions for title", "$ref": "Element.schema.json#/definitions/Element" }, "status": { "description": "The status of this structure map. Enables tracking the life-cycle of the content.", "$ref": "#/definitions/code" }, "_status": { "description": "Extensions for status", "$ref": "Element.schema.json#/definitions/Element" }, "experimental": { "description": "A Boolean value to indicate that this structure map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.", "$ref": "#/definitions/boolean" }, "_experimental": { "description": "Extensions for experimental", "$ref": "Element.schema.json#/definitions/Element" }, "date": { "description": "The date (and optionally time) when the structure map was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the structure map changes.", "$ref": "#/definitions/dateTime" }, "_date": { "description": "Extensions for date", "$ref": "Element.schema.json#/definitions/Element" }, "publisher": { "description": "The name of the organization or individual responsible for the release and ongoing maintenance of the structure map.", "$ref": "#/definitions/string" }, "_publisher": { "description": "Extensions for publisher", "$ref": "Element.schema.json#/definitions/Element" }, "contact": { "description": "Contact details to assist a user in finding and communicating with the publisher.", "items": { "$ref": "ContactDetail.schema.json#/definitions/ContactDetail" }, "type": "array" }, "description": { "description": "A free text natural language description of the structure map from a consumer\u0027s perspective.", "$ref": "#/definitions/markdown" }, "_description": { "description": "Extensions for description", "$ref": "Element.schema.json#/definitions/Element" }, "useContext": { "description": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate structure map instances.", "items": { "$ref": "UsageContext.schema.json#/definitions/UsageContext" }, "type": "array" }, "jurisdiction": { "description": "A legal or geographic region in which the structure map is intended to be used.", "items": { "$ref": "CodeableConcept.schema.json#/definitions/CodeableConcept" }, "type": "array" }, "purpose": { "description": "Explanation of why this structure map is needed and why it has been designed as it has.", "$ref": "#/definitions/markdown" }, "_purpose": { "description": "Extensions for purpose", "$ref": "Element.schema.json#/definitions/Element" }, "copyright": { "description": "A copyright statement relating to the structure map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the structure map.", "$ref": "#/definitions/markdown" }, "_copyright": { "description": "Extensions for copyright", "$ref": "Element.schema.json#/definitions/Element" }, "copyrightLabel": { "description": "A short string (\u003c50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. \u0027All rights reserved\u0027, \u0027Some rights reserved\u0027).", "$ref": "#/definitions/string" }, "_copyrightLabel": { "description": "Extensions for copyrightLabel", "$ref": "Element.schema.json#/definitions/Element" }, "structure": { "description": "A structure definition used by this map. The structure definition may describe instances that are converted, or the instances that are produced.", "items": { "$ref": "#/definitions/StructureMap_Structure" }, "type": "array" }, "import": { "description": "Other maps used by this map (canonical URLs).", "items": { "$ref": "canonical.schema.json#/definitions/canonical" }, "type": "array" }, "const": { "description": "Definition of a constant value used in the map rules.", "items": { "$ref": "#/definitions/StructureMap_Const" }, "type": "array" }, "group": { "description": "Organizes the mapping into managable chunks for human review/ease of maintenance.", "items": { "$ref": "#/definitions/StructureMap_Group" }, "type": "array" } }, "type": "object", "additionalProperties": false, "required": [ "resourceType", "group" ] }, "StructureMap_Structure": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "url": { "description": "The canonical reference to the structure.", "$ref": "canonical.schema.json#/definitions/canonical" }, "mode": { "description": "How the referenced structure is used in this mapping.", "$ref": "#/definitions/code" }, "_mode": { "description": "Extensions for mode", "$ref": "Element.schema.json#/definitions/Element" }, "alias": { "description": "The name used for this type in the map.", "$ref": "#/definitions/string" }, "_alias": { "description": "Extensions for alias", "$ref": "Element.schema.json#/definitions/Element" }, "documentation": { "description": "Documentation that describes how the structure is used in the mapping.", "$ref": "#/definitions/string" }, "_documentation": { "description": "Extensions for documentation", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false, "required": [ "url" ] }, "StructureMap_Const": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "name": { "description": "Other maps used by this map (canonical URLs).", "$ref": "#/definitions/id" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "value": { "description": "A FHIRPath expression that is the value of this variable.", "$ref": "#/definitions/string" }, "_value": { "description": "Extensions for value", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "StructureMap_Group": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "name": { "description": "A unique name for the group for the convenience of human readers.", "$ref": "#/definitions/id" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "extends": { "description": "Another group that this group adds rules to.", "$ref": "#/definitions/id" }, "_extends": { "description": "Extensions for extends", "$ref": "Element.schema.json#/definitions/Element" }, "typeMode": { "description": "If this is the default rule set to apply for the source type or this combination of types.", "$ref": "#/definitions/code" }, "_typeMode": { "description": "Extensions for typeMode", "$ref": "Element.schema.json#/definitions/Element" }, "documentation": { "description": "Additional supporting documentation that explains the purpose of the group and the types of mappings within it.", "$ref": "#/definitions/string" }, "_documentation": { "description": "Extensions for documentation", "$ref": "Element.schema.json#/definitions/Element" }, "input": { "description": "A name assigned to an instance of data. The instance must be provided when the mapping is invoked.", "items": { "$ref": "#/definitions/StructureMap_Input" }, "type": "array" }, "rule": { "description": "Transform Rule from source to target.", "items": { "$ref": "#/definitions/StructureMap_Rule" }, "type": "array" } }, "type": "object", "additionalProperties": false, "required": [ "input" ] }, "StructureMap_Input": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "name": { "description": "Name for this instance of data.", "$ref": "#/definitions/id" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "type": { "description": "Type for this instance of data.", "$ref": "#/definitions/string" }, "_type": { "description": "Extensions for type", "$ref": "Element.schema.json#/definitions/Element" }, "mode": { "description": "Mode for this instance of data.", "$ref": "#/definitions/code" }, "_mode": { "description": "Extensions for mode", "$ref": "Element.schema.json#/definitions/Element" }, "documentation": { "description": "Documentation for this instance of data.", "$ref": "#/definitions/string" }, "_documentation": { "description": "Extensions for documentation", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "StructureMap_Rule": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "name": { "description": "Name of the rule for internal references.", "$ref": "#/definitions/id" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "source": { "description": "Source inputs to the mapping.", "items": { "$ref": "#/definitions/StructureMap_Source" }, "type": "array" }, "target": { "description": "Content to create because of this mapping rule.", "items": { "$ref": "#/definitions/StructureMap_Target" }, "type": "array" }, "rule": { "description": "Rules contained in this rule.", "items": { "$ref": "#/definitions/StructureMap_Rule" }, "type": "array" }, "dependent": { "description": "Which other rules to apply in the context of this rule.", "items": { "$ref": "#/definitions/StructureMap_Dependent" }, "type": "array" }, "documentation": { "description": "Documentation for this instance of data.", "$ref": "#/definitions/string" }, "_documentation": { "description": "Extensions for documentation", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false, "required": [ "source" ] }, "StructureMap_Source": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "context": { "description": "Type or variable this rule applies to.", "$ref": "#/definitions/id" }, "_context": { "description": "Extensions for context", "$ref": "Element.schema.json#/definitions/Element" }, "min": { "description": "Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.", "$ref": "#/definitions/integer" }, "_min": { "description": "Extensions for min", "$ref": "Element.schema.json#/definitions/Element" }, "max": { "description": "Specified maximum cardinality for the element - a number or a \"*\". This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it\u0027s the default value).", "$ref": "#/definitions/string" }, "_max": { "description": "Extensions for max", "$ref": "Element.schema.json#/definitions/Element" }, "type": { "description": "Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.", "$ref": "#/definitions/string" }, "_type": { "description": "Extensions for type", "$ref": "Element.schema.json#/definitions/Element" }, "defaultValue": { "description": "A value to use if there is no existing value in the source object.", "$ref": "#/definitions/string" }, "_defaultValue": { "description": "Extensions for defaultValue", "$ref": "Element.schema.json#/definitions/Element" }, "element": { "description": "Optional field for this source.", "$ref": "#/definitions/string" }, "_element": { "description": "Extensions for element", "$ref": "Element.schema.json#/definitions/Element" }, "listMode": { "description": "How to handle the list mode for this element.", "$ref": "#/definitions/code" }, "_listMode": { "description": "Extensions for listMode", "$ref": "Element.schema.json#/definitions/Element" }, "variable": { "description": "Named context for field, if a field is specified.", "$ref": "#/definitions/id" }, "_variable": { "description": "Extensions for variable", "$ref": "Element.schema.json#/definitions/Element" }, "condition": { "description": "FHIRPath expression - must be true or the rule does not apply.", "$ref": "#/definitions/string" }, "_condition": { "description": "Extensions for condition", "$ref": "Element.schema.json#/definitions/Element" }, "check": { "description": "FHIRPath expression - must be true or the mapping engine throws an error instead of completing.", "$ref": "#/definitions/string" }, "_check": { "description": "Extensions for check", "$ref": "Element.schema.json#/definitions/Element" }, "logMessage": { "description": "A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.", "$ref": "#/definitions/string" }, "_logMessage": { "description": "Extensions for logMessage", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "StructureMap_Target": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "context": { "description": "Variable this rule applies to.", "$ref": "#/definitions/string" }, "_context": { "description": "Extensions for context", "$ref": "Element.schema.json#/definitions/Element" }, "element": { "description": "Field to create in the context.", "$ref": "#/definitions/string" }, "_element": { "description": "Extensions for element", "$ref": "Element.schema.json#/definitions/Element" }, "variable": { "description": "Named context for field, if desired, and a field is specified.", "$ref": "#/definitions/id" }, "_variable": { "description": "Extensions for variable", "$ref": "Element.schema.json#/definitions/Element" }, "listMode": { "description": "If field is a list, how to manage the list.", "items": { "$ref": "#/definitions/code" }, "type": "array" }, "_listMode": { "description": "Extensions for listMode", "items": { "$ref": "Element.schema.json#/definitions/Element" }, "type": "array" }, "listRuleId": { "description": "Internal rule reference for shared list items.", "$ref": "#/definitions/id" }, "_listRuleId": { "description": "Extensions for listRuleId", "$ref": "Element.schema.json#/definitions/Element" }, "transform": { "description": "How the data is copied / created.", "$ref": "#/definitions/code" }, "_transform": { "description": "Extensions for transform", "$ref": "Element.schema.json#/definitions/Element" }, "parameter": { "description": "Parameters to the transform.", "items": { "$ref": "#/definitions/StructureMap_Parameter" }, "type": "array" } }, "type": "object", "additionalProperties": false }, "StructureMap_Parameter": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "valueId": { "description": "Parameter value - variable or literal.", "pattern": "^[A-Za-z0-9\\-\\.]{1,64}$", "type": "string" }, "_valueId": { "description": "Extensions for valueId", "$ref": "Element.schema.json#/definitions/Element" }, "valueString": { "description": "Parameter value - variable or literal.", "pattern": "^^[\\s\\S]+$$", "type": "string" }, "_valueString": { "description": "Extensions for valueString", "$ref": "Element.schema.json#/definitions/Element" }, "valueBoolean": { "description": "Parameter value - variable or literal.", "pattern": "^true|false$", "type": "boolean" }, "_valueBoolean": { "description": "Extensions for valueBoolean", "$ref": "Element.schema.json#/definitions/Element" }, "valueInteger": { "description": "Parameter value - variable or literal.", "pattern": "^[0]|[-+]?[1-9][0-9]*$", "type": "number" }, "_valueInteger": { "description": "Extensions for valueInteger", "$ref": "Element.schema.json#/definitions/Element" }, "valueDecimal": { "description": "Parameter value - variable or literal.", "pattern": "^-?(0|[1-9][0-9]{0,17})(\\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$", "type": "number" }, "_valueDecimal": { "description": "Extensions for valueDecimal", "$ref": "Element.schema.json#/definitions/Element" }, "valueDate": { "description": "Parameter value - variable or literal.", "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]))?)?$", "type": "string" }, "_valueDate": { "description": "Extensions for valueDate", "$ref": "Element.schema.json#/definitions/Element" }, "valueTime": { "description": "Parameter value - variable or literal.", "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?$", "type": "string" }, "_valueTime": { "description": "Extensions for valueTime", "$ref": "Element.schema.json#/definitions/Element" }, "valueDateTime": { "description": "Parameter value - variable or literal.", "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]{1,9})?)?)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?$", "type": "string" }, "_valueDateTime": { "description": "Extensions for valueDateTime", "$ref": "Element.schema.json#/definitions/Element" } }, "type": "object", "additionalProperties": false }, "StructureMap_Dependent": { "description": "A Map of relationships between 2 structures that can be used to transform data.", "properties": { "id": { "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "$ref": "string.schema.json#/definitions/string" }, "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 managable, 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 element and that modifies the understanding of the element in which it is contained 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 managable, 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).", "items": { "$ref": "Extension.schema.json#/definitions/Extension" }, "type": "array" }, "name": { "description": "Name of a rule or group to apply.", "$ref": "#/definitions/id" }, "_name": { "description": "Extensions for name", "$ref": "Element.schema.json#/definitions/Element" }, "parameter": { "description": "Parameter to pass to the rule or group.", "items": { "$ref": "#/definitions/StructureMap_Parameter" }, "type": "array" } }, "type": "object", "additionalProperties": false, "required": [ "parameter" ] } } }