curl --request GET \
--url https://{workspaceId}.clinia.cloud/mdm/v1/collections/{collectionKey}/resources/{resourceId}{
"id": "<string>",
"type": "<string>",
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"identifier": [
{
"id": "<string>",
"system": "<string>",
"value": "<string>",
"use": "<string>",
"period": {
"id": "<string>",
"start": "<string>",
"end": "<string>"
}
}
]
},
"sourceResources": [
{
"id": "<string>",
"type": "<string>",
"data": {},
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"identifier": [
{
"id": "<string>",
"system": "<string>",
"value": "<string>",
"use": "<string>",
"period": {
"id": "<string>",
"start": "<string>",
"end": "<string>"
}
}
],
"source": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"contained": {}
}
],
"relativeIdentities": {}
}Retrieve a unified resource from mdm collection using its id.
curl --request GET \
--url https://{workspaceId}.clinia.cloud/mdm/v1/collections/{collectionKey}/resources/{resourceId}{
"id": "<string>",
"type": "<string>",
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"identifier": [
{
"id": "<string>",
"system": "<string>",
"value": "<string>",
"use": "<string>",
"period": {
"id": "<string>",
"start": "<string>",
"end": "<string>"
}
}
]
},
"sourceResources": [
{
"id": "<string>",
"type": "<string>",
"data": {},
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"identifier": [
{
"id": "<string>",
"system": "<string>",
"value": "<string>",
"use": "<string>",
"period": {
"id": "<string>",
"start": "<string>",
"end": "<string>"
}
}
],
"source": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"contained": {}
}
],
"relativeIdentities": {}
}Key of the collection.
The Unified resource id.. Can also be an identifier with one of the following formats:
- source:{sourceRecordId}:{sourceKey}.{sourceRecordType} (e.g. source:123:mySourceA.clinic). This is useful to fetch a record when knowing its source record id.
- clinia-relative-identity:{value}:{relativeIdentityKey} (e.g. clinia-relative-identity:1:my-relative-identity-col). This is useful to fetch a record when knowing one of its relative identities.
Note: This will only consider relative identities migrated from source records.
A successful response.
is the id of the unified resource.
is the type of the unified resource.
is the metadata of the unified resource.
Show child attributes
Identifiers of the resource.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
The purpose of this identifier.
Time period when identifier was/is in use.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
The start of the period. The boundary is inclusive.
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
is the list of source resources of the unified resource.
Show child attributes
Id of the resource.
Type of the resource.
Dynamic data attributes, based on the resource type.
Show child attributes
Instant of creation of the resource.
Identifiers of the resource.
Note: Combination of source, value and use must be unique.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
The purpose of this identifier.
Time period when identifier was/is in use.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
The start of the period. The boundary is inclusive.
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
The source of the resource.
Last update of the resource.
Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource.
Show child attributes
Show child attributes
Type of the resource.
Show child attributes
Instant of creation of the resource.
Identifiers of the resource.
Note: Combination of source, value and use must be unique.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
The portion of the identifier typically relevant to the user and which is unique within the context of the system.
The purpose of this identifier.
Time period when identifier was/is in use.
Show child attributes
Unique id for the property within a resource (for internal references). This may be any string value that does not contain spaces.
The start of the period. The boundary is inclusive.
The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
The source of the resource.
Last update of the resource.
The relative identities associated with this resource.
Show child attributes
Show child attributes
The logical identifier.
The data contains all of the differentiator properties for this relative identity.
The legacy ids assigned to this relative identity. Legacy ids are old identifiers that were used in the legacy system to identity this set of differentiator values.
Was this page helpful?