Artifact2 Examples

Examples of using the API

REST samples

These following REST examples were all run via Fiddler. For more information on Fiddler and SOAP samples please refer to our Samples page.


JSON GET

http://devs.patient-inquiry.com/artifact2/json/?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

JSON GET (By Since Date)

http://devs.patient-inquiry.com/artifact2/json/01-31-2013?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

JSON GET (By Episode)

http://devs.patient-inquiry.com/artifact2/json/episode/ExternalId?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

Response

    [
  {
    "EpisodeId": 1091,
    "ExternalEpisodeId": "ExternalId",
    "FunctionalAssessments": [
      {
        "CMSFunctionalLimitations": [
          {
            "AskedCurrent": 2,
            "AskedDischarge": 0,
            "Descriptor": "Mobility: walking & moving around functional limitation",
            "GcodeCurrent": "G8978",
            "GcodeDischarge": "G8980",
            "GcodeGoal": "G8979",
            "Id": 1,
            "ShortDescriptor": "Mobility",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 0,
            "AskedDischarge": 0,
            "Descriptor": "Changing & maintaining body position functional limitation",
            "GcodeCurrent": "G8981",
            "GcodeDischarge": "G8983",
            "GcodeGoal": "G8982",
            "Id": 2,
            "ShortDescriptor": "Changing & Maintaining Body Position",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 0,
            "AskedDischarge": 0,
            "Descriptor": "Carrying, moving & handling objects functional limitation",
            "GcodeCurrent": "G8984",
            "GcodeDischarge": "G8986",
            "GcodeGoal": "G8985",
            "Id": 3,
            "ShortDescriptor": "Carrying, Moving & Handling Objects",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 1,
            "AskedDischarge": 0,
            "Descriptor": "Self care functional limitation",
            "GcodeCurrent": "G8987",
            "GcodeDischarge": "G8989",
            "GcodeGoal": "G8988",
            "Id": 4,
            "ShortDescriptor": "Self Care",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 1,
            "AskedDischarge": 0,
            "Descriptor": "Other physical or occupational primary functional limitation",
            "GcodeCurrent": "G8990",
            "GcodeDischarge": "G8992",
            "GcodeGoal": "G8991",
            "Id": 5,
            "ShortDescriptor": "Other PT\/OT Primary",
            "Type": "\u0000"
          }
        ],
        "Descriptor": "Physical FS Primary Measure",
        "FunctionalScoreSummaries": [
          {
            "FunctionalLimitation": 74,
            "FunctionalScore": 26,
            "Label": "Intake",
            "Modifier": {
              "Descriptior": "At least 60 percent but less than 80 percent",
              "Id": 5,
              "LowerBound": 60,
              "Modifier": "CL",
              "UpperBound": 80
            },
            "ScoreType": 0
          }
        ],
        "PredictedChangeSummary": {
          "FunctionalLimitationGoal": 45,
          "FunctionalScoreGoal": 55,
          "Modifier": {
            "Descriptior": "At least 40 percent but less than 60 percent",
            "Id": 4,
            "LowerBound": 40,
            "Modifier": "CK",
            "UpperBound": 60
          },
          "PredictedChange": 29
        },
        "AssessmentAttributes": [
          {
            "Attribute": "Visits",
            "Type": "int",
            "Value": "14"
          },
          {
            "Attribute": "Duration",
            "Type": "int",
            "Value": "44"
          },
          {
            "Attribute": "Revenue",
            "Type": "int",
            "Value": "971"
          },
          {
            "Attribute": "Satisfaction",
            "Type": "decimal",
            "Value": "97.5"
          }
        ],
        "MCII": 13,
        "MDC": 9,
        "PatientResponses": [
          {
            "Indicator": " ",
            "IntakeResponse": "Extreme difficulty or unable to perform",
            "Question": "Walking two blocks",
            "StatusResponse": null
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Quite a bit of difficulty",
            "Question": "Performing light activities around your home",
            "StatusResponse": null
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Quite a bit of difficulty",
            "Question": "Putting on your shoes or socks",
            "StatusResponse": null
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Moderate difficulty",
            "Question": "Walking between rooms",
            "StatusResponse": null
          }
        ],
        "RiskAdjustedStatisticalFOTO": 36,
        "StagingInfo": {
          "CurrentStage": null,
          "FunctionalityPredictions": [
            {
              "Answer": "Moderate difficulty",
              "Question": "Making sharp turns while running fast"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Running on uneven ground"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Running on even ground"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Hopping"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Squatting"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Walking a mile"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "With your usual hobbies, recreational or sporting activities"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Standing for 1 hour"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Performing heavy activities around your home"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Getting up or down 10 stairs (about 1 flight of stairs)"
            },
            {
              "Answer": "No difficulty",
              "Question": "With any of your usual work, housework, or school activities"
            },
            {
              "Answer": "No difficulty",
              "Question": "Walking two blocks"
            },
            {
              "Answer": "No difficulty",
              "Question": "Lifting an object, like a bag of groceries from the floor"
            },
            {
              "Answer": "No difficulty",
              "Question": "Getting into or out of a car"
            },
            {
              "Answer": "No difficulty",
              "Question": "Getting into or out of the bath"
            },
            {
              "Answer": "No difficulty",
              "Question": "Performing light activities around your home"
            },
            {
              "Answer": "No difficulty",
              "Question": "Putting on your shoes or socks"
            },
            {
              "Answer": "No difficulty",
              "Question": "Walking between rooms"
            }
          ],
          "IntakeStage": {
            "Description": "an individual who can walk continuously for distances that are considered reasonable for inside the home but are limited by endurance, strength, or safety to walk in community",
            "Measure": 26,
            "PatientFunctionText": "patient is an independent household ambulator",
            "Stage": 3,
            "Title": "Independent household ambulator"
          },
          "PredictedStage": {
            "Description": "can walk for distances of at least 400 m independently in the community without safety concerns",
            "Measure": 55,
            "PatientFunctionText": "patient is an independent community ambulator",
            "Stage": 5,
            "Title": "Independent community ambulator"
          },
          "RiskAdjustedStage": {
            "Description": "can walk regularly in the home and occasionally in the community",
            "Measure": 36,
            "PatientFunctionText": "patient is a limited community ambulator",
            "Stage": 4,
            "Title": "Limited community ambulator"
          },
          "StagingLevels": [
            {
              "Stage": 1,
              "Title": "Physiological ambulator                                                                                                         "
            },
            {
              "Stage": 2,
              "Title": "Limited household ambulator                                                                                                     "
            },
            {
              "Stage": 3,
              "Title": "Independent household ambulator                                                                                                 "
            },
            {
              "Stage": 4,
              "Title": "Limited community ambulator                                                                                                     "
            },
            {
              "Stage": 5,
              "Title": "Independent community ambulator                                                                                                 "
            },
            {
              "Stage": 6,
              "Title": "Active community ambulator                                                                                                      "
            }
          ]
        }
      }
    ],
    "PQRSClaimsReportingCodes": [
      {
        "Code": "128",
        "Description": "Preventive Care and Screening: Body Mass Index (BMI) Screening and Follow-Up Plan",
        "PQRSItems": [
          {
            "Code": "G8419",
            "Description": "BMI is documented outside of normal limits, no follow up plan documented, no reason given"
          },
          {
            "Code": "G8938",
            "Description": "BMI is documented outside of normal limits, patient pregnant or other medical reason documenting patient is not eligible"
          },
          {
            "Code": "G8417",
            "Description": "Calculated BMI above normal parameters and a follow-up plan was documented"
          }
        ]
      },
      {
        "Code": "154",
        "Description": "Falls: Risk Assessment",
        "PQRSItems": [
          {
            "Code": "CPTII Code 3288F",
            "Description": "Falls risk assessment was documented"
          },
          {
            "Code": "CPTII Code 1100F",
            "Description": "Patient screened for future fall risk: documentation of one fall with injury in the past year"
          },
          {
            "Code": "CPTII Code 1100F",
            "Description": "Patient screened for future fall risk: documentation of one fall with injury in the past year"
          }
        ]
      }
    ],
    "PatientReportedItems": [
      {
        "Attribute": "Patient reports other health problems as",
        "Survey": "Demographics",
        "Type": "string",
        "Value": "Arthritis,    BMI over 30,    High Blood Pressure,    Visual Impairment"
      },
      {
        "Attribute": "BMI",
        "Survey": "Demographics",
        "Type": "string",
        "Value": "35.0   (Height: 56 inches, Weight: 156 lbs)"
      },
      {
        "Attribute": "Exercise prior to onset",
        "Survey": "Demographics",
        "Type": "string",
        "Value": "Patient completed 20 minutes of exercise at least three (3) times a week"
      },
      {
        "Attribute": "Prescription medicine",
        "Survey": "Demographics",
        "Type": "string",
        "Value": "Patient is not taking prescription medicine for this condition"
      },
      {
        "Attribute": "Surgery",
        "Survey": "Demographics",
        "Type": "string",
        "Value": "Patient reports no surgeries for this primary condition"
      },
      {
        "Attribute": "Fear avoidance belief about physical activity",
        "Survey": "Physical Fear",
        "Type": "string",
        "Value": "66(18) Scale: 0-100(0-24)"
      },
      {
        "Attribute": "I should not do physical activities which (might) make my pain worse",
        "Survey": "Fear",
        "Type": "string",
        "Value": "Somewhat Agree"
      },
      {
        "Attribute": "Physical activity might harm me",
        "Survey": "Fear",
        "Type": "string",
        "Value": "Somewhat Agree"
      },
      {
        "Attribute": "I cannot do physical activities which (might) make my pain worse",
        "Survey": "Fear",
        "Type": "string",
        "Value": "Somewhat Agree"
      }
    ],
    "ReportId": 1484,
    "ReportType": 0,
    "RiskAdjustedItems": [
      {
        "Attribute": "Care Type",
        "Type": "string",
        "Value": "Orthopedic"
      },
      {
        "Attribute": "Body Part",
        "Type": "string",
        "Value": "Knee"
      },
      {
        "Attribute": "Severity",
        "Type": "string",
        "Value": "Very Severe  (Intake FS: 26)"
      },
      {
        "Attribute": "Age",
        "Type": "int",
        "Value": "71"
      },
      {
        "Attribute": "Acuity",
        "Type": "string",
        "Value": "0 - 7 days"
      },
      {
        "Attribute": "Gender",
        "Type": "string",
        "Value": "Male\n"
      },
      {
        "Attribute": "Comorbidities",
        "Type": "string",
        "Value": "Four or more\n"
      },
      {
        "Attribute": "Payer",
        "Type": "string",
        "Value": "Medicare B"
      },
      {
        "Attribute": "Fear Avoidance",
        "Type": "string",
        "Value": "Elevated\n"
      },
      {
        "Attribute": "Surgery Status",
        "Type": "string",
        "Value": "None\n"
      }
    ],
    "SurveyDateTimeCompleted": "\/Date(1360169509310-0500)\/",
    "SurveyDateTimeStarted": "\/Date(1360169272783-0500)\/",
    "Visit": 0
  },
  {
    "EpisodeId": 1091,
    "ExternalEpisodeId": "ExternalId",
    "FunctionalAssessments": [
      {
        "CMSFunctionalLimitations": [
          {
            "AskedCurrent": 2,
            "AskedDischarge": 6,
            "Descriptor": "Mobility: walking & moving around functional limitation",
            "GcodeCurrent": "G8978",
            "GcodeDischarge": "G8980",
            "GcodeGoal": "G8979",
            "Id": 1,
            "ShortDescriptor": "Mobility",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 0,
            "AskedDischarge": 2,
            "Descriptor": "Changing & maintaining body position functional limitation",
            "GcodeCurrent": "G8981",
            "GcodeDischarge": "G8983",
            "GcodeGoal": "G8982",
            "Id": 2,
            "ShortDescriptor": "Changing & Maintaining Body Position",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 0,
            "AskedDischarge": 0,
            "Descriptor": "Carrying, moving & handling objects functional limitation",
            "GcodeCurrent": "G8984",
            "GcodeDischarge": "G8986",
            "GcodeGoal": "G8985",
            "Id": 3,
            "ShortDescriptor": "Carrying, Moving & Handling Objects",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 1,
            "AskedDischarge": 0,
            "Descriptor": "Self care functional limitation",
            "GcodeCurrent": "G8987",
            "GcodeDischarge": "G8989",
            "GcodeGoal": "G8988",
            "Id": 4,
            "ShortDescriptor": "Self Care",
            "Type": "\u0000"
          },
          {
            "AskedCurrent": 1,
            "AskedDischarge": 1,
            "Descriptor": "Other physical or occupational primary functional limitation",
            "GcodeCurrent": "G8990",
            "GcodeDischarge": "G8992",
            "GcodeGoal": "G8991",
            "Id": 5,
            "ShortDescriptor": "Other PT\/OT Primary",
            "Type": "\u0000"
          }
        ],
        "Descriptor": "Physical FS Primary Measure",
        "FunctionalScoreSummaries": [
          {
            "FunctionalLimitation": 74,
            "FunctionalScore": 26,
            "Label": "Intake",
            "Modifier": {
              "Descriptior": "At least 60 percent but less than 80 percent",
              "Id": 5,
              "LowerBound": 60,
              "Modifier": "CL",
              "UpperBound": 80
            },
            "ScoreType": 0
          },
          {
            "FunctionalLimitation": 1,
            "FunctionalScore": 99,
            "Label": "2\/8\/2013",
            "Modifier": {
              "Descriptior": "At least 1 percent but less than 20 percent",
              "Id": 2,
              "LowerBound": 1,
              "Modifier": "CI",
              "UpperBound": 20
            },
            "ScoreType": 1
          }
        ],
        "PredictedChangeSummary": {
          "FunctionalLimitationGoal": 45,
          "FunctionalScoreGoal": 55,
          "Modifier": {
            "Descriptior": "At least 40 percent but less than 60 percent",
            "Id": 4,
            "LowerBound": 40,
            "Modifier": "CK",
            "UpperBound": 60
          },
          "PredictedChange": 29
        },
        "AssessmentAttributes": [
          {
            "Attribute": "Visits",
            "Type": "int",
            "Value": "14"
          },
          {
            "Attribute": "Duration",
            "Type": "int",
            "Value": "44"
          },
          {
            "Attribute": "Revenue",
            "Type": "int",
            "Value": "971"
          },
          {
            "Attribute": "Satisfaction",
            "Type": "decimal",
            "Value": "97.5"
          }
        ],
        "MCII": 13,
        "MDC": 9,
        "PatientResponses": [
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Making sharp turns while running fast",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Running on uneven ground",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Running on even ground",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Hopping",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Squatting",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Walking a mile",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "With your usual hobbies, recreational or sporting activities",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "--",
            "Question": "Standing for 1 hour",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": "+",
            "IntakeResponse": "Extreme difficulty or unable to perform",
            "Question": "Walking two blocks",
            "StatusResponse": "No difficulty"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Quite a bit of difficulty",
            "Question": "Performing light activities around your home",
            "StatusResponse": "--"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Quite a bit of difficulty",
            "Question": "Putting on your shoes or socks",
            "StatusResponse": "--"
          },
          {
            "Indicator": " ",
            "IntakeResponse": "Moderate difficulty",
            "Question": "Walking between rooms",
            "StatusResponse": "--"
          }
        ],
        "RiskAdjustedStatisticalFOTO": 36,
        "StagingInfo": {
          "CurrentStage": {
            "Description": "a patient who not only can walk 1.6 km with no difficulty but also can run on even ground with little difficulty. As defined, the higher functional staging indicates that a patient can move around more independently in his\/her own surroundings, including home and community environment",
            "Measure": 99,
            "PatientFunctionText": "patient is an active community ambulator",
            "Stage": 6,
            "Title": "Active community ambulator"
          },
          "FunctionalityPredictions": [
            {
              "Answer": "Moderate difficulty",
              "Question": "Making sharp turns while running fast"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Running on uneven ground"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Running on even ground"
            },
            {
              "Answer": "Moderate difficulty",
              "Question": "Hopping"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Squatting"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Walking a mile"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "With your usual hobbies, recreational or sporting activities"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Standing for 1 hour"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Performing heavy activities around your home"
            },
            {
              "Answer": "A little bit of difficulty",
              "Question": "Getting up or down 10 stairs (about 1 flight of stairs)"
            },
            {
              "Answer": "No difficulty",
              "Question": "With any of your usual work, housework, or school activities"
            },
            {
              "Answer": "No difficulty",
              "Question": "Walking two blocks"
            },
            {
              "Answer": "No difficulty",
              "Question": "Lifting an object, like a bag of groceries from the floor"
            },
            {
              "Answer": "No difficulty",
              "Question": "Getting into or out of a car"
            },
            {
              "Answer": "No difficulty",
              "Question": "Getting into or out of the bath"
            },
            {
              "Answer": "No difficulty",
              "Question": "Performing light activities around your home"
            },
            {
              "Answer": "No difficulty",
              "Question": "Putting on your shoes or socks"
            },
            {
              "Answer": "No difficulty",
              "Question": "Walking between rooms"
            }
          ],
          "IntakeStage": {
            "Description": "an individual who can walk continuously for distances that are considered reasonable for inside the home but are limited by endurance, strength, or safety to walk in community",
            "Measure": 26,
            "PatientFunctionText": "patient is an independent household ambulator",
            "Stage": 3,
            "Title": "Independent household ambulator"
          },
          "PredictedStage": {
            "Description": "can walk for distances of at least 400 m independently in the community without safety concerns",
            "Measure": 55,
            "PatientFunctionText": "patient is an independent community ambulator",
            "Stage": 5,
            "Title": "Independent community ambulator"
          },
          "RiskAdjustedStage": {
            "Description": "can walk regularly in the home and occasionally in the community",
            "Measure": 36,
            "PatientFunctionText": "patient is a limited community ambulator",
            "Stage": 4,
            "Title": "Limited community ambulator"
          },
          "StagingLevels": [
            {
              "Stage": 1,
              "Title": "Physiological ambulator                                                                                                         "
            },
            {
              "Stage": 2,
              "Title": "Limited household ambulator                                                                                                     "
            },
            {
              "Stage": 3,
              "Title": "Independent household ambulator                                                                                                 "
            },
            {
              "Stage": 4,
              "Title": "Limited community ambulator                                                                                                     "
            },
            {
              "Stage": 5,
              "Title": "Independent community ambulator                                                                                                 "
            },
            {
              "Stage": 6,
              "Title": "Active community ambulator                                                                                                      "
            }
          ]
        }
      }
    ],
    "PQRSClaimsReportingCodes": [
      
    ],
    "PatientReportedItems": [
      {
        "Attribute": "Physical activity might harm me",
        "Survey": "Fear",
        "Type": "string",
        "Value": "--"
      },
      {
        "Attribute": "I should not do physical activities which (might) make my pain worse",
        "Survey": "Fear",
        "Type": "string",
        "Value": "Completely Disagree"
      },
      {
        "Attribute": "I cannot do physical activities which (might) make my pain worse",
        "Survey": "Fear",
        "Type": "string",
        "Value": "--"
      }
    ],
    "ReportId": 1487,
    "ReportType": 1,
    "RiskAdjustedItems": [
      {
        "Attribute": "Care Type",
        "Type": "string",
        "Value": "Orthopedic"
      },
      {
        "Attribute": "Body Part",
        "Type": "string",
        "Value": "Knee"
      },
      {
        "Attribute": "Severity",
        "Type": "string",
        "Value": "Very Severe  (Intake FS: 26)"
      },
      {
        "Attribute": "Age",
        "Type": "int",
        "Value": "71"
      },
      {
        "Attribute": "Acuity",
        "Type": "string",
        "Value": "0 - 7 days"
      },
      {
        "Attribute": "Gender",
        "Type": "string",
        "Value": "Male\n"
      },
      {
        "Attribute": "Comorbidities",
        "Type": "string",
        "Value": "Four or more\n"
      },
      {
        "Attribute": "Payer",
        "Type": "string",
        "Value": "Medicare B"
      },
      {
        "Attribute": "Fear Avoidance",
        "Type": "string",
        "Value": "Elevated\n"
      },
      {
        "Attribute": "Surgery Status",
        "Type": "string",
        "Value": "None\n"
      }
    ],
    "SurveyDateTimeCompleted": "\/Date(1360345759013-0500)\/",
    "SurveyDateTimeStarted": "\/Date(1360345738577-0500)\/",
    "Visit": 0
  }
]
  

