3. Get patient list

GET https://api-{{tenant-id}}.developer.commure.com/api/v1/r4/Group/{{group-id}}

With the CareTeam resources retrieved, the client application can use the linked Group resource to retrieve and display the patients in the group. A reference to the Patient resource is found in the Group resource in the field member, and a reference to the Group resource is found in the CareTeam resource in the field subject.

We are going to retrieve the Group resource.

RESPONSES

status: OK

{"resourceType":"Group","id":"group-id","meta":{"extension":[{"extension":[{"url":"clientname","valueString":"data_uploader"},{"url":"person","valueReference":{"reference":"Person/person-id"}}],"url":"https://commure.com/fhir/provenance/StructureDefinition/creator-structure-map"}],"versionId":"9b2764d2-e5eb-4972-adf3-3a063f6acb4b","lastUpdated":"2020-10-19T15:23:45.474573+00:00"},"identifier":[{"system":"https://vetmed.iastate.edu/vdl","value":"20171120-1234"}],"active":true,"type":"person","actual":true,"name":"second floor","member":[{"entity":{"reference":"Patient/patient-id-1"},"period":{"start":"2014-10-08"}},{"entity":{"reference":"Patient/patient-id-2"},"period":{"start":"2014-10-08"}}]}