Skip to content
Josh Mandel edited this page May 8, 2016 · 3 revisions

Template

Please use the following template for proposing new hooks:


hook-name-expressed-as-noun-verb

Purpose: (Describe what this hook is for, when it occurs in a user's workflow, and what it returns.)

Contextual data: (Describe the set of contextual data required for this hook)

{
  "name": "context",
  "resource": {Example of contextual data}
}

Catalog of proposals


code-view

Purpose: This hook is for displaying information to the user about a code that is selected, whether they just selected it, or whether someone else already has. One kind of use is as a debugging tool in format viewers/middleware, but the output should be useful for end users in applications who would find it useful to see more information about a code. The output should be whatever information is deemed pertinent for this code

Contextual data:

{
  "name": "context",
  "resource": {
    "resourceType" : "Parameters",
    "parameter" [{
      "name" : "code",
      "value..." : {} // either a Coding or a CodeableConcept
    }]
  }
}

identifier-view

Purpose: This hook is for displaying information to the user about an identifier that is selected, whether they just selected it, or whether someone else already has. One kind of use is as a debugging tool in format viewers/middleware, but the output should be useful for end users in applications who would find it useful to see more information about an identifier. The output should be whatever information is deemed pertinent for the identifier - typically, a human description of the system, and any information that is available at the type

Contextual data:

{
  "name": "context",
  "resource": {
    "resourceType" : "Parameters",
    "parameter" [{
      "name" : "identifier",
      "valueIdentifier" : { ... }
    }]
  }
}

discharge-view

Purpose: This hook is for interacting with systems and applications at the time of discharge of a patient from a hospital or at time of generation of an after visit summary. This could be used to retrieve education materials (e.g., related to problems, procedures, medications) to aid in transitions of care and to enable the patient to better care for themselves.

Contextual data: Could be just about anything. Clinical might include MedicationOrders, Procedures, Conditions (problems). Could also be resources from other categories.

{
  "name": "context",
  "resource": {Example of contextual data}
}