STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Orderset-example.json

Raw JSON (canonical form)

Example of orderset

{
  "resourceType": "OrderSet",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>Low Suicide Risk Order Set...</div>"
  },
  "contained": [
    {
      "resourceType": "ReferralRequest",
      "id": "referralRequest",
      "status": "active",
      "category": "request",
      "type": {
        "coding": [
          {
            "code": "306206005",
            "_code": {
              "fhir_comments": [
                "  Error: Connection to http://localhost:960 refused  ",
                " <system value=\"http://snomed.info/sct\"/> "
              ]
            }
          }
        ]
      },
      "specialty": {
        "coding": [
          {
            "code": "261QM0850X",
            "_code": {
              "fhir_comments": [
                "  Error: Connection to http://localhost:960 refused  ",
                " <system value=\"urn:oid:2.16.840.1.113883.11.19465\"/> ",
                "  NUCC Provider Codes  "
              ]
            }
          }
        ]
      },
      "description": "refer to primary care-mental health integrated care program for evaluation and treatment of mental health conditions now",
      "serviceRequested": [
        {
          "coding": [
            {
              "code": "385893007",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "resourceType": "MedicationOrder",
      "id": "citalopramPrescription",
      "medicationReference": {
        "reference": "#citalopramMedication"
      },
      "dosageInstruction": [
        {
          "text": "1 tablet oral 1 time daily",
          "timing": {
            "repeat": {
              "frequency": 1,
              "period": 1,
              "periodUnit": "d"
            }
          },
          "route": {
            "coding": [
              {
                "code": "26643006",
                "_code": {
                  "fhir_comments": [
                    "  Error: Connection to http://localhost:960 refused  ",
                    " <system value=\"http://snomed.info/sct\"/> "
                  ]
                },
                "display": "Oral route (qualifier value)"
              }
            ],
            "text": "Oral route (qualifier value)"
          },
          "doseQuantity": {
            "value": 1,
            "unit": "{tbl}"
          }
        }
      ],
      "dispenseRequest": {
        "numberOfRepeatsAllowed": 3,
        "quantity": {
          "value": 30,
          "unit": "{tbl}"
        }
      }
    },
    {
      "resourceType": "Medication",
      "id": "citalopramMedication",
      "code": {
        "coding": [
          {
            "code": "200371",
            "_code": {
              "fhir_comments": [
                "  Error: Connection to http://localhost:960 refused  ",
                " <system value=\"http://www.nlm.nih.gov/research/umls/rxnorm\"/> "
              ]
            }
          }
        ],
        "text": "citalopram"
      },
      "product": {
        "form": {
          "coding": [
            {
              "code": "385055001",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Tablet dose form"
            }
          ],
          "text": "Tablet dose form"
        },
        "ingredient": [
          {
            "itemReference": {
              "reference": "#citalopramSubstance"
            },
            "amount": {
              "numerator": {
                "value": 20,
                "unit": "mg"
              },
              "denominator": {
                "value": 1,
                "unit": "{tbl}"
              }
            }
          }
        ]
      }
    },
    {
      "resourceType": "Substance",
      "id": "citalopramSubstance",
      "code": {
        "coding": [
          {
            "code": "2556",
            "_code": {
              "fhir_comments": [
                "  Error: Connection to http://localhost:960 refused  ",
                " <system value=\"http://www.nlm.nih.gov/research/umls/rxnorm\"/> "
              ]
            }
          }
        ],
        "text": "citalopram"
      }
    }
  ],
  "moduleMetadata": {
    "identifier": [
      {
        "use": "official",
        "value": "mmi:low-suicide-risk-order-set"
      }
    ],
    "version": "1.0.0",
    "title": "Low Suicide Risk Order Set",
    "type": "order-set",
    "status": "draft",
    "description": "...",
    "publicationDate": "2015-08-15",
    "coverage": [
      {
        "focus": {
          "code": "patient-age-group"
        },
        "value": {
          "coding": [
            {
              "code": "133936004",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Adult"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "clinical-focus"
        },
        "value": {
          "coding": [
            {
              "code": "87512008",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Mild major depression"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "clinical-focus"
        },
        "value": {
          "coding": [
            {
              "code": "40379007",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Major depression, recurrent, mild"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "clinical-focus"
        },
        "value": {
          "coding": [
            {
              "code": "394687007",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Low suicide risk"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "clinical-focus"
        },
        "value": {
          "coding": [
            {
              "code": "225337009",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Suicide risk assessment"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "clinical-venue"
        },
        "value": {
          "coding": [
            {
              "code": "440655000",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Outpatient environment"
            }
          ]
        }
      },
      {
        "focus": {
          "code": "target-user"
        },
        "value": {
          "coding": [
            {
              "code": "309343006",
              "_code": {
                "fhir_comments": [
                  "  Error: Connection to http://localhost:960 refused  ",
                  " <system value=\"http://snomed.info/sct\"/> "
                ]
              },
              "display": "Physician"
            }
          ]
        }
      }
    ],
    "topic": [
      {
        "text": "Chlamydia Screeening"
      }
    ],
    "contributor": [
      {
        "type": "author",
        "name": "Motive Medical Intelligence",
        "contact": [
          {
            "telecom": [
              {
                "system": "phone",
                "value": "415-362-4007",
                "use": "work"
              },
              {
                "system": "email",
                "value": "info@motivemi.com",
                "use": "work"
              }
            ]
          }
        ]
      }
    ],
    "publisher": "Motive Medical Intelligence",
    "contact": [
      {
        "telecom": [
          {
            "system": "phone",
            "value": "415-362-4007",
            "use": "work"
          },
          {
            "system": "email",
            "value": "info@motivemi.com",
            "use": "work"
          }
        ]
      }
    ]
  },
  "library": [
    {
      "reference": "Library/mmi-suiciderisk-orderset-logic"
    }
  ],
  "action": [
    {
      "fhir_comments": [
        "  Actions  ",
        "  Suicide Risk Assessment and Outpatient Management  "
      ],
      "title": "Suicide Risk Assessment and Outpatient Management",
      "action": [
        {
          "fhir_comments": [
            "  Consults and Referrals  "
          ],
          "title": "Consults and Referrals",
          "behavior": [
            {
              "type": {
                "code": "grouping-behavior"
              },
              "value": {
                "code": "logical-group"
              }
            },
            {
              "type": {
                "code": "selection-behavior"
              },
              "value": {
                "code": "any"
              }
            }
          ],
          "action": [
            {
              "textEquivalent": "Refer to outpatient mental health program for evaluation and treatment of mental health conditions now",
              "_textEquivalent": {
                "fhir_comments": [
                  "  Refer to outpatient mental health program for evaluation and treatment of mental health conditions now  "
                ]
              },
              "resource": {
                "reference": "#referralRequest"
              },
              "customization": [
                {
                  "path": "fulfillmentTime",
                  "expression": "ReferralRequestFulfillmentTime"
                },
                {
                  "path": "patient",
                  "expression": "Patient"
                },
                {
                  "path": "requester",
                  "expression": "Practitioner"
                },
                {
                  "path": "reason",
                  "expression": "RiskAssessmentScore"
                },
                {
                  "path": "supportingInformation",
                  "expression": "RiskAssessment"
                }
              ]
            }
          ]
        },
        {
          "fhir_comments": [
            "  Medications  "
          ],
          "title": "Medications",
          "behavior": [
            {
              "type": {
                "code": "grouping-behavior"
              },
              "value": {
                "code": "logical-group"
              }
            },
            {
              "type": {
                "code": "selection-behavior"
              },
              "value": {
                "code": "at-most-one"
              }
            }
          ],
          "action": [
            {
              "title": "First-Line Antidepressants",
              "_title": {
                "fhir_comments": [
                  "  First-Line Antidepressants  "
                ]
              },
              "supportingEvidence": [
                {
                  "contentType": "text/html",
                  "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf",
                  "title": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder"
                }
              ],
              "behavior": [
                {
                  "type": {
                    "code": "grouping-behavior"
                  },
                  "value": {
                    "code": "logical-group"
                  }
                },
                {
                  "type": {
                    "code": "selection-behavior"
                  },
                  "value": {
                    "code": "at-most-one"
                  }
                }
              ],
              "action": [
                {
                  "title": "Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for exception)",
                  "_title": {
                    "fhir_comments": [
                      "  Selective Serotonin Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)  "
                    ]
                  },
                  "documentation": [
                    {
                      "contentType": "text/html",
                      "url": "http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6daeb45c-451d-b135-bf8f-2d6dff4b6b01",
                      "title": "National Library of Medicine. DailyMed website. CITALOPRAM- citalopram hydrobromide tablet, film coated."
                    }
                  ],
                  "behavior": [
                    {
                      "type": {
                        "code": "grouping-behavior"
                      },
                      "value": {
                        "code": "logical-group"
                      }
                    },
                    {
                      "type": {
                        "code": "selection-behavior"
                      },
                      "value": {
                        "code": "at-most-one"
                      }
                    }
                  ],
                  "action": [
                    {
                      "textEquivalent": "citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)",
                      "_textEquivalent": {
                        "fhir_comments": [
                          "  citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)  "
                        ]
                      },
                      "resource": {
                        "reference": "#citalopramPrescription"
                      }
                    },
                    {
                      "fhir_comments": [
                        "  Follows pattern established above  "
                      ],
                      "textEquivalent": "escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)",
                      "_textEquivalent": {
                        "fhir_comments": [
                          "  escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)  "
                        ]
                      }
                    },
                    {
                      "fhir_comments": [
                        "  Follows pattern established above  "
                      ],
                      "textEquivalent": "fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)",
                      "_textEquivalent": {
                        "fhir_comments": [
                          "  fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)  "
                        ]
                      }
                    },
                    {
                      "fhir_comments": [
                        "  Follows pattern established above  "
                      ],
                      "textEquivalent": "paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)",
                      "_textEquivalent": {
                        "fhir_comments": [
                          "  paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)  "
                        ]
                      }
                    },
                    {
                      "fhir_comments": [
                        "  Follows pattern established above  "
                      ],
                      "textEquivalent": "sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)",
                      "_textEquivalent": {
                        "fhir_comments": [
                          "  sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)  "
                        ]
                      }
                    }
                  ]
                },
                {
                  "fhir_comments": [
                    "  Follows pattern established above  "
                  ],
                  "textEquivalent": "Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)",
                  "_textEquivalent": {
                    "fhir_comments": [
                      "  Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)  "
                    ]
                  }
                },
                {
                  "fhir_comments": [
                    "  Follows pattern established above  "
                  ],
                  "textEquivalent": "Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)",
                  "_textEquivalent": {
                    "fhir_comments": [
                      "  Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)  "
                    ]
                  }
                },
                {
                  "fhir_comments": [
                    "  Follows pattern established above  "
                  ],
                  "textEquivalent": "Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)",
                  "_textEquivalent": {
                    "fhir_comments": [
                      "  Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)  "
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.