ca.uhn.fhir.rest.annotation.OptionalParam Java Examples

The following examples show how to use ca.uhn.fhir.rest.annotation.OptionalParam. 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: GraphDefinitionDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
public List<GraphDefinition> search (FhirContext ctx,
                              @OptionalParam(name = GraphDefinition.SP_NAME) StringParam name,
                              @OptionalParam(name = GraphDefinition.SP_PUBLISHER) StringParam publisher,
                              @OptionalParam(name = GraphDefinition.SP_URL) UriParam url

) {
    List<GraphDefinition> results = new ArrayList<>();
    List<GraphDefinitionEntity> qryResults = searchEntity(ctx, name, publisher, url);

    for (GraphDefinitionEntity graphEntity : qryResults) {
        if (graphEntity.getResource() != null) {
            results.add((GraphDefinition) ctx.newJsonParser().parseResource(graphEntity.getResource()));
        } else {

            GraphDefinition graph = graphEntityToFHIRValuesetTransformer.transform(graphEntity);
            String resource = ctx.newJsonParser().encodeResourceToString(graph);
            if (resource.length() < 10000) {
                graphEntity.setResource(resource);
                em.persist(graphEntity);
            }
            results.add(graph);
        }
    }
    return results;
}
 
Example #2
Source File: ValueSetDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
public List<ValueSet> search (FhirContext ctx,
                              @OptionalParam(name = ValueSet.SP_NAME) StringParam name,
                              @OptionalParam(name = ValueSet.SP_PUBLISHER) StringParam publisher,
                              @OptionalParam(name = ValueSet.SP_URL) UriParam url,
                              @OptionalParam(name = ValueSet.SP_IDENTIFIER) TokenParam identifier
) {
    List<ValueSet> results = new ArrayList<ValueSet>();
    List<ValueSetEntity> qryResults = searchEntity(ctx, name, publisher, url, identifier);

    for (ValueSetEntity valuesetEntity : qryResults) {
        if (valuesetEntity.getResource() != null) {
            results.add((ValueSet) ctx.newJsonParser().parseResource(valuesetEntity.getResource()));
        } else {

            ValueSet valueSet = valuesetEntityToFHIRValuesetTransformer.transform(valuesetEntity);
            String resource = ctx.newJsonParser().encodeResourceToString(valueSet);
            if (resource.length() < 10000) {
                valuesetEntity.setResource(resource);
                em.persist(valuesetEntity);
            }
            results.add(valueSet);
        }
    }
    return results;
}
 
Example #3
Source File: ClaimDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
@Override
public List<Resource> search(FhirContext ctx, ReferenceParam patient, TokenParam identifier, StringParam id
        , @OptionalParam(name = Claim.SP_USE) TokenParam use
        , @OptionalParam(name = "status") TokenParam status) {

    List<ClaimEntity> qryResults =  searchEntity(ctx,patient, identifier,id, use, status);
    List<Resource> results = new ArrayList<>();

    for (ClaimEntity claimIntoleranceEntity : qryResults)
    {
        // log.trace("HAPI Custom = "+doc.getId());
        Claim claim = claimEntityToFHIRClaim.transform(claimIntoleranceEntity, ctx);
        results.add(claim);
    }

    return results;
}
 
Example #4
Source File: PersonDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
@Override
public List<Resource> search(FhirContext ctx,
                             @OptionalParam(name = Person.SP_NAME) StringParam name,
                             @OptionalParam(name = Person.SP_IDENTIFIER) TokenParam identifier,
                             @OptionalParam(name = Person.SP_EMAIL) TokenParam email,
                             @OptionalParam(name = Person.SP_PHONE) TokenParam phone

) {
    List<PersonEntity> qryResults = searchEntity(ctx, name, identifier,email, phone);
    List<Resource> results = new ArrayList<>();

    for (PersonEntity personEntity : qryResults) {
        log.info("personEntity = " + personEntity.getId().toString());
        Person person = personEntityToFHIRPersonTransformer.transform(personEntity);
        String resourceStr = ctx.newJsonParser().encodeResourceToString(person);
        personEntity.setResource(resourceStr);

        results.add(person);

        // If reverse include selected

    }


    return results;
}
 
