Linking Locations to Other Resources for use on OpenSRP 2.0 #3034
Closed
dubdabasoduba
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Two high level questions:
But also, can you please give specific examples of what we would be linking? Let's walk through a couple of uses cases and see what that shows us about these options |
Beta Was this translation helpful? Give feedback.
0 replies
-
Based on the use cases given above;
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Linking Locations to Other Resources for use on OpenSRP 2.0
Location
resources containing valid coordinates or GeoJson objects.Location
resources often require association with other resources for data extraction. Two specific instances are highlighted:Link using the
List
resourceList
resource has several properties facilitating the linkage of the location to various resources. The utilization of the following attributes is integral:identifier
: This attribute retains the identifier of the List resource.status
: It signifies the status of the link. If designated as current, the link is considered active; if marked as retired, the link is inactive.title
: This property holds the list title, which may be a composite of the Location and the name of the associated resource.code
: This attribute holds the code used to identify the Resource link List resources.subject
: It preserves the list subject, representing the location intended for linking with other resources.entry
: This property contains a reference to the other resource destined for linkage with the Location resource. The entry itself encompasses the subsequent attributes:flag
: It holds a code facilitating the easy identification of the linked resource.date
: This attribute retains the date when the link was initially created.item
: It stores the reference to the resource intended for linking with the Location resource.Link using the
Linkage
resourceLinkage
resource has several properties that can be used for linking the location with other resources. The process involves leveraging the following key attributes:identifier
: This attribute serves as the repository for the List resource identifier.active
: It functions as the indicator of link status. A value oftrue
denotes an active link, whilefalse
signifies an inactive link.item
: This attribute holds the reference intended for linkage with the Location resource and other resources interconnected with it. Theitem
attribute has following properties:type
: This property stores a code to help with the identification of the Location resource. The assigned type issource
.resource
: It retains the reference to the pertinent resources.Other suggestions that were not considered
Linking via extensions
SearchParameter
resource in the API.Beta Was this translation helpful? Give feedback.
All reactions