GET Procedures

Developer Tools

GET api/v1/{EMRSystem}/Procedures

Returns past and future Procedures for a given patient.

HTTP Method

GET

Applicable Emissary Products

Chart Retrieval
Clinical Analytics
Interactive Workflow

Allscripts

Released

Athena

Released

Cerner

Released

Meditech

Released

Sandbox

In Dev

Don't see the data field you are looking for?

Request Information

URI Parameters

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

EMRSystem

The emr system.

EMRsystem

Required

UserId

Gets or sets the user identifier.

string

Required

PatientId

Gets or sets the patient identifier.

string

Required

 
Body Parameters
None
 

Response Information

 
Resource Description
Http response containing Procedures Response View Model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

Procedures

Gets or sets the problems.

Collection of ProcedureViewModel

None.

 
Response Codes

Http Status Code 200 – Returns Sansoro.Shared.SansoroServiceBus.Models.ProceduresResponseViewModel

Http Status Code 400 – Indicates that the request did not contain all the required fields.

Http Status Code 404 – Indicates that the resource to get could not be found.

Http Status Code 500 – Indicates that an internal server error occurred during processing of the request.

Http Status Code 502 – Indicates that a request made to the underlying EMR server could not be completed.

 
Response Formats
Sample Message
Download Json Schema
{
  "Procedures": [
    {
      "ProcedureId": "sample string 1",
      "ProcedureDesc": "sample string 2",
      "ProcedureDateTime": "2018-02-15T15:45:56.7852492Z",
      "PatientId": "sample string 3",
      "EncounterId": "sample string 4",
      "EncounterType": {
        "Id": "sample string 1",
        "Name": "sample string 2"
      },
      "PatientClass": {
        "Id": "sample string 1",
        "Name": "sample string 2"
      },
      "BodyLocation": "sample string 5",
      "ICD9": "sample string 6",
      "ICD10": "sample string 7",
      "SNOMED": "sample string 8",
      "CPT": "sample string 9",
      "PertinentNegative": true,
      "PerformingProviders": [
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        },
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        }
      ],
      "EnteringProviders": [
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        },
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        }
      ],
      "Comments": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "ProcedureId": "sample string 1",
      "ProcedureDesc": "sample string 2",
      "ProcedureDateTime": "2018-02-15T15:45:56.7852492Z",
      "PatientId": "sample string 3",
      "EncounterId": "sample string 4",
      "EncounterType": {
        "Id": "sample string 1",
        "Name": "sample string 2"
      },
      "PatientClass": {
        "Id": "sample string 1",
        "Name": "sample string 2"
      },
      "BodyLocation": "sample string 5",
      "ICD9": "sample string 6",
      "ICD10": "sample string 7",
      "SNOMED": "sample string 8",
      "CPT": "sample string 9",
      "PertinentNegative": true,
      "PerformingProviders": [
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        },
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        }
      ],
      "EnteringProviders": [
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        },
        {
          "ProviderRelationship": "sample string 1",
          "ProviderId": "sample string 2",
          "ProviderName": "sample string 3"
        }
      ],
      "Comments": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}
Sample Message
<ProceduresResponseViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <Procedures xmlns:d2p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
    <d2p1:ProcedureViewModel>
      <d2p1:BodyLocation>sample string 5</d2p1:BodyLocation>
      <d2p1:CPT>sample string 9</d2p1:CPT>
      <d2p1:Comments xmlns:d4p1="https://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:Comments>
      <d2p1:EncounterId>sample string 4</d2p1:EncounterId>
      <d2p1:EncounterType>
        <d2p1:Id>sample string 1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:EncounterType>
      <d2p1:EnteringProviders>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
      </d2p1:EnteringProviders>
      <d2p1:ICD10>sample string 7</d2p1:ICD10>
      <d2p1:ICD9>sample string 6</d2p1:ICD9>
      <d2p1:PatientClass>
        <d2p1:Id>sample string 1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:PatientClass>
      <d2p1:PatientId>sample string 3</d2p1:PatientId>
      <d2p1:PerformingProviders>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
      </d2p1:PerformingProviders>
      <d2p1:PertinentNegative>true</d2p1:PertinentNegative>
      <d2p1:ProcedureDateTime>2018-02-15T09:45:56.7852492-06:00</d2p1:ProcedureDateTime>
      <d2p1:ProcedureDesc>sample string 2</d2p1:ProcedureDesc>
      <d2p1:ProcedureId>sample string 1</d2p1:ProcedureId>
      <d2p1:SNOMED>sample string 8</d2p1:SNOMED>
    </d2p1:ProcedureViewModel>
    <d2p1:ProcedureViewModel>
      <d2p1:BodyLocation>sample string 5</d2p1:BodyLocation>
      <d2p1:CPT>sample string 9</d2p1:CPT>
      <d2p1:Comments xmlns:d4p1="https://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:Comments>
      <d2p1:EncounterId>sample string 4</d2p1:EncounterId>
      <d2p1:EncounterType>
        <d2p1:Id>sample string 1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:EncounterType>
      <d2p1:EnteringProviders>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
      </d2p1:EnteringProviders>
      <d2p1:ICD10>sample string 7</d2p1:ICD10>
      <d2p1:ICD9>sample string 6</d2p1:ICD9>
      <d2p1:PatientClass>
        <d2p1:Id>sample string 1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:PatientClass>
      <d2p1:PatientId>sample string 3</d2p1:PatientId>
      <d2p1:PerformingProviders>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
        <d2p1:ProviderWithRelationshipViewModel>
          <d2p1:ProviderId>sample string 2</d2p1:ProviderId>
          <d2p1:ProviderName>sample string 3</d2p1:ProviderName>
          <d2p1:ProviderRelationship>sample string 1</d2p1:ProviderRelationship>
        </d2p1:ProviderWithRelationshipViewModel>
      </d2p1:PerformingProviders>
      <d2p1:PertinentNegative>true</d2p1:PertinentNegative>
      <d2p1:ProcedureDateTime>2018-02-15T09:45:56.7852492-06:00</d2p1:ProcedureDateTime>
      <d2p1:ProcedureDesc>sample string 2</d2p1:ProcedureDesc>
      <d2p1:ProcedureId>sample string 1</d2p1:ProcedureId>
      <d2p1:SNOMED>sample string 8</d2p1:SNOMED>
    </d2p1:ProcedureViewModel>
  </Procedures>
</ProceduresResponseViewModel>

Submit a Comment

Your email address will not be published. Required fields are marked *

 

Don't see the data field you are looking for?