Example #5
Source File: StructureDefinitionDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
public List<StructureDefinition> search (FhirContext ctx,
									  @OptionalParam(name = StructureDefinition.SP_NAME) StringParam name,
									  @OptionalParam(name = StructureDefinition.SP_PUBLISHER) StringParam publisher,
									  @OptionalParam(name = StructureDefinition.SP_URL) UriParam url
) {
	List<StructureDefinitionEntity> qryResults = searchEntity(ctx,name,publisher, url);
	List<StructureDefinition> results = new ArrayList<>();

	for (StructureDefinitionEntity structureDefinitionEntity : qryResults)
	{

		StructureDefinition structureDefinition = structureDefinitionEntityToFHIRStructureDefinitionTransformer.transform(structureDefinitionEntity, ctx);

		results.add(structureDefinition);

	}
	return results;
}
 
Example #6
Source File: MessageDefinitionDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
public List<MessageDefinition> search (FhirContext ctx,
                                       @OptionalParam(name = MessageDefinition.SP_NAME) StringParam name,
                                       @OptionalParam(name = MessageDefinition.SP_PUBLISHER) StringParam publisher,
                                       @OptionalParam(name = MessageDefinition.SP_URL) UriParam url,
                                       @OptionalParam(name = MessageDefinition.SP_IDENTIFIER) TokenParam identifier
) {
    List<MessageDefinitionEntity> qryResults = searchEntity(ctx, name, publisher, url, identifier);
    List<MessageDefinition> results = new ArrayList<MessageDefinition>();

    for (MessageDefinitionEntity messageDefinitionEntity : qryResults)
    {
        if (messageDefinitionEntity.getResource() != null) {
            results.add((MessageDefinition) ctx.newJsonParser().parseResource(messageDefinitionEntity.getResource()));
        } else {

            MessageDefinition messageDefinition = messageDefinitionEntityToFHIRValuesetTransformer.transform(messageDefinitionEntity);
            String resource = ctx.newJsonParser().encodeResourceToString(messageDefinition);
            if (resource.length() < 10000) {
                messageDefinitionEntity.setResource(resource);
                em.persist(messageDefinitionEntity);
            }
            results.add(messageDefinition);
        }
    }
    return results;
}
 
Example #7
Source File: EncounterRepository.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
List<Resource> search(FhirContext ctx,

                          @OptionalParam(name = Encounter.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = Encounter.SP_DATE) DateRangeParam date
            , @OptionalParam(name = Encounter.SP_EPISODEOFCARE) ReferenceParam episode
            , @OptionalParam(name = Encounter.SP_IDENTIFIER) TokenParam identifier
            , @OptionalParam(name= Encounter.SP_RES_ID) StringParam id
            , @IncludeParam(reverse=true, allow = {
            "Observation:context",
            "Encounter:part-of",
            "Procedure:context",
            "Condition:context",
            "MedicationRequest:context",
            "Immunization:encounter" ,
            "DocumentReference:context",
            "Composition:encounter",
            "ReferralRequest:encounter",
            "MedicationDispense:context",
            "MedicationAdministration:context",
            "*"
    }) Set<Include> reverseIncludes
            , @IncludeParam(allow = { "Encounter.participant" , "Encounter.service-provider", "Encounter.location", "*"
    }) Set<Include> includes
            , @OptionalParam(name = Encounter.SP_TYPE) TokenParam type
            , @OptionalParam(name = Encounter.SP_STATUS) TokenParam status
    );
 
