POST api/Report

Request Information

URI Parameters

None.

Body Parameters

ReportModel
NameDescriptionTypeAdditional information
ReportFileName

string

None.

ReportKind

ReportEnum

None.

Parameters

Collection of ReportParameterModel

None.

DataSources

Dictionary of string [key] and Object [value]

None.

CustomDataSources

Collection of CustomDataSourceModel

None.

BlankFormsDto

BlankPraDataSourcesDto

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportFileName": "sample string 1",
  "ReportKind": 1,
  "Parameters": [
    {
      "ParamName": "sample string 1",
      "ParamValue": "sample string 2"
    },
    {
      "ParamName": "sample string 1",
      "ParamValue": "sample string 2"
    }
  ],
  "DataSources": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "CustomDataSources": [
    {
      "ReportName": "sample string 1",
      "DataSources": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "DsTypeInfo": [
        {
          "Description": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Description": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "ReportName": "sample string 1",
      "DataSources": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "DsTypeInfo": [
        {
          "Description": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Description": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ],
  "BlankFormsDto": {
    "PregnancyRiskFactors": [
      {
        "Description": "Abnormal Fetal Testing",
        "Value": null
      },
      {
        "Description": "Abnormal Amniocentesis ",
        "Value": null
      },
      {
        "Description": "Abdominal Surgery",
        "Value": null
      },
      {
        "Description": "Alcohol Use ",
        "Value": null
      },
      {
        "Description": "BMI Concern (Less than 18.5 or greater than 30.0)",
        "Value": null
      },
      {
        "Description": "Cats or Birds in Home ",
        "Value": null
      },
      {
        "Description": "Cervical Insufficiency ",
        "Value": null
      },
      {
        "Description": "Eclampsia ",
        "Value": null
      },
      {
        "Description": "Fetal Genetic/Structural Abnormalities ",
        "Value": null
      },
      {
        "Description": "Fetal Reduction",
        "Value": null
      },
      {
        "Description": "Gestational Diabetes ",
        "Value": null
      },
      {
        "Description": "GBS Bacteriuria ",
        "Value": null
      },
      {
        "Description": "Illicit Drug Use",
        "Value": null
      },
      {
        "Description": "Insulin Dependent ",
        "Value": null
      },
      {
        "Description": "Fetal Growth Restriction ",
        "Value": null
      },
      {
        "Description": "Hepatitis A",
        "Value": null
      },
      {
        "Description": "Hepatitis B ",
        "Value": null
      },
      {
        "Description": "Hepatitis C ",
        "Value": null
      },
      {
        "Description": "History of Low Birth Weight (<2500gm) ",
        "Value": null
      },
      {
        "Description": "History of PROM ",
        "Value": null
      },
      {
        "Description": "Hyperemesis",
        "Value": null
      },
      {
        "Description": "Macrosomia (weight is greater than 4000 grams or 8 lbs 13 oz)",
        "Value": null
      },
      {
        "Description": "Maternal Fetal Infection ",
        "Value": null
      },
      {
        "Description": "Multiple Gestation ",
        "Value": null
      },
      {
        "Description": "Oligo/Polyhydramnios ",
        "Value": null
      },
      {
        "Description": "Opiate Dependence ",
        "Value": null
      },
      {
        "Description": "Opioid Replacement Treatment ",
        "Value": null
      },
      {
        "Description": "PIH/Preeclampsia ",
        "Value": null
      },
      {
        "Description": "Placenta Previa ",
        "Value": null
      },
      {
        "Description": "Pyelonephritis ",
        "Value": null
      },
      {
        "Description": "Rh Negative ",
        "Value": null
      },
      {
        "Description": "Urinary Tract Infection ",
        "Value": null
      }
    ],
    "CurrentMedicalConditions": [
      {
        "Description": "2nd or 3rd Hand Smoke ",
        "Value": null
      },
      {
        "Description": "Abnormal Pap Smear ",
        "Value": null
      },
      {
        "Description": "Active Tuberculosis ",
        "Value": null
      },
      {
        "Description": "Allergies ",
        "Value": null
      },
      {
        "Description": "Anemia ",
        "Value": null
      },
      {
        "Description": "Asthma ",
        "Value": null
      },
      {
        "Description": "Blood Dyscrasia ",
        "Value": null
      },
      {
        "Description": "Cancer ",
        "Value": null
      },
      {
        "Description": "Chronic Hypertension ",
        "Value": null
      },
      {
        "Description": "Congenital Abnormalities ",
        "Value": null
      },
      {
        "Description": "Cystic Fibrosis ",
        "Value": null
      },
      {
        "Description": "Depression/Mental Illness ",
        "Value": null
      },
      {
        "Description": "Diabetes ",
        "Value": null
      },
      {
        "Description": "Epilepsy/Seizure Disorder ",
        "Value": null
      },
      {
        "Description": "Heart Condition ",
        "Value": null
      },
      {
        "Description": "HIV positive/AIDS ",
        "Value": null
      },
      {
        "Description": "HIV Test Declined ",
        "Value": null
      },
      {
        "Description": "Home Built before 1978 ",
        "Value": null
      },
      {
        "Description": "Insulin Dependent ",
        "Value": null
      },
      {
        "Description": "Liver Disease ",
        "Value": null
      },
      {
        "Description": "Lupus ",
        "Value": null
      },
      {
        "Description": "Neurological Condition ",
        "Value": null
      },
      {
        "Description": "Phlebitis/DVT ",
        "Value": null
      },
      {
        "Description": "Renal Disease ",
        "Value": null
      },
      {
        "Description": "Seizures ",
        "Value": null
      },
      {
        "Description": "Sickle Cell Disease ",
        "Value": null
      },
      {
        "Description": "Sickle Cell Trait ",
        "Value": null
      },
      {
        "Description": "STD or STI ",
        "Value": null
      },
      {
        "Description": "Thalassemia ",
        "Value": null
      },
      {
        "Description": "Thyroid Disease ",
        "Value": null
      },
      {
        "Description": "Uterine Abnormalities ",
        "Value": null
      }
    ],
    "PsychosocialRiskFactors": [
      {
        "Description": "Currently in Foster Care ",
        "Value": null
      },
      {
        "Description": "Disabled ",
        "Value": null
      },
      {
        "Description": "Domestic/Interpersonal Violence ",
        "Value": null
      },
      {
        "Description": "Eating Disorder ",
        "Value": null
      },
      {
        "Description": "Education < 12 years ",
        "Value": null
      },
      {
        "Description": "Homeless ",
        "Value": null
      },
      {
        "Description": "Partner is Unemployed ",
        "Value": null
      },
      {
        "Description": "Inadequate Social Support ",
        "Value": null
      },
      {
        "Description": "Nutritional Concerns ",
        "Value": null
      },
      {
        "Description": "Perinatal Depression/Mood Disorder ",
        "Value": null
      },
      {
        "Description": "Transportation Barriers ",
        "Value": null
      },
      {
        "Description": "Unemployed/Inadequate Income ",
        "Value": null
      },
      {
        "Description": "Unplanned Pregnancy ",
        "Value": null
      },
      {
        "Description": "Unstable Housing ",
        "Value": null
      }
    ],
    "PrenatalCareLateEntryReasons": [
      {
        "Description": "Abortion desired/unsuccessful ",
        "Value": null
      },
      {
        "Description": "Access to pregnancy testing ",
        "Value": null
      },
      {
        "Description": "Child Care Issues ",
        "Value": null
      },
      {
        "Description": "Couldn't find a health provider ",
        "Value": null
      },
      {
        "Description": "Financial ",
        "Value": null
      },
      {
        "Description": "Insurance Enrollment Delay ",
        "Value": null
      },
      {
        "Description": "Transportation ",
        "Value": null
      },
      {
        "Description": "Unaware of Importance of Prenatal Care ",
        "Value": null
      },
      {
        "Description": "Unaware of Pregnancy ",
        "Value": null
      }
    ],
    "FourPs": [
      {
        "Description": "Did either of your parents have a problem with drugs or alcohol?",
        "Value": "YN"
      },
      {
        "Description": "Does your partner have any problem with drugs or alcohol?",
        "Value": "YN"
      },
      {
        "Description": "Have you ever felt manipulated by your partner?",
        "Value": "YN"
      },
      {
        "Description": "Have you ever felt out of control or helpless?",
        "Value": "YN"
      },
      {
        "Description": "Over the past 2 weeks have you felt down, depressed or hopeless?",
        "Value": "YN"
      },
      {
        "Description": "Over the past 2 weeks have you felt little interest or pleasure in doing things?",
        "Value": "YN"
      },
      {
        "Description": "Have you ever drunk beer/wine/liquor?",
        "Value": "YN"
      },
      {
        "Description": "In the month before you knew you were pregnant, how many cigarettes did you smoke?",
        "Value": "AN"
      },
      {
        "Description": "In the month before you knew you were pregnant, how much beer/wine/liquor did you drink?",
        "Value": "AN"
      },
      {
        "Description": "In the month before you knew you were pregnant, how much marijuana did you use?",
        "Value": "AN"
      }
    ],
    "FourPsFollowUp": [
      {
        "Description": "About how many days a week did you usually drink beer, wine or liquor?",
        "Value": null
      },
      {
        "Description": "use any drug such as marijuana, cocaine, or heroin?",
        "Value": null
      },
      {
        "Description": "And now, about how many days a week do you usually drink beer, wine, or liquor?",
        "Value": null
      },
      {
        "Description": "use any drug such as marijuana, cocaine, or heroin?",
        "Value": null
      }
    ],
    "ReferralsEducationFirstPanel": [
      {
        "Description": "Breastfeeding Support",
        "Value": null
      },
      {
        "Description": "Childbirth Education",
        "Value": null
      },
      {
        "Description": "DCP&P",
        "Value": null
      },
      {
        "Description": "Diabetes Care Program",
        "Value": null
      },
      {
        "Description": "Domestic Violence Assessment",
        "Value": null
      },
      {
        "Description": "Mental Health Assessment",
        "Value": null
      },
      {
        "Description": "Nutritional Consult",
        "Value": null
      },
      {
        "Description": "Preterm Labor Prevention",
        "Value": null
      },
      {
        "Description": "Substance Use Assessment",
        "Value": null
      },
      {
        "Description": "Substance Use Prevention Education",
        "Value": null
      },
      {
        "Description": "WIC",
        "Value": null
      }
    ],
    "RefferalsEducationSecondPanel": [
      {
        "Description": "Emergency Assistances",
        "Value": null
      },
      {
        "Description": "Food Stamps/SNAP-ED",
        "Value": null
      },
      {
        "Description": "SSIs",
        "Value": null
      },
      {
        "Description": "TANF/GAs",
        "Value": null
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PRA.Common.Reports">
  <CustomDataSources>
    <CustomDataSourceModel>
      <DataSources xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </DataSources>
      <DsTypeInfo xmlns:d4p1="http://schemas.datacontract.org/2004/07/PRA.Common.Reports.DTO.BlankPra">
        <d4p1:BaseDataSourceDto>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:BaseDataSourceDto>
        <d4p1:BaseDataSourceDto>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:BaseDataSourceDto>
      </DsTypeInfo>
      <ReportName>sample string 1</ReportName>
    </CustomDataSourceModel>
    <CustomDataSourceModel>
      <DataSources xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </DataSources>
      <DsTypeInfo xmlns:d4p1="http://schemas.datacontract.org/2004/07/PRA.Common.Reports.DTO.BlankPra">
        <d4p1:BaseDataSourceDto>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:BaseDataSourceDto>
        <d4p1:BaseDataSourceDto>
          <d4p1:Description>sample string 1</d4p1:Description>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:BaseDataSourceDto>
      </DsTypeInfo>
      <ReportName>sample string 1</ReportName>
    </CustomDataSourceModel>
  </CustomDataSources>
  <DataSources xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DataSources>
  <Parameters>
    <ReportParameterModel>
      <ParamName>sample string 1</ParamName>
      <ParamValue>sample string 2</ParamValue>
    </ReportParameterModel>
    <ReportParameterModel>
      <ParamName>sample string 1</ParamName>
      <ParamValue>sample string 2</ParamValue>
    </ReportParameterModel>
  </Parameters>
  <ReportFileName>sample string 1</ReportFileName>
  <ReportKind>BlankPra</ReportKind>
</ReportModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.