Skip to content

Commit

Permalink
Update for supporting multiple email addresses
Browse files Browse the repository at this point in the history
Update for supporting multiple email addresses in the `email` field, see issue #148 .
  • Loading branch information
fschiettecatte authored Sep 26, 2017
1 parent d3d77d3 commit b6f13bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions search-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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*
Expand Down

0 comments on commit b6f13bb

Please sign in to comment.