Example #8
Source File: EncounterRepository.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
List<EncounterEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = Encounter.SP_PATIENT) ReferenceParam patient
        ,@OptionalParam(name = Encounter.SP_DATE) DateRangeParam date
        ,@OptionalParam(name = Encounter.SP_EPISODEOFCARE) ReferenceParam episode
        , @OptionalParam(name = Encounter.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= Encounter.SP_RES_ID) StringParam id
        , @IncludeParam(reverse=true, allow = {
        "Observation:context",
        "Encounter:part-of",
        "Procedure:context",
        "Condition:context",
        "MedicationRequest:context",
        "Immunization:encounter" ,
        "DocumentReference:context",
        "Composition:encounter",
        "ReferralRequest:encounter",
        "*"
}) Set<Include> reverseIncludes
        , @IncludeParam(allow = { "Encounter.participant" , "Encounter.subject", "Encounter.service-provider", "Encounter.location", "*"
}) Set<Include> includes
        , @OptionalParam(name = Encounter.SP_TYPE) TokenParam type
        , @OptionalParam(name = Encounter.SP_STATUS) TokenParam status
);
 
Example #9
Source File: TaskDao.java    From careconnect-reference-implementation with Apache License 2.0 6 votes vote down vote up
@Override
public List<Resource> search(FhirContext ctx, ReferenceParam patient, TokenParam identifier, StringParam id
        , @OptionalParam(name = Task.SP_OWNER) ReferenceParam owner
        , @OptionalParam(name = Task.SP_REQUESTER) ReferenceParam requester
        , @OptionalParam(name = Task.SP_STATUS) TokenParam status
        , @OptionalParam(name = Task.SP_CODE) TokenParam code
) {

    List<TaskEntity> qryResults =  searchEntity(ctx,patient, identifier,id, owner, requester, status,code);
    List<Resource> results = new ArrayList<>();

    for (TaskEntity taskIntoleranceEntity : qryResults)
    {
        // log.trace("HAPI Custom = "+doc.getId());
        Task task = taskEntityToFHIRTask.transform(taskIntoleranceEntity, ctx);
        results.add(task);
    }

    return results;
}
 
Example #10
Source File: DocumentReferenceRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<DocumentReference> search(FhirContext ctx,

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

    );
 
Example #11
Source File: ConditionRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<ConditionEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = Condition.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Condition.SP_CATEGORY) TokenParam category
        , @OptionalParam(name = Condition.SP_CLINICAL_STATUS) TokenParam clinicalstatus
        , @OptionalParam(name = Condition.SP_ASSERTED_DATE) DateRangeParam asserted
        , @OptionalParam(name = Condition.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= Condition.SP_RES_ID) StringParam id
);
 
Example #12
Source File: MedicationStatementRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationStatement> search(FhirContext ctx,

            @OptionalParam(name = MedicationStatement.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = MedicationStatement.SP_EFFECTIVE) DateRangeParam effectiveDate
            , @OptionalParam(name = MedicationStatement.SP_STATUS) TokenParam status
            ,@OptionalParam(name= MedicationStatement.SP_RES_ID) StringParam id
            , @OptionalParam(name = MedicationStatement.SP_IDENTIFIER) TokenParam identifier

    );
 
Example #13
Source File: MedicationStatementRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationStatementEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = MedicationStatement.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = MedicationStatement.SP_EFFECTIVE) DateRangeParam effectiveDate
        , @OptionalParam(name = MedicationStatement.SP_STATUS) TokenParam status
        ,@OptionalParam(name= MedicationStatement.SP_RES_ID) StringParam id
        , @OptionalParam(name = MedicationStatement.SP_IDENTIFIER) TokenParam identifier

);
 
Example #14
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 #15
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 #16
Source File: EpisodeOfCareRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<EpisodeOfCare> search(FhirContext ctx,

            @OptionalParam(name = EpisodeOfCare.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = EpisodeOfCare.SP_DATE) DateRangeParam date
            ,@OptionalParam(name= EpisodeOfCare.SP_RES_ID) StringParam id
            ,@OptionalParam(name= EpisodeOfCare.SP_IDENTIFIER) TokenParam identifier
            );
 
