{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/special/committees/FHIR"}]}],"context":["OperationOutcome.issue"],"contextType":"resource","date":"2014-01-31","derivation":"constraint","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.","differential":{"element":[{"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","max":"1","min":0,"path":"Extension","short":"Reference to a contra-indication that is the basis for this error"},{"id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.extension:extension","max":"0","name":"extension","path":"Extension.extension"},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue","id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.url","path":"Extension.url","type":[{"code":"uri"}]},{"id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.value[x]","min":1,"path":"Extension.value[x]","type":[{"code":"Reference","profile":"http://hl7.org/fhir/StructureDefinition/DetectedIssue"}]}]},"display":"Clinical Issue","fhirVersion":"1.6.0","id":"operationoutcome-detectedIssue","kind":"complex-type","mapping":[{"identity":"rim","name":"RIM Mapping","uri":"http://hl7.org/v3"}],"name":"Reference to a contra-indication that is the basis for this error","publisher":"Health Level Seven, Inc. - [WG Name] WG","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"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.","condition":["ele-1"],"constraint":[{"expression":"children().count() > id.count()","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],"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","max":"1","min":0,"path":"Extension","short":"Reference to a contra-indication that is the basis for this error"},{"base":{"max":"*","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.id","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.extension:extension","max":"0","min":0,"name":"extension","path":"Extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"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.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue","id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.url","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"alias":["DDI","drug-drug interaction","Contraindication","Alert"],"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.","id":"Extension:referencetoacontra-indicationthatisthebasisforthiserror.valueReference","mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"v2","map":"Partial mapping from messages containing the AL1 or IAM segment, such as the ADT^A01, ADT^A08, and ADT^A60."},{"identity":"rim","map":"Observation[classCode=ALRT, moodCode=EVN)"},{"identity":"w5","map":"clinical.general"}],"max":"1","min":1,"path":"Extension.valueReference","short":"Clinical issue with action","type":[{"code":"Reference","profile":"http://hl7.org/fhir/StructureDefinition/DetectedIssue"}]}]},"status":"draft","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"}