Java Code Examples for org.hl7.fhir.dstu3.model.Composition#SP_PERIOD

The following examples show how to use org.hl7.fhir.dstu3.model.Composition#SP_PERIOD . 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: CompositionRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Composition> search(FhirContext ctx,

              @OptionalParam(name = Condition.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = Composition.SP_IDENTIFIER) TokenParam identifier
            , @OptionalParam(name = Composition.SP_RES_ID) StringParam id
            , @OptionalParam(name = Composition.SP_TYPE) TokenParam type
            , @OptionalParam(name = Composition.SP_PERIOD)DateRangeParam dateRange

    );
 
Example 2
Source File: CompositionRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<CompositionEntity> searchEntity(FhirContext ctx,
          @OptionalParam(name = Composition.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Condition.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Condition.SP_RES_ID) StringParam id
        , @OptionalParam(name = Composition.SP_TYPE) TokenParam type
        , @OptionalParam(name = Composition.SP_PERIOD)DateRangeParam dateRange
);
 
Example 3
Source File: CompositionProvider.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
@Search
public List<Composition> search(HttpServletRequest theRequest,
                              @OptionalParam(name = Composition.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Composition.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Composition.SP_RES_ID) StringParam resid
        , @OptionalParam(name = Composition.SP_TYPE) TokenParam type
        , @OptionalParam(name = Composition.SP_PERIOD) DateRangeParam date
                              ) {
    return compositionDao.search(ctx,patient,identifier,resid,type,date);
}