Example #17
Source File: ConditionRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Condition> search(FhirContext ctx,

            @OptionalParam(name = Condition.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = Condition.SP_CATEGORY) TokenParam category
            , @OptionalParam(name = Condition.SP_CLINICAL_STATUS) TokenParam clinicalstatus
            , @OptionalParam(name = Condition.SP_ASSERTED_DATE) DateRangeParam asserted
            , @OptionalParam(name = Condition.SP_IDENTIFIER) TokenParam identifier
            ,@OptionalParam(name= Condition.SP_RES_ID) StringParam id

    );
 
Example #18
Source File: EpisodeOfCareRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<EpisodeOfCareEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = EpisodeOfCare.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = EpisodeOfCare.SP_DATE) DateRangeParam date
        ,@OptionalParam(name= EpisodeOfCare.SP_RES_ID) StringParam id
        ,@OptionalParam(name= EpisodeOfCare.SP_IDENTIFIER) TokenParam identifier

);
 
Example #19
Source File: QuestionnaireResponseRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
public List<Resource> searchQuestionnaireResponse(FhirContext ctx,

                                                      @OptionalParam(name = QuestionnaireResponse.SP_IDENTIFIER) TokenParam identifier,
                                                      @OptionalParam(name= QuestionnaireResponse.SP_RES_ID) StringParam id,
                                                      @OptionalParam(name= QuestionnaireResponse.SP_QUESTIONNAIRE) ReferenceParam questionnaire,
                                                      @OptionalParam(name = QuestionnaireResponse.SP_PATIENT) ReferenceParam patient,
                                                      @IncludeParam(allow= {"*"}) Set<Include> includes

    );
 
Example #20
Source File: ReferralRequestRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<ReferralRequestEntity> searchReferralRequestEntity(FhirContext ctx,

        @OptionalParam(name = ReferralRequest.SP_IDENTIFIER) TokenParam identifier,
        @OptionalParam(name = ReferralRequest.SP_TYPE) TokenOrListParam codes,
        @OptionalParam(name = ReferralRequest.SP_RES_ID) StringParam id,
        @OptionalParam(name = ReferralRequest.SP_PATIENT) ReferenceParam patient
    );
 
Example #21
Source File: ReferralRequestRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<ReferralRequest> searchReferralRequest(FhirContext ctx,

        @OptionalParam(name = ReferralRequest.SP_IDENTIFIER) TokenParam identifier,
        @OptionalParam(name = ReferralRequest.SP_TYPE) TokenOrListParam codes,
        @OptionalParam(name = ReferralRequest.SP_RES_ID) StringParam id,
        @OptionalParam(name = ReferralRequest.SP_PATIENT) ReferenceParam patient

    );
 
Example #22
Source File: ProcedureRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<ProcedureEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = Procedure.SP_PATIENT) ReferenceParam patient
        ,@OptionalParam(name = Procedure.SP_DATE) DateRangeParam date
        , @OptionalParam(name = Procedure.SP_SUBJECT) ReferenceParam subject
        , @OptionalParam(name = Procedure.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= Procedure.SP_RES_ID) StringParam id
);
 
Example #23
Source File: ProcedureRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Procedure> search(FhirContext ctx,
        @OptionalParam(name = Procedure.SP_PATIENT) ReferenceParam patient
        ,@OptionalParam(name = Procedure.SP_DATE) DateRangeParam date
        , @OptionalParam(name = Procedure.SP_SUBJECT) ReferenceParam subject
        , @OptionalParam(name = Procedure.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= Procedure.SP_RES_ID) StringParam id
);
 
