Objects and Web Services |
Top Previous Next |
What is an object?
In EMUE, for simple data representation we use variables or lists. Variables contain a single value. Lists contain rows and columns of data.
Objects are a way to represent complex data. An object might contain a combination of structures like variables and structures like lists. In objects those structures (variables and lists) are referred to as properties and collections. An object could also contain other objects.
Objects also have methods. Methods allow the objects to perform functions.
Example:
Imagine your car as an object. A car has properties such as color, make, model, year, etc.
Cars can also do things such as accelerate and brake. Those actions would be methods.
What are web services?
Web services are a way of transferring information. Think of when you go to a web site and you see information displayed on the screen. It's presented in a way that you as a human can consume it. Web pages are meant for humans and web services are meant for computers. Computers do not need to be able to read like people read. Web services present the data in a way that's readable to a computer. It's a faster way to transfer data between applications. For healthcare interoperability, think the FHIR standard.
See Also: |