Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.fhir.unmarshall.dstu2.unbundle;

import java.util.ArrayList;

import gov.va.med.pbm.ampl.constant.MockDataConstants;
import gov.va.med.pbm.ampl.model.patientdemographics.PatientCareTeam;

/**
* The UnbundleFacility class marshals a patients care team resource to a client readable JSON format.
*
* @author Ian Meinert
*
*/
public class UnbundlePatientCareTeam {

/**
* The default constructor accepting no parameters.
*/
public UnbundlePatientCareTeam() {
}

/**
* This method marshals resources into a {@link PatientCareTeam} array.
*
* @return array of {@link PatientCareTeam}
*/
public PatientCareTeam[] getPatientCareTeams() {

ArrayList<PatientCareTeam> careTeams = new ArrayList<PatientCareTeam>();

PatientCareTeam team = new PatientCareTeam();
team.setName(MockDataConstants.NOT_MAPPED);
team.setMentalHealthTeamName(MockDataConstants.NOT_MAPPED);

careTeams.add(team);

return careTeams.toArray(new PatientCareTeam[careTeams.size()]);
}
}