Example #24
Source File: MedicationRequestRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationRequestEntity> searchEntity(FhirContext ctx,
        @OptionalParam(name = MedicationRequest.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = MedicationRequest.SP_CODE) TokenParam code
        , @OptionalParam(name = MedicationRequest.SP_AUTHOREDON) DateRangeParam dateWritten
        , @OptionalParam(name = MedicationRequest.SP_STATUS) TokenParam status
        , @OptionalParam(name = MedicationRequest.SP_IDENTIFIER) TokenParam identifier
        ,@OptionalParam(name= MedicationRequest.SP_RES_ID) StringParam id
        , @OptionalParam(name= MedicationRequest.SP_MEDICATION) ReferenceParam medication
);
 
Example #25
Source File: TaskRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<TaskEntity> searchEntity(FhirContext ctx,
                               @OptionalParam(name = Task.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Task.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Task.SP_RES_ID) StringParam id
        , @OptionalParam(name = Task.SP_OWNER) ReferenceParam owner
        , @OptionalParam(name = Task.SP_REQUESTER) ReferenceParam requester
        , @OptionalParam(name = Task.SP_STATUS) TokenParam status
        , @OptionalParam(name = Task.SP_CODE) TokenParam code
);
 
Example #26
Source File: TaskRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Resource> search(
        FhirContext ctx,
        @OptionalParam(name = Task.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Task.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Task.SP_RES_ID) StringParam id
        , @OptionalParam(name = Task.SP_OWNER) ReferenceParam owner
        , @OptionalParam(name = Task.SP_REQUESTER) ReferenceParam requester
        , @OptionalParam(name = Task.SP_STATUS) TokenParam status
        , @OptionalParam(name = Task.SP_CODE) TokenParam code

);
 
Example #27
Source File: MedicationRequestRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationRequest> search(FhirContext ctx,

                                   @OptionalParam(name = MedicationRequest.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = MedicationRequest.SP_CODE) TokenParam code
            , @OptionalParam(name = MedicationRequest.SP_AUTHOREDON) DateRangeParam dateWritten
            , @OptionalParam(name = MedicationRequest.SP_STATUS) TokenParam status
            , @OptionalParam(name = MedicationRequest.SP_IDENTIFIER) TokenParam identifier
            , @OptionalParam(name= MedicationRequest.SP_RES_ID) StringParam id
            , @OptionalParam(name= MedicationRequest.SP_MEDICATION) ReferenceParam medication
    );
 
Example #28
Source File: MedicationDispenseRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationDispenseEntity> searchEntity(FhirContext ctx,
                                             @OptionalParam(name = MedicationDispense.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = MedicationDispense.SP_STATUS) TokenParam status
        , @OptionalParam(name = MedicationDispense.SP_RES_ID) StringParam id
        , @OptionalParam(name = MedicationDispense.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = MedicationDispense.SP_CODE) TokenParam code
        , @OptionalParam(name= MedicationDispense.SP_MEDICATION) ReferenceParam medication
);
 
Example #29
Source File: MedicationDispenseRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<MedicationDispense> search(FhirContext ctx,

                                     @OptionalParam(name = MedicationDispense.SP_PATIENT) ReferenceParam patient
            , @OptionalParam(name = MedicationDispense.SP_STATUS) TokenParam status
            , @OptionalParam(name = MedicationDispense.SP_RES_ID) StringParam id
            , @OptionalParam(name = MedicationDispense.SP_IDENTIFIER) TokenParam identifier
            , @OptionalParam(name = MedicationDispense.SP_CODE) TokenParam code
            , @OptionalParam(name= MedicationDispense.SP_MEDICATION) ReferenceParam medication

    );
 
Example #30
Source File: ClaimRepository.java    From careconnect-reference-implementation with Apache License 2.0 5 votes vote down vote up
List<Resource> search(
        FhirContext ctx,
        @OptionalParam(name = Claim.SP_PATIENT) ReferenceParam patient
        , @OptionalParam(name = Claim.SP_IDENTIFIER) TokenParam identifier
        , @OptionalParam(name = Claim.SP_RES_ID) StringParam id
        , @OptionalParam(name = Claim.SP_USE) TokenParam use
        , @OptionalParam(name = "status") TokenParam status
);