POST Organizations/EHRSInsertOrUpdate

Inserts or updates a list of organizations associated with a EHR System.

Request Information

URI Parameters

None.

Body Parameters

OrganizationUpdateEHRsesDTO
NameDescriptionTypeAdditional information
OrganizationID

Gets or set the ID of organization

globally unique identifier

None.

EHRS

Available EHRs

Collection of OrganizationEHRSDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "OrganizationID": "3b8a954d-5caf-4820-b269-a6bfd607f352",
      "EHRS": [
        {
          "OrganizationID": "f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d",
          "Type": 1,
          "System": 0,
          "Other": "sample string 2",
          "StartYear": 1,
          "EndYear": 1,
          "ID": "707fd97b-2f73-4ed0-bdf1-984866625382",
          "Timestamp": "QEA="
        },
        {
          "OrganizationID": "f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d",
          "Type": 1,
          "System": 0,
          "Other": "sample string 2",
          "StartYear": 1,
          "EndYear": 1,
          "ID": "707fd97b-2f73-4ed0-bdf1-984866625382",
          "Timestamp": "QEA="
        }
      ]
    }
  ]
}

text/javascript

Sample:
{"results":[{"OrganizationID":"3b8a954d-5caf-4820-b269-a6bfd607f352","EHRS":[{"OrganizationID":"f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d","Type":1,"System":0,"Other":"sample string 2","StartYear":1,"EndYear":1,"ID":"707fd97b-2f73-4ed0-bdf1-984866625382","Timestamp":"QEA="},{"OrganizationID":"f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d","Type":1,"System":0,"Other":"sample string 2","StartYear":1,"EndYear":1,"ID":"707fd97b-2f73-4ed0-bdf1-984866625382","Timestamp":"QEA="}]}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<OrganizationUpdateEHRsesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <EHRS>
    <OrganizationEHRSDTO>
      <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">707fd97b-2f73-4ed0-bdf1-984866625382</ID>
      <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
      <EndYear>1</EndYear>
      <OrganizationID>f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d</OrganizationID>
      <Other>sample string 2</Other>
      <StartYear>1</StartYear>
      <System>None</System>
      <Type>Inpatient</Type>
    </OrganizationEHRSDTO>
    <OrganizationEHRSDTO>
      <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">707fd97b-2f73-4ed0-bdf1-984866625382</ID>
      <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
      <EndYear>1</EndYear>
      <OrganizationID>f243b44a-3b1d-4ab5-a1e0-e2c7c88def9d</OrganizationID>
      <Other>sample string 2</Other>
      <StartYear>1</StartYear>
      <System>None</System>
      <Type>Inpatient</Type>
    </OrganizationEHRSDTO>
  </EHRS>
  <OrganizationID>3b8a954d-5caf-4820-b269-a6bfd607f352</OrganizationID>
</OrganizationUpdateEHRsesDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.