Child pages
  • Observation Resource

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Read (GET Request)
URLDescription
 /ws/fhir/Observation/{id}Returns a FHIR Observation resource identified by a Observation UUID

Outcomes:

  • Returns a FHIR Observation resource if the specified Observation exists
  • Returns an Operation Outcome resource with a 404 error message if the specified Observation does not exist
Search (GET Request)
URLDescription
 /ws/fhir/Observation?_id={id}This request will fetch all Observations using the given id value. This will return a List of Observation as the response. Here _id parameter represents, the logical resource id associated with the resource.
  /ws/fhir/Observation?subject:Patient={id}&code={code}This request will fetch all Observations using the given patient id and the concept name that in the Observation. This will return a List of Observation as the response. Here subject:Patient parameter represents the subject that the observation is about and name parameter represents the concept name that in the Observation.
 /ws/fhir/Observation?code={code}This request will fetch all Observations using the name of the concept that in the Observation. This will return a List of Observation as the response. Here name parameter represents the concept that in the Observation
/ws/fhir/Observation?date={date}This request will fetch all Observations using the given observation date value. This will return a List of Observation as the response. Here date parameter represents the time that the observation is most relevant as an observation of the subject
/ws/fhir/Observation?subject:Patient={id}This request will fetch all Observations using the given patient id. This will return a List of Observation as the response. Here subject:Patient parameter represents the subject that the observation is about.
/ws/fhir/Observation?value-concept={value}This request will fetch all Observations using the given value of the observation. This will return a List of Observation as the response. Here value-concept parameter represents the value of the observation, if the value is a CodeableConcept.
/ws/fhir/Observation?patient.identifier={identifier}This request will fetch all Observations using the given patient's identifier. This will return a List of Observations ( 0..* Observations ) as the response. Here the identifier parameter represents a patient identifier.
Delete (DELETE request)
URLDescription
 /ws/fhir/Observation/{id}This request will delete the observation of given id. It will return Method Outcome with appropriate error codes.
POST(Post Request)
URLDescription
 /ws/fhir/ObservationCreate a Observation Resource for the given representation.
PUT(Update Request)
URLDescription
 /ws/fhir/Observation/{id}
  • If the Observation with the given uuid exists, update the existing attributes according to the representation.
  • If the Observation with the given uuid doesn't exists, Create a Observation Resource with the given uuid.