Java Code Examples for org.hl7.fhir.dstu3.model.Observation#SP_PATIENT

The following examples show how to use org.hl7.fhir.dstu3.model.Observation#SP_PATIENT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ObservationRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Resource> search (FhirContext ctx,
               @OptionalParam(name= Observation.SP_CATEGORY) TokenParam category,
               @OptionalParam(name= Observation.SP_CODE) TokenOrListParam codes,
               @OptionalParam(name= Observation.SP_DATE) DateRangeParam effectiveDate,
               @OptionalParam(name = Observation.SP_PATIENT) ReferenceParam patient
, @OptionalParam(name = Observation.SP_IDENTIFIER) TokenParam identifier
, @OptionalParam(name= Observation.SP_RES_ID) StringParam id
, @OptionalParam(name = Observation.SP_SUBJECT) ReferenceParam subject

, @IncludeParam(allow = { "Observation.related" ,  "*" }) Set<Include> includes
);
 
Example 2
Source File: ObservationRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<ObservationEntity> searchEntity (FhirContext ctx,
                          @OptionalParam(name= Observation.SP_CATEGORY) TokenParam category,
                          @OptionalParam(name= Observation.SP_CODE) TokenOrListParam codes,
                          @OptionalParam(name= Observation.SP_DATE) DateRangeParam effectiveDate,
                          @OptionalParam(name = Observation.SP_PATIENT) ReferenceParam patient

        ,@OptionalParam(name = Observation.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= Observation.SP_RES_ID) StringParam id
        ,@OptionalParam(name = Observation.SP_SUBJECT) ReferenceParam subject

        , @IncludeParam(allow = { "Observation.related" ,  "*" }) Set<Include> includes
);
 
Example 3
Source File: ObservationProvider.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
@Search
public List<Resource> search(HttpServletRequest theRequest,

                             @OptionalParam(name= Observation.SP_CATEGORY) TokenParam category,
                             @OptionalParam(name= Observation.SP_CODE) TokenOrListParam codes,
                             @OptionalParam(name= Observation.SP_DATE) DateRangeParam effectiveDate,
                             @OptionalParam(name = Observation.SP_PATIENT) ReferenceParam patient,
                             @OptionalParam(name = Observation.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Observation.SP_RES_ID) StringParam resid
        , @OptionalParam(name = Observation.SP_SUBJECT) ReferenceParam subject
        , @IncludeParam(allow = { "Observation.related" ,  "*" }) Set<Include> includes
                                   ) {
    return observationDao.search(ctx,category, codes, effectiveDate,patient, identifier,resid,subject, includes);
}