Title: LibraryCCUPathway Id: LibraryCCUPathway Version: 0.0.48 Url: LibraryCCUPathway Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2020-11-29 18:54:22-0700 Publisher: GOInterop Tecnologia LTDA Description: LibraryCCUPathway Knowledge Capability: shareable computable publishable executable Knowledge Representation Level: structured Jurisdiction: BR Topic: Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 http://fhir.org/guides/cqf/ccc/Library/FHIRHelpers|4.0.1 CPG Activity Type Code System Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Content: text/cql library LibraryCCUPathway version '0.0.47' using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' codesystem "Activity Type": 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs' code "Collect information": 'collect-information' from "Activity Type" context Patient define ActivityDefinitionAssinarTCLETaskQuestionnaireURL: 'https://ig.mangaradigital.org/Questionnaire/QuestionnaireCCUA1' define ActivityDefinitionAssinarTCLEInclusionCriteria: Not(Exists([QuestionnaireResponse] QR where QR.questionnaire = ActivityDefinitionAssinarTCLETaskQuestionnaireURL and QR.subject.reference = 'Patient/'+Patient.id and QR.authored >= Now() - 5 years)) define ActivityDefinitionAssinarTCLETaskCode: ToConcept("Collect information") define ActivityDefinitionAssinarTCLETaskQuestionnaireCanonical: FHIR.canonical { value: ActivityDefinitionAssinarTCLETaskQuestionnaireURL } define ActivityDefinitionRegistrarFichaExameHpvTaskQuestionnaireURL: 'https://ig.mangaradigital.org/Questionnaire/QuestionnaireCCUB1' define ActivityDefinitionRegistrarFichaExameHpvInclusionCriteria: Not(ActivityDefinitionAssinarTCLEInclusionCriteria) and Not(Exists([QuestionnaireResponse] QR where QR.questionnaire = ActivityDefinitionRegistrarFichaExameHpvTaskQuestionnaireURL and QR.subject.reference = 'Patient/'+Patient.id and QR.authored >= Now() - 5 years)) define ActivityDefinitionRegistrarFichaExameHpvTaskCode: ToConcept("Collect information") define ActivityDefinitionRegistrarFichaExameHpvTaskQuestionnaireCanonical: FHIR.canonical { value: ActivityDefinitionRegistrarFichaExameHpvTaskQuestionnaireURL } define ActivityDefinitionRegistrarResultadoExameHpvTaskQuestionnaireURL: 'https://ig.mangaradigital.org/Questionnaire/QuestionnaireCCUC1' define ActivityDefinitionRegistrarResultadoExameHpvInclusionCriteria: Not(ActivityDefinitionRegistrarFichaExameHpvInclusionCriteria) and Not(ActivityDefinitionAssinarTCLEInclusionCriteria) and Not(Exists([QuestionnaireResponse] QR where QR.questionnaire = ActivityDefinitionRegistrarResultadoExameHpvTaskQuestionnaireURL and QR.subject.reference = 'Patient/'+Patient.id and QR.authored >= Now() - 2 months)) define ActivityDefinitionRegistrarResultadoExameHpvTaskCode: ToConcept("Collect information") define ActivityDefinitionRegistrarResultadoExameHpvTaskQuestionnaireCanonical: FHIR.canonical { value: ActivityDefinitionRegistrarResultadoExameHpvTaskQuestionnaireURL } define ActivityDefinitionRegistrarLaudoColposcopiaTaskQuestionnaireURL: 'https://ig.mangaradigital.org/Questionnaire/QuestionnaireCCUD1' define ActivityDefinitionRegistrarLaudoColposcopiaInclusionCriteria: Not(ActivityDefinitionRegistrarResultadoExameHpvInclusionCriteria) and Not(ActivityDefinitionRegistrarFichaExameHpvInclusionCriteria) and Not(ActivityDefinitionAssinarTCLEInclusionCriteria) and Not(Exists([QuestionnaireResponse] QR where QR.questionnaire = ActivityDefinitionRegistrarLaudoColposcopiaTaskQuestionnaireURL and QR.subject.reference = 'Patient/'+Patient.id and QR.authored >= Now() - 2 months)) define ActivityDefinitionRegistrarLaudoColposcopiaTaskCode: ToConcept("Collect information") define ActivityDefinitionRegistrarLaudoColposcopiaTaskQuestionnaireCanonical: FHIR.canonical { value: ActivityDefinitionRegistrarLaudoColposcopiaTaskQuestionnaireURL } Content: application/elm+xml Encoded data (67848 characters)