{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-08-15T05:23:08.887+00:00"
  },
  "url": "http://phr.kanta.fi/StructureDefinition/Comment",
  "name": "Comment",
  "status": "draft",
  "date": "2017-08-14T06:22:22.327+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.definition",
        "path": "Communication.definition",
        "max": "0"
      },
      {
        "id": "Communication.basedOn",
        "path": "Communication.basedOn",
        "max": "0"
      },
      {
        "id": "Communication.partOf",
        "path": "Communication.partOf",
        "max": "0"
      },
      {
        "id": "Communication.notDone",
        "path": "Communication.notDone",
        "max": "0"
      },
      {
        "id": "Communication.notDoneReason",
        "path": "Communication.notDoneReason",
        "max": "0"
      },
      {
        "id": "Communication.category",
        "path": "Communication.category",
        "max": "0"
      },
      {
        "id": "Communication.medium",
        "path": "Communication.medium",
        "max": "0"
      },
      {
        "id": "Communication.subject",
        "path": "Communication.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3"
          }
        ]
      },
      {
        "id": "Communication.recipient",
        "path": "Communication.recipient",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3"
          }
        ]
      },
      {
        "id": "Communication.context",
        "path": "Communication.context",
        "max": "0"
      },
      {
        "id": "Communication.received",
        "path": "Communication.received",
        "max": "0"
      },
      {
        "id": "Communication.sender",
        "path": "Communication.sender",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3"
          }
        ]
      },
      {
        "id": "Communication.reasonCode",
        "path": "Communication.reasonCode",
        "max": "0"
      },
      {
        "id": "Communication.reasonReference",
        "path": "Communication.reasonReference",
        "max": "0"
      },
      {
        "id": "Communication.note",
        "path": "Communication.note",
        "max": "0"
      },
      {
        "id": "Communication.note.author[x]:authorReference",
        "path": "Communication.note.authorReference",
        "sliceName": "authorReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3"
          }
        ]
      }
    ]
  }
}