{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.synapxe.sg/StructureDefinition/profile-communication",
  "name": "Communication",
  "status": "active",
  "description": "This resource defines the communication alert for the remote clinical monitoring of the patient. Details like the type of alert and the patient id will be used. The observation id will also be stored depending on the alert code (i.e \"Threshold\" and \"Missed Read\").",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Communication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Communication.identifier",
        "path": "Communication.identifier",
        "max": "0"
      },
      {
        "id": "Communication.instantiatesCanonical",
        "path": "Communication.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "Communication.instantiatesUri",
        "path": "Communication.instantiatesUri",
        "max": "0"
      },
      {
        "id": "Communication.basedOn",
        "path": "Communication.basedOn",
        "max": "0"
      },
      {
        "id": "Communication.partOf",
        "path": "Communication.partOf",
        "max": "0"
      },
      {
        "id": "Communication.inResponseTo",
        "path": "Communication.inResponseTo",
        "max": "0"
      },
      {
        "id": "Communication.statusReason",
        "path": "Communication.statusReason",
        "max": "0"
      },
      {
        "id": "Communication.category",
        "path": "Communication.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.category.coding",
        "path": "Communication.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.category.coding.system",
        "path": "Communication.category.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/communication-category"
      },
      {
        "id": "Communication.category.coding.version",
        "path": "Communication.category.coding.version",
        "max": "0"
      },
      {
        "id": "Communication.category.coding.code",
        "path": "Communication.category.coding.code",
        "min": 1,
        "fixedCode": "alert"
      },
      {
        "id": "Communication.category.coding.display",
        "path": "Communication.category.coding.display",
        "max": "0"
      },
      {
        "id": "Communication.category.coding.userSelected",
        "path": "Communication.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Communication.category.text",
        "path": "Communication.category.text",
        "max": "0"
      },
      {
        "id": "Communication.priority",
        "path": "Communication.priority",
        "max": "0"
      },
      {
        "id": "Communication.medium",
        "path": "Communication.medium",
        "max": "0"
      },
      {
        "id": "Communication.subject",
        "path": "Communication.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.synapxe.sg/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "Communication.subject.reference",
        "path": "Communication.subject.reference",
        "min": 1
      },
      {
        "id": "Communication.subject.type",
        "path": "Communication.subject.type",
        "max": "0"
      },
      {
        "id": "Communication.subject.identifier",
        "path": "Communication.subject.identifier",
        "max": "0"
      },
      {
        "id": "Communication.subject.display",
        "path": "Communication.subject.display",
        "max": "0"
      },
      {
        "id": "Communication.topic",
        "path": "Communication.topic",
        "max": "0"
      },
      {
        "id": "Communication.about",
        "path": "Communication.about",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.synapxe.sg/StructureDefinition/profile-observation"
            ]
          }
        ]
      },
      {
        "id": "Communication.about.reference",
        "path": "Communication.about.reference",
        "min": 1
      },
      {
        "id": "Communication.about.type",
        "path": "Communication.about.type",
        "max": "0"
      },
      {
        "id": "Communication.about.identifier",
        "path": "Communication.about.identifier",
        "max": "0"
      },
      {
        "id": "Communication.about.display",
        "path": "Communication.about.display",
        "max": "0"
      },
      {
        "id": "Communication.encounter",
        "path": "Communication.encounter",
        "max": "0"
      },
      {
        "id": "Communication.sent",
        "path": "Communication.sent",
        "min": 1
      },
      {
        "id": "Communication.received",
        "path": "Communication.received",
        "max": "0"
      },
      {
        "id": "Communication.recipient",
        "path": "Communication.recipient",
        "max": "0"
      },
      {
        "id": "Communication.sender",
        "path": "Communication.sender",
        "max": "0"
      },
      {
        "id": "Communication.reason",
        "path": "Communication.reason",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.reason.concept",
        "path": "Communication.reason.concept",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The communication alert codes used in RCM.",
          "valueSet": "http://fhir.synapxe.sg/ValueSet/rcm-communication-alert-codes"
        }
      },
      {
        "id": "Communication.reason.concept.coding",
        "path": "Communication.reason.concept.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.reason.concept.coding.system",
        "path": "Communication.reason.concept.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.synapxe.sg/CodeSystem/rcm-communication-alert-codes"
      },
      {
        "id": "Communication.reason.concept.coding.version",
        "path": "Communication.reason.concept.coding.version",
        "max": "0"
      },
      {
        "id": "Communication.reason.concept.coding.code",
        "path": "Communication.reason.concept.coding.code",
        "min": 1
      },
      {
        "id": "Communication.reason.concept.coding.display",
        "path": "Communication.reason.concept.coding.display",
        "max": "0"
      },
      {
        "id": "Communication.reason.concept.coding.userSelected",
        "path": "Communication.reason.concept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Communication.reason.concept.text",
        "path": "Communication.reason.concept.text",
        "max": "0"
      },
      {
        "id": "Communication.reason.reference",
        "path": "Communication.reason.reference",
        "max": "0"
      },
      {
        "id": "Communication.payload",
        "path": "Communication.payload",
        "max": "0"
      },
      {
        "id": "Communication.note",
        "path": "Communication.note",
        "max": "0"
      }
    ]
  }
}