Looking at the Resource Content at http://www.hl7.org/fhir/account.html, it appears that the “subject” key is listed as an Array of References, however, in the JSON schema downloaded from http://hl7.org/fhir/2018May/validation.html, in “Account.schema.json” the subject key appears to be just a single Reference.
The site displays it as:
While the “Account.schema.json” file displays it as
“subject”: {
“description”: “Identifies the patient, device, practitioner, location or other object the account is associated with.”,
“$ref”: “Reference.schema.json#/definitions/Reference”
}
Im not sure which of these two definitions is correct. For example if the json were to be identical to the definition on the website, then it would look like:
"subject": {
"description": "the description",
"type": "array",
"items": {
"$ref": "Reference.schema.json#/definitions/Reference"
}
}
Is anyone able to provide clarification on this subject?