{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Familyprevalence-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-familyprevalence-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.family_prevalence.v1"
    }
  ],
  "version": "0",
  "name": "Familyprevalence",
  "title": "Family prevalence",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Summary information about the prevalence of a risk factor, problem or diagnosis in all family members.",
  "purpose": "To record information about the prevalence of an identified risk factor, problem or diagnosis in genetic and non-genetic family members.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "Family_prevalence",
        "path": "Family_prevalence",
        "short": "Family prevalence",
        "definition": "Summary information about the prevalence of a risk factor, problem or diagnosis in all family members.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Family_prevalence",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Description",
        "path": "Family_prevalence.Description",
        "short": "Description",
        "definition": "Narrative description about occurrence in family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Description.value",
        "path": "Family_prevalence.Description.value",
        "short": "Description",
        "definition": "Narrative description about occurrence in family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Genetic_predisposition_",
        "path": "Family_prevalence.Genetic_predisposition_",
        "short": "Genetic predisposition?",
        "definition": "Is there a genetic basis for the identified risk factor, problem or diagnosis?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Genetic_predisposition_",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Genetic_predisposition_.value",
        "path": "Family_prevalence.Genetic_predisposition_.value",
        "short": "Genetic predisposition?",
        "definition": "Is there a genetic basis for the identified risk factor, problem or diagnosis?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Genetic_predisposition_.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Inheritance_type",
        "path": "Family_prevalence.Inheritance_type",
        "short": "Inheritance type",
        "definition": "Category of inheritance for the identified risk factor, problem or diagnosis.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Inheritance_type",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Inheritance_type.value",
        "path": "Family_prevalence.Inheritance_type.value",
        "short": "Inheritance type",
        "definition": "Category of inheritance for the identified risk factor, problem or diagnosis.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Inheritance_type.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family",
        "path": "Family_prevalence.Affected_family",
        "short": "Affected family",
        "definition": "Details about the numbers of family members affected.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Family_prevalence.Affected_family",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family.Relationship",
        "path": "Family_prevalence.Affected_family.Relationship",
        "short": "Relationship",
        "definition": "The degree of relationship between the subject of care and a selected group of family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Relationship",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Affected_family.Relationship.value",
        "path": "Family_prevalence.Affected_family.Relationship.value",
        "short": "Relationship",
        "definition": "The degree of relationship between the subject of care and a selected group of family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Relationship.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family.Family_line",
        "path": "Family_prevalence.Affected_family.Family_line",
        "short": "Family line",
        "definition": "Identification of the maternal or paternal family line in the relationship.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Family_line",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Affected_family.Family_line.value",
        "path": "Family_prevalence.Affected_family.Family_line.value",
        "short": "Family line",
        "definition": "Identification of the maternal or paternal family line in the relationship.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Family_line.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family.Biological_sex",
        "path": "Family_prevalence.Affected_family.Biological_sex",
        "short": "Biological sex",
        "definition": "The biological sex of the family member/s.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Biological_sex",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Affected_family.Biological_sex.value",
        "path": "Family_prevalence.Affected_family.Biological_sex.value",
        "short": "Biological sex",
        "definition": "The biological sex of the family member/s.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Biological_sex.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family.Number_affected",
        "path": "Family_prevalence.Affected_family.Number_affected",
        "short": "Number affected",
        "definition": "The number of family members known to be affected.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Number_affected",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Affected_family.Number_affected.value",
        "path": "Family_prevalence.Affected_family.Number_affected.value",
        "short": "Number affected",
        "definition": "The number of family members known to be affected.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Number_affected.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Family_prevalence.Affected_family.Number_eligible",
        "path": "Family_prevalence.Affected_family.Number_eligible",
        "short": "Number eligible",
        "definition": "The number of eligible family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Number_eligible",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Family_prevalence.Affected_family.Number_eligible.value",
        "path": "Family_prevalence.Affected_family.Number_eligible.value",
        "short": "Number eligible",
        "definition": "The number of eligible family members.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Family_prevalence.Affected_family.Number_eligible.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}