FHIR docs say:
Each resource may belong to one or more logical compartments
here
On the other hand, it also says that the specs define patient
as a compartment. Does that mean we can only have patient as a compartment or can we have any resource to define a compartment?
eg. organization/{organizationID}/device/{deviceID}
Also, can we have some other noun in the REST call other than the resource name, although we will be exchanging FHIR valid JSON?
eg. instead of organization
, we use facility
(above example) but still exchange the organization resource in JSON.
Any thoughts or suggestions?