WHOCommon
type: Library
node role: treeRoot
id:
  v: WHOCommon
text:
  status:
    v: generated
  div: Related Artifacts depends-on FHIR model information http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 depends-on Library FHIRHelpers http://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1 depends-on Library FC FHIRCommon Parameters Patient out 0 1 Patient Data Requirements Type: Patient (Patient) Contents text/cql library WHOCommon using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include FHIRCommon called FC context Patient define function Official(identifiers List<Identifier>): singleton from (identifiers I where I.use = 'official') define function Official(addresses List<Address>): singleton from (addresses A where A.use = 'official') define function Official(names List<HumanName>): singleton from (names N where N.use = 'official') define function Mobile(contactPoints List<ContactPoint>): singleton from (contactPoints P where P.use = 'mobile') define function Only(allergies List<AllergyIntolerance>): singleton from allergies define function Only(appointments List<Appointment>): singleton from appointments define function Only(careplans List<CarePlan>): singleton from careplans define function Only(conditions List<Condition>): singleton from conditions define function Only(encounters List<Encounter>): singleton from encounters define function Only(immunizations List<Immunization>): singleton from immunizations define function Only(medicationrequests List<MedicationRequest>): singleton from medicationrequests define function Only(observations List<Observation>): singleton from observations define function Only(procedures List<Procedure>): singleton from procedures define function Only(serviceRequests List<ServiceRequest>): singleton from serviceRequests define function Only(dosages List<Dosage>): singleton from dosages define function Only(doses List<FHIR.Dosage.DoseAndRate>): singleton from doses define function Earliest(observations List<Observation>): First( observations O sort by issued ) define function Latest(observati…
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
  value: Reference
    link: http://smart.who.int/ig/smart-immunizations/Device/cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://smart.who.int/ig/smart-immunizations/Library/WHOCommon
version:
  v: 0.1.0
name:
  v: WHOCommon
status:
  v: draft
date:
  v: 2024-03-22T16:39:50+00:00
publisher:
  v: World Health Organization (WHO)
contact:
  name:
    v: World Health Organization (WHO)
  telecom:
    system:
      v: url
    value:
      v: https://www.who.int
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FC
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/FHIRCommon
    link: http://smart.who.int/ig/smart-immunizations/Library/FHIRCommon
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
data requirement:
  type:
    v: Patient
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
content:
  content type:
    v: text/cql
content:
  content type:
    v: application/elm+xml
content:
  content type:
    v: application/elm+json