sendmessage-library
type: Library
node role: treeRoot
id:
  v: sendmessage-library
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Metadata Title Send Message Library Version 2.0.0 Identifier urn:oid:2.16.840.1.113883.4.642.40.48.28.20 Experimental true Jurisdiction World Steward (Publisher) HL7 International / Clinical Decision Support Steward Contact HL7 International / Clinical Decision Support Description Logic for an example recommendation to send a message Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Dependency Description: Code System Task Codes Resource: Task Codes Canonical URL: http://hl7.org/fhir/CodeSystem/task-code Data Requirement Type: Communication Profile(s): Communication Data Requirement Type: Task Profile(s): Task Data Requirement Type: CommunicationRequest Profile(s): CommunicationRequest Parameters Name Use Card. Type Documentation Patient Out 0..1 Patient Inclusion Criteria Out 0..1 boolean Active or Completed Communication Out 0..* Communication Communication Not Done Out 0..* Communication Rejected Task Out 0..* Task Communication Proposal Out 0..* CommunicationRequest Communication Rejected Out 0..* CommunicationRequest Communication Prohibited Out 0..* CommunicationRequest Is Recommendation Applicable Out 0..1 boolean Library Content CQL Content library SendMessage using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' codesystem "Task Codes": 'http://hl7.org/fhir/CodeSystem/task-code' code "fulfill": 'fulfill' from "Task Codes" display 'Fulfill' context Patient /* Recommendation to greet the patient */ /* NOTE: This recommendation is dramatically simplified to illustrate the general pattern for a positive recommendation, with the ability for users to reject the recommendation, and flexibility in how the recommendation is achieved. Specifically: * There is no terminology, any communication request/event on any topic will do * There is no timing, any communication request/event will do at any time * There is no reference to participants other than the patient * There is no relationship to a setting * There is no relationship to an …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: shareable
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: computable
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: publishable
url:
  v: http://hl7.org/fhir/uv/cpg/Library/sendmessage-library
  l: sendmessage-library
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.48.28.20
version:
  v: 2.0.0
name:
  v: SendMessageLibrary
title:
  v: Send Message Library
status:
  v: active
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-06-10T15:28:01+00:00
publisher:
  v: HL7 International / Clinical Decision Support
contact:
  name:
    v: HL7 International / Clinical Decision Support
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/dss
description:
  v: Logic for an example recommendation to send a message
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
related artifact:
  type:
    v: depends-on
  display:
    v: Code System Task Codes
  resource:
    v: http://hl7.org/fhir/CodeSystem/task-code
    l: task-code
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Inclusion Criteria
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Active or Completed Communication
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Communication
parameter:
  name:
    v: Communication Not Done
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Communication
parameter:
  name:
    v: Rejected Task
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Task
parameter:
  name:
    v: Communication Proposal
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: CommunicationRequest
parameter:
  name:
    v: Communication Rejected
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: CommunicationRequest
parameter:
  name:
    v: Communication Prohibited
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: CommunicationRequest
parameter:
  name:
    v: Is Recommendation Applicable
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
data requirement:
  type:
    v: Communication
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Communication
    l: Communication
data requirement:
  type:
    v: Communication
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Communication
    l: Communication
data requirement:
  type:
    v: Task
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Task
    l: Task

type:
  v: CommunicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  l: CommunicationRequest

type:
  v: CommunicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  l: CommunicationRequest

type:
  v: CommunicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  l: CommunicationRequest

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json