-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for supporting multiple email addresses
Update for supporting multiple email addresses in the `email` field, see issue #148 .
- Loading branch information
1 parent
d3d77d3
commit b6f13bb
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ After receiving a request, the remote server can respond in one of two ways: | |
"name" : "Full Name", | ||
"institution" : "Contact Institution", | ||
"href" : <URL>, | ||
"email" : "[email protected]", | ||
"email" : "[email protected]"|["[email protected]", "[email protected]"], | ||
"roles" : [ | ||
"clinician"|"researcher"|"patient", | ||
… | ||
|
@@ -126,8 +126,8 @@ After receiving a request, the remote server can respond in one of two ways: | |
* `patient`: The contact person is the patient or a caregiver for the patient | ||
* `href` : A public (no login required) URL for contacting the owner of the patient record to follow up with a match. This must be a valid URL (of the form `<scheme>:<address>`), and could take a number of forms: (***Mandatory***) | ||
* An `HTTP` URL: in this case, the URL could be a contact form which would allow the user to contact the owner of the matched patient. | ||
* A `mailto` URL: in this case, the URL could be a (potentially-anonymized) email address to contact regarding the patient match. It is preferred to use the `email` field for this purpose. | ||
* `email` : A (potentially-anonymized) email address for contacting the owner of the patient record to follow up with a match. (*Optional*) (*since v1.1*) | ||
* A `mailto` URL: in this case, the URL could be a (potentially-anonymized) email address to contact regarding the patient match. It is preferred to use the `email` field for this purpose. The `mailto` RFC (https://tools.ietf.org/html/rfc6068) allows multiple comma-delimited email addresses which should be supported. | ||
* `email` : Either an (potentially-anonymized) email address for contacting the owner of the patient record to follow up with a match (*since v1.1*), or an array of email addresses if there is more than one (*since v1.2*). (*Optional*) | ||
|
||
#### Species | ||
* *Optional* | ||
|