IPrimeSuiteAPI REST API Documentation


PatientAllergyUpdate


Method: POST

URI Template: https://api-test.greenwaymedical.com/Integration/RESTv1.0/PrimeSuiteAPIService/Patient/History/PatientAllergyUpdate

Request Format: Xml or Json

Request XML Example (schema):

<?xml version="1.0" encoding="utf-16"?>
<AllergyUpdateRequest>
  <Header>
    <SourceSiteID>String Content</SourceSiteID>
    <DestinationSiteID>String Content</DestinationSiteID>
    <PrimeSuiteUserID>0</PrimeSuiteUserID>
  </Header>
  <Credentials>
    <PrimeSuiteCredential>
      <PrimeSuiteSiteId>String Content</PrimeSuiteSiteId>
      <PrimeSuiteUserName>String Content</PrimeSuiteUserName>
      <PrimeSuiteUserPassword>String Content</PrimeSuiteUserPassword>
      <PrimeSuiteUserAlias>String Content</PrimeSuiteUserAlias>
    </PrimeSuiteCredential>
    <VendorCredential>
      <VendorLogin>String Content</VendorLogin>
      <VendorPassword>String Content</VendorPassword>
    </VendorCredential>
  </Credentials>
  <PatientID>0</PatientID>
  <Modified>0</Modified>
  <Allergy>
    <CurrentInDrFirst>0</CurrentInDrFirst>
    <Reaction>String Content</Reaction>
    <Reactions />
    <DateOnSet>String Content</DateOnSet>
    <PL>String Content</PL>
    <SectionDescription>String Content</SectionDescription>
    <SectionID>0</SectionID>
    <CategoryDescription>String Content</CategoryDescription>
    <Caption>String Content</Caption>
    <CategoryID>0</CategoryID>
    <Code>String Content</Code>
    <CodeSystem>String Content</CodeSystem>
    <CreateDate>0001-01-01T00:00:00</CreateDate>
    <CreateByID>0</CreateByID>
    <HistoryItemID>0</HistoryItemID>
    <LastChangedID>0</LastChangedID>
    <lastChangedName>String Content</lastChangedName>
    <Note>String Content</Note>
    <Problem>
      <ProblemStatus>1001</ProblemStatus>
      <ProblemListID>0</ProblemListID>
      <PatientID>0</PatientID>
      <LastChargedDate>0001-01-01T00:00:00</LastChargedDate>
      <LastChargedByUserID>0</LastChargedByUserID>
      <Section>String Content</Section>
      <DateResolved>String Content</DateResolved>
      <ProblemID>0</ProblemID>
      <Description>String Content</Description>
      <Type>String Content</Type>
      <Category>String Content</Category>
      <Modifiers>0</Modifiers>
    </Problem>
    <HistoryItemCodes>
      <Code>String Content</Code>
      <CodeSystem>String Content</CodeSystem>
    </HistoryItemCodes>
  </Allergy>
</AllergyUpdateRequest>

Request Json Example (schema):

Could not generate example for request. Failed with error: Specified cast is not valid.

Response Format: Xml

Response XML Example (schema):

<?xml version="1.0" encoding="utf-16"?>
<AllergyUpdateResponse>
  <AllergyID>0</AllergyID>
</AllergyUpdateResponse>

Response Format: Json

Response Example (schema):

{
  "AllergyID": 0
}