{
  "resourceType": "StructureDefinition",
  "id": "srx-fhir-profile-communication",
  "meta": {
    "versionId": "9",
    "lastUpdated": "2018-04-30T00:52:49.859+00:00"
  },
  "url": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-communication",
  "name": "srx-fhir-profile-communication",
  "status": "draft",
  "date": "2017-11-27T21:07:02.423+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Communication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Communication.id",
        "path": "Communication.id",
        "max": "0"
      },
      {
        "id": "Communication.meta",
        "path": "Communication.meta",
        "min": 1
      },
      {
        "id": "Communication.meta.id",
        "path": "Communication.meta.id",
        "max": "0"
      },
      {
        "id": "Communication.meta.versionId",
        "path": "Communication.meta.versionId",
        "max": "0"
      },
      {
        "id": "Communication.meta.lastUpdated",
        "path": "Communication.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Communication.meta.profile",
        "path": "Communication.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.meta.security",
        "path": "Communication.meta.security",
        "max": "0"
      },
      {
        "id": "Communication.meta.tag",
        "path": "Communication.meta.tag",
        "max": "0"
      },
      {
        "id": "Communication.implicitRules",
        "path": "Communication.implicitRules",
        "max": "0"
      },
      {
        "id": "Communication.language",
        "path": "Communication.language",
        "max": "0"
      },
      {
        "id": "Communication.text",
        "path": "Communication.text",
        "max": "0"
      },
      {
        "id": "Communication.contained",
        "path": "Communication.contained",
        "max": "0"
      },
      {
        "id": "Communication.identifier",
        "path": "Communication.identifier",
        "max": "0"
      },
      {
        "id": "Communication.definition",
        "path": "Communication.definition",
        "max": "0"
      },
      {
        "id": "Communication.basedOn",
        "path": "Communication.basedOn",
        "max": "0"
      },
      {
        "id": "Communication.partOf",
        "path": "Communication.partOf",
        "max": "0"
      },
      {
        "id": "Communication.status",
        "path": "Communication.status",
        "fixedCode": "completed",
        "example": [
          {
            "label": "Communication status example",
            "valueCode": "completed"
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Communication.notDone",
        "path": "Communication.notDone",
        "max": "0"
      },
      {
        "id": "Communication.notDoneReason",
        "path": "Communication.notDoneReason",
        "max": "0"
      },
      {
        "id": "Communication.category",
        "path": "Communication.category",
        "definition": "The type of message conveyed such  target drug found in patient's history, preferred drug found in patient's history, etc.",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CommunicationCategory"
            }
          ],
          "strength": "required",
          "description": "Communication category",
          "valueSetUri": "http://fhir-es.transcendinsights.com/stu3/ValueSet/srx-communication-category"
        }
      },
      {
        "id": "Communication.category.id",
        "path": "Communication.category.id",
        "max": "0"
      },
      {
        "id": "Communication.category.coding",
        "path": "Communication.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.category.coding.id",
        "path": "Communication.category.coding.id",
        "max": "0"
      },
      {
        "id": "Communication.category.coding.system",
        "path": "Communication.category.coding.system",
        "min": 1,
        "fixedUri": "http://fhir-es.transcendinsights.com/stu3/ValueSet/srx-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,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir-es.transcendinsights.com/stu3/ValueSet/srx-communication-category"
        }
      },
      {
        "id": "Communication.category.coding.userSelected",
        "path": "Communication.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Communication.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Communication.category.text",
        "max": "0"
      },
      {
        "id": "Communication.medium",
        "path": "Communication.medium",
        "max": "0"
      },
      {
        "id": "Communication.subject",
        "path": "Communication.subject",
        "max": "0"
      },
      {
        "id": "Communication.recipient",
        "path": "Communication.recipient",
        "max": "0"
      },
      {
        "id": "Communication.topic",
        "path": "Communication.topic",
        "max": "0"
      },
      {
        "id": "Communication.context",
        "path": "Communication.context",
        "max": "0"
      },
      {
        "id": "Communication.sent",
        "path": "Communication.sent",
        "max": "0"
      },
      {
        "id": "Communication.received",
        "path": "Communication.received",
        "max": "0"
      },
      {
        "id": "Communication.sender",
        "path": "Communication.sender",
        "max": "0"
      },
      {
        "id": "Communication.reasonCode",
        "path": "Communication.reasonCode",
        "max": "0"
      },
      {
        "id": "Communication.reasonReference",
        "path": "Communication.reasonReference",
        "max": "0"
      },
      {
        "id": "Communication.payload",
        "path": "Communication.payload",
        "definition": "The content of the communication.",
        "comment": "If the paylod is a reference to a drug claim, then there must be a second paylod element with either the Med-Name value or the Med-ID value.",
        "mustSupport": false
      },
      {
        "id": "Communication.payload.id",
        "path": "Communication.payload.id",
        "max": "0"
      },
      {
        "id": "Communication.payload.content[x]",
        "path": "Communication.payload.content[x]",
        "definition": "A communicated  content: etiher a reference to a FHIR resource, or a string with the MED-ID or MED-NAME.",
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Communication.note",
        "path": "Communication.note",
        "max": "0"
      }
    ]
  }
}