Versions Compared

Key

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

...

Note that the patientID has to be url encoded. See Save Encounter (MHD section) for details on this.

...

Code Block
languagejs
{
  "updated": "2014-10-09T12:34:28Z",
  "self": "https://him-server/ws/rest/v1/registration/net.ihe/DocumentDossier/search?PatientID=${pid}7612241234567%5e%5e%5eZAF%5eNI",
  "entries": [
    {
      "id": "urn:uuid:d1329e63-0408-4f45-b5ba-35f9afa72a94",
      "self": "https://him-server/ws/rest/v1/registration/net.ihe/DocumentDossier/d1329e63-0408-4f45-b5ba-35f9afa72a94/?PatientID=7612241234567%5e%5e%5eZAF%5eNI",
      "related": "https://him-server/ws/rest/v1/registration/net.ihe/Document/d1329e63-0408-4f45-b5ba-35f9afa72a94/?PatientID=7612241234567%5e%5e%5eZAF%5eNI",
      "updated": "2014-04-12T15:00:11Z"
    },
    {
      "id": "urn:uuid:c0f1c318-7dd9-4338-af3f-4fc36d1bcce4",
      "self": "https://him-server/ws/rest/v1/registration/net.ihe/DocumentDossier/c0f1c318-7dd9-4338-af3f-4fc36d1bcce4/?PatientID=7612241234567%5e%5e%5eZAF%5eNI",
      "related": "https://him-server/ws/rest/v1/registration/net.ihe/Document/c0f1c318-7dd9-4338-af3f-4fc36d1bcce4/?PatientID=7612241234567%5e%5e%5eZAF%5eNI",
      "updated": "2014-07-24T11:32:26Z"
    }
  ]
}

...

The Get Document transaction can be used to retrieve a specific encounter using their entryUUID as a reference. In addition the patientID also needs to be specified, and a document will not be returned if the patientID does not match the id linked to the document. See Save Encounter for reference on where the entryUUID comes from, as well as for details on how the patientID needs to be specified (see the MHD section).

...