setPatient or getPateint are not available in DSTU2 version of fhir. Is this a Bug?
What reference implementation are you using?
I am using HAPI fhir implementation
Which resource are you working with? In a number of resources, the field where the patient reference goes is called “subject”, so you’d be looking for the getSubject and setSubject methods.
I am working with ClaimResponse resource. As mentioned i don’t see that getSubject and setSubject methods as well for this ClaimResponse resource
Infact I don’t see the patient reference at all inside the claimresponse.xsd of FHIR
we have other elements like organization, provider etc like below but we don’t have for reference for patient
xs:element name=“organization” type=“Reference” minOccurs=“0” maxOccurs=“1”>