{
  "resourceType": "StructureDefinition",
  "id": "76b4dc5d-cab9-42ff-86ea-223a6803e5f9",
  "meta": {
    "versionId": "3",
    "lastUpdated": "2016-12-16T12:58:28.604+00:00"
  },
  "url": "http://helse-nord.no/FHIR/profiles/Workflow.Notification/Organization",
  "name": "Workflow.Notification.Organization",
  "status": "draft",
  "description": "StructureDefinition for the Workflow.Notification Organization resource",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Organization",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Organization",
  "differential": {
    "element": [
      {
        "path": "Organization",
        "type": [
          {
            "code": "Organization"
          }
        ]
      },
      {
        "path": "Organization.identifier",
        "max": "0"
      },
      {
        "path": "Organization.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.coding.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.coding.system",
        "exampleUri": "http://helse-nord.no/fhir/identifiers/senderaddress"
      },
      {
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.coding.code",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.coding.display",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "path": "Organization.identifier.type.text",
        "max": "0",
        "exampleString": "senderaddress"
      },
      {
        "path": "Organization.identifier.system",
        "max": "0",
        "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      },
      {
        "path": "Organization.identifier.value",
        "comments": "The sender address that the CommunicationRequest will utilize. For SMS this value will show as the sender of the SMS.",
        "min": 1,
        "exampleString": "123456"
      },
      {
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "path": "Organization.active",
        "max": "0",
        "defaultValueBoolean": true
      },
      {
        "path": "Organization.type",
        "max": "0"
      },
      {
        "path": "Organization.name",
        "requirements": "Required value needed to identify the organization that sent the notification message",
        "min": 1,
        "meaningWhenMissing": "Is required, so no notification will be sent."
      },
      {
        "path": "Organization.telecom",
        "short": "Notification sender address",
        "definition": "The 'from' address that the notification will be sent from.",
        "comments": "One of these entries should match (not literally) the notification message type defined in the CommunicationRequest.medium element.",
        "requirements": "A sending organziation can supply all its from addresses, and the correct one will be chosen based on the notification medium type."
      },
      {
        "path": "Organization.telecom.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Organization.telecom.system",
        "definition": "Telecommunications type.",
        "comments": "One of the telecommunication entries should match (not literally) the notification message type defined in the CommunicationRequest.medium element. System define communication transfer type, and value define the address that the notification is sent from.",
        "requirements": "To make sure the value matches the notification medium type.",
        "min": 1,
        "meaningWhenMissing": "The value element of that telecom entry willl be ignored.",
        "exampleCode": "phone"
      },
      {
        "path": "Organization.telecom.value",
        "definition": "The from address that is shown when a recipient receives a notifcation.",
        "comments": "One of the telecommunication entries should match (not literally) the notification message type defined in the CommunicationRequest.medium element.",
        "requirements": "To supply the from address when sending a notification message.",
        "min": 1,
        "exampleString": "1234567"
      },
      {
        "path": "Organization.telecom.use",
        "max": "0"
      },
      {
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "path": "Organization.address",
        "max": "0"
      },
      {
        "path": "Organization.partOf",
        "max": "0"
      },
      {
        "path": "Organization.contact",
        "max": "0"
      }
    ]
  }
}