PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r4b@0.1.0
    http://hl7.org/fhir/1.0/StructureDefinition/extension-DiagnosticOrder.event
{
  "description": "DSTU2: `DiagnosticOrder.event` (new:BackboneElement)",
  "_filename": "StructureDefinition-ext-R2-DiagnosticOrder.event.json",
  "package_name": "hl7.fhir.uv.xver-r2.r4b",
  "date": "2026-03-17T21:02:03.8104715+00:00",
  "derivation": "constraint",
  "publisher": "FHIR Infrastructure",
  "fhirVersion": "4.3.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "World"
    } ]
  } ],
  "purpose": "This extension is part of the cross-version definitions generated to enable use of the\r\nelement `DiagnosticOrder.event` as defined in FHIR DSTU2\r\nin FHIR R4B.\r\n\r\nThe source element is defined as:\r\n`DiagnosticOrder.event` 0..* `BackboneElement`\r\n\r\nAcross FHIR versions, the element set has been mapped as:\r\n*  DSTU2: `DiagnosticOrder.event` 0..* `BackboneElement`\r\n\r\nFollowing are the generation technical comments:\r\nElement `DiagnosticOrder.event` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
  "name": "ExtensionDiagnosticOrder_Event",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "Extension",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "DSTU2: A list of events of interest in the lifecycle (new)",
  "package_version": "0.1.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fhir"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/package-source",
    "extension": [ {
      "url": "packageId",
      "valueId": "hl7.fhir.uv.xver-r2.r4b"
    }, {
      "url": "version",
      "valueString": "0.1.0"
    }, {
      "url": "uri",
      "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r4b"
    } ]
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/version-specific-use",
    "extension": [ {
      "url": "startFhirVersion",
      "valueCode": "4.3"
    }, {
      "url": "endFhirVersion",
      "valueCode": "4.3"
    } ]
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 0,
    "_valueInteger": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r4b"
      } ]
    }
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r4b"
      } ]
    }
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
        "xpath": "@value|f:*|h:div|self::f:Parameters",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event` (new:BackboneElement)",
      "isModifier": false,
      "short": "DSTU2: A list of events of interest in the lifecycle (new)",
      "max": "*",
      "id": "Extension",
      "condition": [ "ele-1" ],
      "comment": "Element `DiagnosticOrder.event` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nThis is not the same as an audit trail. It is a view of the important things that happened in the past. Typically, there would only be one entry for any given status, and systems may not record all the status events.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension"
      }
    }, {
      "path": "Extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension",
      "min": 2,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Extension.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.status` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.status` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.status` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 1,
      "definition": "DSTU2: `DiagnosticOrder.event.status` (new:code)",
      "isModifier": false,
      "short": "DSTU2: proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed (new)",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "status",
      "max": "1",
      "id": "Extension.extension:status",
      "comment": "Element `DiagnosticOrder.event.status` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.status` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.status` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:status.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Extension.extension:status.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "status",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:status.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Extension.extension.value[x]",
      "min": 1,
      "definition": "The status for the event.",
      "isModifier": false,
      "short": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/uv/xver/ValueSet/R2-diagnostic-order-status-for-R4B-request-intent|0.1.0",
        "description": "The status of a diagnostic order."
      },
      "max": "1",
      "id": "Extension.extension:status.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.description` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.description` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.description` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event.description` (new:CodeableConcept)",
      "isModifier": false,
      "short": "DSTU2: More information about the event and its context (new)",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "description",
      "max": "1",
      "id": "Extension.extension:description",
      "comment": "Element `DiagnosticOrder.event.description` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.description` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.description` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:description.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Extension.extension:description.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "description",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:description.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Extension.extension.value[x]",
      "min": 0,
      "definition": "Additional information about the event that occurred - e.g. if the status remained unchanged.",
      "isModifier": false,
      "short": "More information about the event and its context",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/uv/xver/ValueSet/R2-diagnostic-order-event-for-R4B|0.1.0",
        "description": "Additional information about an event that occurred to a diagnostic order - e.g. if the status remained unchanged."
      },
      "max": "1",
      "id": "Extension.extension:description.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.dateTime` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.dateTime` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.dateTime` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 1,
      "definition": "DSTU2: `DiagnosticOrder.event.dateTime` (new:dateTime)",
      "isModifier": false,
      "short": "DSTU2: The date at which the event happened (new)",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "dateTime",
      "max": "1",
      "id": "Extension.extension:dateTime",
      "comment": "Element `DiagnosticOrder.event.dateTime` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.dateTime` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.dateTime` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:dateTime.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Extension.extension:dateTime.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "dateTime",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:dateTime.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Extension.extension.value[x]",
      "min": 1,
      "definition": "The date/time at which the event occurred.",
      "isModifier": false,
      "short": "The date at which the event happened",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Extension.extension:dateTime.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.actor` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.actor` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.actor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event.actor` (new:Reference(Practitioner,Device))",
      "isModifier": false,
      "short": "DSTU2: Who recorded or did this (new)",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "actor",
      "max": "1",
      "id": "Extension.extension:actor",
      "comment": "Element `DiagnosticOrder.event.actor` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.actor` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.actor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:actor.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension.extension.extension",
      "min": 0,
      "definition": "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Extension.extension:actor.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "actor",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.extension:actor.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Extension.extension.value[x]",
      "min": 0,
      "definition": "The person responsible for performing or recording the action.",
      "isModifier": false,
      "short": "Who recorded or did this",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/1.0/StructureDefinition/profile-Practitioner-for-PractitionerRole|0.1.0", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.3.0", "http://hl7.org/fhir/1.0/StructureDefinition/profile-Device|0.1.0", "http://hl7.org/fhir/StructureDefinition/Device|4.3.0" ]
      } ],
      "max": "1",
      "id": "Extension.extension:actor.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "path": "Extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/1.0/StructureDefinition/extension-DiagnosticOrder.event",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Extension.value[x]",
      "min": 0,
      "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4B/extensibility.html) for a list).",
      "isModifier": false,
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "canonical"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "url"
      }, {
        "code": "uuid"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "CodeableReference"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "RatioRange"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "Expression"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Dosage"
      } ],
      "max": "0",
      "id": "Extension.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.3.0"
    } ]
  },
  "status": "active",
  "id": "d5a6da05-dbe7-49ae-bdc1-72d5629cd7bb",
  "kind": "complex-type",
  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-DiagnosticOrder.event",
  "context": [ {
    "type": "element",
    "expression": "ServiceRequest"
  } ],
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "path": "Extension",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event` (new:BackboneElement)",
      "isModifier": false,
      "short": "DSTU2: A list of events of interest in the lifecycle (new)",
      "max": "*",
      "id": "Extension",
      "comment": "Element `DiagnosticOrder.event` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nThis is not the same as an audit trail. It is a view of the important things that happened in the past. Typically, there would only be one entry for any given status, and systems may not record all the status events.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension"
      }
    }, {
      "id": "Extension.extension",
      "max": "*",
      "min": 2,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension.extension"
      },
      "path": "Extension.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.status` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.status` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.status` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 1,
      "definition": "DSTU2: `DiagnosticOrder.event.status` (new:code)",
      "short": "DSTU2: proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed (new)",
      "sliceName": "status",
      "max": "1",
      "id": "Extension.extension:status",
      "comment": "Element `DiagnosticOrder.event.status` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.status` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.status` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension.extension"
      }
    }, {
      "id": "Extension.extension:status.url",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "path": "Extension.extension.url",
      "fixedUri": "status"
    }, {
      "path": "Extension.extension.value[x]",
      "min": 1,
      "definition": "The status for the event.",
      "short": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/uv/xver/ValueSet/R2-diagnostic-order-status-for-R4B-request-intent|0.1.0",
        "description": "The status of a diagnostic order."
      },
      "max": "1",
      "id": "Extension.extension:status.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.description` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.description` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.description` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event.description` (new:CodeableConcept)",
      "short": "DSTU2: More information about the event and its context (new)",
      "sliceName": "description",
      "max": "1",
      "id": "Extension.extension:description",
      "comment": "Element `DiagnosticOrder.event.description` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.description` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.description` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension.extension"
      }
    }, {
      "id": "Extension.extension:description.url",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "path": "Extension.extension.url",
      "fixedUri": "description"
    }, {
      "path": "Extension.extension.value[x]",
      "min": 0,
      "definition": "Additional information about the event that occurred - e.g. if the status remained unchanged.",
      "short": "More information about the event and its context",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/uv/xver/ValueSet/R2-diagnostic-order-event-for-R4B|0.1.0",
        "description": "Additional information about an event that occurred to a diagnostic order - e.g. if the status remained unchanged."
      },
      "max": "1",
      "id": "Extension.extension:description.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.dateTime` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.dateTime` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.dateTime` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 1,
      "definition": "DSTU2: `DiagnosticOrder.event.dateTime` (new:dateTime)",
      "short": "DSTU2: The date at which the event happened (new)",
      "sliceName": "dateTime",
      "max": "1",
      "id": "Extension.extension:dateTime",
      "comment": "Element `DiagnosticOrder.event.dateTime` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.dateTime` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.dateTime` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension.extension"
      }
    }, {
      "id": "Extension.extension:dateTime.url",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "path": "Extension.extension.url",
      "fixedUri": "dateTime"
    }, {
      "id": "Extension.extension:dateTime.value[x]",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "The date at which the event happened",
      "definition": "The date/time at which the event occurred."
    }, {
      "path": "Extension.extension",
      "requirements": "Element `DiagnosticOrder.event.actor` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.actor` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.actor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "min": 0,
      "definition": "DSTU2: `DiagnosticOrder.event.actor` (new:Reference(Practitioner,Device))",
      "short": "DSTU2: Who recorded or did this (new)",
      "sliceName": "actor",
      "max": "1",
      "id": "Extension.extension:actor",
      "comment": "Element `DiagnosticOrder.event.actor` is part of an existing definition because parent element `DiagnosticOrder.event` requires a cross-version extension.\nElement `DiagnosticOrder.event.actor` has a context of ServiceRequest based on following the parent source element upwards and mapping to `ServiceRequest`.\nElement `DiagnosticOrder.event.actor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Extension.extension"
      }
    }, {
      "id": "Extension.extension:actor.url",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "path": "Extension.extension.url",
      "fixedUri": "actor"
    }, {
      "id": "Extension.extension:actor.value[x]",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.extension.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/1.0/StructureDefinition/profile-Practitioner-for-PractitionerRole|0.1.0", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.3.0", "http://hl7.org/fhir/1.0/StructureDefinition/profile-Device|0.1.0", "http://hl7.org/fhir/StructureDefinition/Device|4.3.0" ]
      } ],
      "short": "Who recorded or did this",
      "definition": "The person responsible for performing or recording the action."
    }, {
      "id": "Extension.url",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "path": "Extension.url",
      "fixedUri": "http://hl7.org/fhir/1.0/StructureDefinition/extension-DiagnosticOrder.event"
    }, {
      "id": "Extension.value[x]",
      "max": "0",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "path": "Extension.value[x]"
    } ]
  },
  "contact": [ {
    "name": "FHIR Infrastructure",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/fiwg",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
}