PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.8.0
    http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue
{
  "description": "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.",
  "_filename": "extension-operationoutcome-detectedissue.json",
  "package_name": "hl7.fhir.core",
  "date": "2014-01-31",
  "derivation": "constraint",
  "publisher": "Health Level Seven, Inc. - [WG Name] WG",
  "fhirVersion": "1.8.0",
  "name": "Reference to a contra-indication that is the basis for this error",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "Extension",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Clinical Issue",
  "package_version": "1.8.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "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": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Extension",
      "min": 0,
      "definition": "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.",
      "short": "Reference to a contra-indication that is the basis for this error",
      "comments": "Operation Outcome records are transient items that are returned in response to specific interactions or operations. Contraindications are items that can be stored in the paitient's records as reasons that things were not done (or done). This extensions allows a transient operation outcome to refer to a persistent entry in the patient record as the basis for the outcome.",
      "max": "1",
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror",
      "condition": [ "ele-1" ],
      "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.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "extension",
      "max": "0",
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.extension:extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.url",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Extension.valueReference",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
      } ],
      "max": "1",
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.valueReference",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    } ]
  },
  "status": "draft",
  "id": "5f07c5e7-c235-4604-a440-6ed07fe87394",
  "kind": "complex-type",
  "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue",
  "context": [ "OperationOutcome.issue" ],
  "version": null,
  "differential": {
    "element": [ {
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror",
      "max": "1",
      "min": 0,
      "path": "Extension",
      "short": "Reference to a contra-indication that is the basis for this error",
      "comments": "Operation Outcome records are transient items that are returned in response to specific interactions or operations. Contraindications are items that can be stored in the paitient's records as reasons that things were not done (or done). This extensions allows a transient operation outcome to refer to a persistent entry in the patient record as the basis for the outcome.",
      "definition": "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes."
    }, {
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.extension:extension",
      "max": "0",
      "path": "Extension.extension",
      "sliceName": "extension"
    }, {
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.url",
      "path": "Extension.url",
      "type": [ {
        "code": "uri"
      } ],
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"
    }, {
      "id": "Extension:referencetoacontra-indicationthatisthebasisforthiserror.value[x]",
      "min": 1,
      "path": "Extension.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
      } ]
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/special/committees/FHIR",
      "system": "url"
    } ]
  } ],
  "contextType": "resource",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}