XML GET

http://devs.patient-inquiry.com/artifact2/?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

XML GET (By Since Date)

http://devs.patient-inquiry.com/artifact2/2013-01-31?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

XML GET (By Episode)

http://devs.patient-inquiry.com/artifact2/episode/ExternalId?Api-Key=a8e09fcb-76d4-4912-be4c-6ed3bcd1e93a

Response

    <ArrayOfAPIEpisodeArtifact xmlns="http://schemas.datacontract.org/2004/07/PI.Domain" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <APIEpisodeArtifact>
        <EpisodeId>1091</EpisodeId>
        <ExternalEpisodeId>ExternalId</ExternalEpisodeId>
        <FunctionalAssessments>
          <FunctionalAssessment>
            <CMSFunctionalLimitations>
              <CMSFunctionalLimitation>
                <AskedCurrent>2</AskedCurrent>
                <AskedDischarge>0</AskedDischarge>
                <Descriptor>Mobility: walking & moving around functional limitation</Descriptor>
                <GcodeCurrent>G8978</GcodeCurrent>
                <GcodeDischarge>G8980</GcodeDischarge>
                <GcodeGoal>G8979</GcodeGoal>
                <GcodeSet i:nil="true"/>
                <Id>1</Id>
                <ShortDescriptor>Mobility</ShortDescriptor>
                <Type>0</Type>
              </CMSFunctionalLimitation>
              <CMSFunctionalLimitation>
                <AskedCurrent>0</AskedCurrent>
                <AskedDischarge>0</AskedDischarge>
                <Descriptor>Changing & maintaining body position functional limitation</Descriptor>
                <GcodeCurrent>G8981</GcodeCurrent>
                <GcodeDischarge>G8983</GcodeDischarge>
                <GcodeGoal>G8982</GcodeGoal>
                <GcodeSet i:nil="true"/>
                <Id>2</Id>
                <ShortDescriptor>Changing & Maintaining Body Position</ShortDescriptor>
                <Type>0</Type>
              </CMSFunctionalLimitation>
              <CMSFunctionalLimitation>
                <AskedCurrent>0</AskedCurrent>
                <AskedDischarge>0</AskedDischarge>
                <Descriptor>Carrying, moving & handling objects functional limitation</Descriptor>
                <GcodeCurrent>G8984</GcodeCurrent>
                <GcodeDischarge>G8986</GcodeDischarge>
                <GcodeGoal>G8985</GcodeGoal>
                <GcodeSet i:nil="true"/>
                <Id>3</Id>
                <ShortDescriptor>Carrying, Moving & Handling Objects</ShortDescriptor>
                <Type>0</Type>
              </CMSFunctionalLimitation>
              <CMSFunctionalLimitation>
                <AskedCurrent>1</AskedCurrent>
                <AskedDischarge>0</AskedDischarge>
                <Descriptor>Self care functional limitation</Descriptor>
                <GcodeCurrent>G8987</GcodeCurrent>
                <GcodeDischarge>G8989</GcodeDischarge>
                <GcodeGoal>G8988</GcodeGoal>
                <GcodeSet i:nil="true"/>
                <Id>4</Id>
                <ShortDescriptor>Self Care</ShortDescriptor>
                <Type>0</Type>
              </CMSFunctionalLimitation>
              <CMSFunctionalLimitation>
                <AskedCurrent>1</AskedCurrent>
                <AskedDischarge>0</AskedDischarge>
                <Descriptor>Other physical or occupational primary functional limitation</Descriptor>
                <GcodeCurrent>G8990</GcodeCurrent>
                <GcodeDischarge>G8992</GcodeDischarge>
                <GcodeGoal>G8991</GcodeGoal>
                <GcodeSet i:nil="true"/>
                <Id>5</Id>
                <ShortDescriptor>Other PT/OT Primary</ShortDescriptor>
                <Type>0</Type>
              </CMSFunctionalLimitation>
            </CMSFunctionalLimitations>
            <Descriptor i:nil="true"/>
            <FunctionalScoreSummaries>
              <FunctionalScoreSummary>
                <FunctionalLimitation>74</FunctionalLimitation>
                <FunctionalScore>26</FunctionalScore>
                <Label>Intake</Label>
                <Modifier>
                  <Descriptior>At least 60 percent but less than 80 percent</Descriptior>
                  <Id>5</Id>
                  <LowerBound>60</LowerBound>
                  <Modifier>CL</Modifier>
                  <UpperBound>80</UpperBound>
                </Modifier>
                <ScoreType>Intake</ScoreType>
              </FunctionalScoreSummary>
            </FunctionalScoreSummaries>
            <PredictedChangeSummary>
              <FunctionalLimitationGoal>45</FunctionalLimitationGoal>
              <FunctionalScoreGoal>55</FunctionalScoreGoal>
              <Modifier>
                <Descriptior>At least 40 percent but less than 60 percent</Descriptior>
                <Id>4</Id>
                <LowerBound>40</LowerBound>
                <Modifier>CK</Modifier>
                <UpperBound>60</UpperBound>
              </Modifier>
              <PredictedChange>29</PredictedChange>
            </PredictedChangeSummary>
          </FunctionalAssessment>
        </FunctionalAssessments>
        <PQRSClaimsReportingCodes i:nil="true"/>
        <ReportId>1484</ReportId>
        <ReportType>Intake</ReportType>
        <SurveyDateTimeCompleted>2013-02-06T11:51:49.31</SurveyDateTimeCompleted>
        <SurveyDateTimeStarted>2013-02-06T11:47:52.783</SurveyDateTimeStarted>
      </APIEpisodeArtifact>
    </ArrayOfAPIEpisodeArtifact>
  

SOAP samples

Here at FOTO we are a Microsoft .Net shop so our SOAP testing application is built as a windows console application in VS2010. Please feel free to download it and use it as jumping off point for your implementation. If you've used web services via WCF before then it should look familiar. The biggest item to pay attention to is the CustomMessageInspector.cs which is responsible for injecting the API Key into the header.

Download SOAP Testing Client