PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@3.5.0
    http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
{
  "description": "Significant health conditions for a person related to the patient relevant in the context of care for the patient.",
  "_filename": "StructureDefinition-FamilyMemberHistory.json",
  "package_name": "hl7.fhir.core",
  "date": "2018-08-19T21:48:56+10:00",
  "derivation": "specialization",
  "meta": {
    "lastUpdated": "2018-08-19T21:48:56.559+10:00"
  },
  "publisher": "Health Level Seven International (Patient Care)",
  "fhirVersion": "3.5.0",
  "name": "FamilyMemberHistory",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "FamilyMemberHistory",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "3.5.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString": "Clinical.Summary"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueString": "Trial Use"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 2
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "pc"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a guman readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.div.exists()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "fhs-2",
        "human": "Can only have estimatedAge if age[x] is present",
        "xpath": "exists(*[starts-with(local-name(.), 'age')]) or not(exists(f:estimatedAge))",
        "severity": "error",
        "expression": "age.exists() or estimatedAge.empty()"
      }, {
        "key": "fhs-1",
        "human": "Can have age[x] or born[x], but not both",
        "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])",
        "severity": "error",
        "expression": "age.empty() or born.empty()"
      } ],
      "path": "FamilyMemberHistory",
      "min": 0,
      "definition": "Significant health conditions for a person related to the patient relevant in the context of care for the patient.",
      "isModifier": false,
      "short": "Information about patient's relatives, relevant for patient",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "Not in scope for v2",
        "identity": "v2"
      }, {
        "map": "Observation[classCode=OBS, moodCode=EVN]",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "FamilyMemberHistory.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "FamilyMemberHistory.text",
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "FamilyMemberHistory.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "FamilyMemberHistory.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "FamilyMemberHistory.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.identifier",
      "requirements": "Allows identification of the family member history as it is known by various participating systems and in a way that remains consistent across servers.",
      "min": 0,
      "definition": "Business identifiers assigned to this family member history by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "isModifier": false,
      "short": "External Id(s) for this record",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "id",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.identifier",
      "comment": "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.identifier"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.instantiatesCanonical",
      "min": 0,
      "definition": "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.",
      "isModifier": false,
      "short": "Instantiates FHIR protocol or definition",
      "mapping": [ {
        "map": "Event.instantiatesCanonical",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/OperationDefinition" ]
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.instantiatesCanonical",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.instantiatesCanonical"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.instantiatesUri",
      "min": 0,
      "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.",
      "isModifier": false,
      "short": "Instantiates external protocol or definition",
      "mapping": [ {
        "map": "Event.instantiatesUri",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.instantiatesUri",
      "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.instantiatesUri"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.status",
      "min": 1,
      "definition": "A code specifying the status of the record of the family history of a specific family member.",
      "isModifier": true,
      "short": "partial | completed | entered-in-error | health-unknown",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/history-status",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryStatus"
        } ],
        "description": "A code that identifies the status of the family history record."
      },
      "max": "1",
      "id": "FamilyMemberHistory.status",
      "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "FamilyMemberHistory.status"
      },
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.dataAbsentReason",
      "requirements": "This is a separate element to allow it to have a distinct binding from reasonCode.",
      "min": 0,
      "definition": "Describes why the family member's history is not available.",
      "isModifier": false,
      "short": "subject-unknown | withheld | unable-to-obtain | deferred",
      "mapping": [ {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/history-absent-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryAbsentReason"
        } ],
        "description": "Codes describing the reason why a family member's history is not available."
      },
      "max": "1",
      "id": "FamilyMemberHistory.dataAbsentReason",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.dataAbsentReason"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.patient",
      "min": 1,
      "definition": "The person who this history concerns.",
      "isModifier": false,
      "short": "Patient history is about",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "participation[typeCode=SBJ].role",
        "identity": "rim"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ],
      "alias": [ "Proband" ],
      "max": "1",
      "id": "FamilyMemberHistory.patient",
      "base": {
        "max": "1",
        "min": 1,
        "path": "FamilyMemberHistory.patient"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.date",
      "requirements": "Allows determination of how current the summary is.",
      "min": 0,
      "definition": "The date (and possibly time) when the family member history was recorded or last updated.",
      "isModifier": false,
      "short": "When history was recorded or last updated",
      "mapping": [ {
        "map": "FiveWs.recorded",
        "identity": "w5"
      }, {
        "map": "participation[typeCode=AUT].time",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.date",
      "comment": "This should be captured even if the same as the date on the List aggregating the full family history.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.date"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.name",
      "requirements": "Allows greater ease in ensuring the same person is being talked about.",
      "min": 0,
      "definition": "This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\".",
      "isModifier": false,
      "short": "The family member described",
      "mapping": [ {
        "map": "name",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.name",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.name"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.relationship",
      "min": 1,
      "definition": "The type of relationship this person has to the patient (father, mother, brother etc.).",
      "isModifier": false,
      "short": "Relationship to the subject",
      "mapping": [ {
        "map": "code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-FamilyMember",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilialRelationship"
        } ],
        "description": "The nature of the relationship between the patient and the related person being described in the family member history."
      },
      "max": "1",
      "id": "FamilyMemberHistory.relationship",
      "base": {
        "max": "1",
        "min": 1,
        "path": "FamilyMemberHistory.relationship"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.gender",
      "requirements": "Not all relationship codes imply gender and the relative's gender can be relevant for risk assessments.",
      "min": 0,
      "definition": "The birth sex of the family member.",
      "isModifier": false,
      "short": "male | female | unknown",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/birth-sex",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BirthSex"
        } ],
        "description": "Codes describing the sex assigned at birth as documented on the birth registration."
      },
      "max": "1",
      "id": "FamilyMemberHistory.gender",
      "comment": "This element should ideally reflect whether the individual is genetically masculine or feminine.  However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported gender might not be totally accurate.  E.g. 'Aunt Sue' might be XY rather than XX.  Questions soliciting this information should be phrased to encourage capture of genetic gender where known.  However, systems performing analysis should also allow for the possibility of imprecision with this element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.gender"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.born[x]",
      "requirements": "Allows calculation of the relative's age.",
      "min": 0,
      "definition": "The actual or approximate date of birth of the relative.",
      "isModifier": false,
      "short": "(approximate) date of birth",
      "mapping": [ {
        "map": "player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      }, {
        "code": "date"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.born[x]",
      "condition": [ "fhs-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.born[x]"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.age[x]",
      "requirements": "While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians.",
      "min": 0,
      "definition": "The age of the relative at the time the family member history is recorded.",
      "isModifier": false,
      "short": "(approximate) age",
      "mapping": [ {
        "map": "participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code=\"age\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.age[x]",
      "condition": [ "fhs-1" ],
      "comment": "use estimatedAge to indicate whether the age is actual or not.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.age[x]"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.estimatedAge",
      "requirements": "Clinicians often prefer to specify an estimaged age rather than an age range.",
      "min": 0,
      "definition": "If true, indicates that the age value specified is an estimated value.",
      "isModifier": false,
      "short": "Age is estimated?",
      "type": [ {
        "code": "boolean"
      } ],
      "meaningWhenMissing": "It is unknown whether the age is an estimate or not",
      "max": "1",
      "id": "FamilyMemberHistory.estimatedAge",
      "condition": [ "fhs-2" ],
      "comment": "This element is labeled as a modifier because the fact that age is estimated can/should change the results of any algorithm that calculates based on the specified age.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.estimatedAge"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.deceased[x]",
      "min": 0,
      "definition": "Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.",
      "isModifier": false,
      "short": "Dead? How old/when?",
      "mapping": [ {
        "map": "player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)  For age, you'd hang an observation off the role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "date"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.deceased[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.deceased[x]"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.reasonCode",
      "min": 0,
      "definition": "Describes why the family member history occurred in coded or textual form.",
      "isModifier": false,
      "short": "Why was family member history performed?",
      "mapping": [ {
        "map": "Event.reasonCode",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      }, {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryReason"
        } ],
        "description": "Codes indicating why the family member history was done."
      },
      "max": "*",
      "id": "FamilyMemberHistory.reasonCode",
      "comment": "Textual reasons can be captured using reasonCode.text.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.reasonCode"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.reasonReference",
      "min": 0,
      "definition": "Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event.",
      "isModifier": false,
      "short": "Why was family member history performed?",
      "mapping": [ {
        "map": "Event.reasonReference",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      }, {
        "map": ".outboundRelationship[typeCode=RSON].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.reasonReference",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.reasonReference"
      },
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.note",
      "min": 0,
      "definition": "This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.",
      "isModifier": false,
      "short": "General note about related person",
      "mapping": [ {
        "map": "Event.note",
        "identity": "workflow"
      }, {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.note"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "FamilyMemberHistory.condition",
      "min": 0,
      "definition": "The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.",
      "isModifier": false,
      "short": "Condition that the related person had",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value,
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.condition",
      "comment": "If none of the conditions listed have an outcome of \"death\" specified, that indicates that none of the specified conditions are known to have been the primary cause of death.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.condition"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "FamilyMemberHistory.condition.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "FamilyMemberHistory.condition.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "FamilyMemberHistory.condition.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.condition.code",
      "min": 1,
      "definition": "The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.",
      "isModifier": false,
      "short": "Condition suffered by relation",
      "mapping": [ {
        "map": ".value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConditionCode"
        } ],
        "description": "Identification of the Condition or diagnosis."
      },
      "max": "1",
      "id": "FamilyMemberHistory.condition.code",
      "base": {
        "max": "1",
        "min": 1,
        "path": "FamilyMemberHistory.condition.code"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.outcome",
      "min": 0,
      "definition": "Indicates what happened as a result of this condition.  If the condition resulted in death, deceased date is captured on the relation.",
      "isModifier": false,
      "short": "deceased | permanent disability | etc.",
      "mapping": [ {
        "map": "outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-outcome",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConditionOutcome"
        } ],
        "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc."
      },
      "max": "1",
      "id": "FamilyMemberHistory.condition.outcome",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.condition.outcome"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.onset[x]",
      "requirements": "Age of onset of a condition in relatives is predictive of risk for the patient.",
      "min": 0,
      "definition": "Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence.",
      "isModifier": false,
      "short": "When condition first manifested",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"Subject Age at measurement\", value,
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "Period"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.condition.onset[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "FamilyMemberHistory.condition.onset[x]"
      },
      "isSummary": false
    }, {
      "path": "FamilyMemberHistory.condition.note",
      "min": 0,
      "definition": "An area where general notes can be placed about this specific condition.",
      "isModifier": false,
      "short": "Extra information about condition",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.condition.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "FamilyMemberHistory.condition.note"
      },
      "isSummary": false
    } ]
  },
  "status": "draft",
  "id": "019343e0-5b48-4566-9068-f27dfc9c231e",
  "kind": "resource",
  "url": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
  "version": null,
  "differential": {
    "element": [ {
      "id": "FamilyMemberHistory",
      "max": "*",
      "min": 0,
      "path": "FamilyMemberHistory",
      "short": "Information about patient's relatives, relevant for patient",
      "mapping": [ {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "Not in scope for v2",
        "identity": "v2"
      }, {
        "map": "Observation[classCode=OBS, moodCode=EVN]",
        "identity": "rim"
      } ],
      "constraint": [ {
        "key": "fhs-2",
        "human": "Can only have estimatedAge if age[x] is present",
        "xpath": "exists(*[starts-with(local-name(.), 'age')]) or not(exists(f:estimatedAge))",
        "severity": "error",
        "expression": "age.exists() or estimatedAge.empty()"
      }, {
        "key": "fhs-1",
        "human": "Can have age[x] or born[x], but not both",
        "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])",
        "severity": "error",
        "expression": "age.empty() or born.empty()"
      } ],
      "definition": "Significant health conditions for a person related to the patient relevant in the context of care for the patient."
    }, {
      "path": "FamilyMemberHistory.identifier",
      "requirements": "Allows identification of the family member history as it is known by various participating systems and in a way that remains consistent across servers.",
      "min": 0,
      "definition": "Business identifiers assigned to this family member history by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "short": "External Id(s) for this record",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "id",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.identifier",
      "comment": "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.instantiatesCanonical",
      "min": 0,
      "definition": "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.",
      "short": "Instantiates FHIR protocol or definition",
      "mapping": [ {
        "map": "Event.instantiatesCanonical",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/OperationDefinition" ]
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.instantiatesCanonical",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.instantiatesUri",
      "min": 0,
      "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.",
      "short": "Instantiates external protocol or definition",
      "mapping": [ {
        "map": "Event.instantiatesUri",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.instantiatesUri",
      "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.status",
      "min": 1,
      "definition": "A code specifying the status of the record of the family history of a specific family member.",
      "isModifier": true,
      "short": "partial | completed | entered-in-error | health-unknown",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/history-status",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryStatus"
        } ],
        "description": "A code that identifies the status of the family history record."
      },
      "max": "1",
      "id": "FamilyMemberHistory.status",
      "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.dataAbsentReason",
      "requirements": "This is a separate element to allow it to have a distinct binding from reasonCode.",
      "min": 0,
      "definition": "Describes why the family member's history is not available.",
      "short": "subject-unknown | withheld | unable-to-obtain | deferred",
      "mapping": [ {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/history-absent-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryAbsentReason"
        } ],
        "description": "Codes describing the reason why a family member's history is not available."
      },
      "max": "1",
      "id": "FamilyMemberHistory.dataAbsentReason",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.patient",
      "min": 1,
      "definition": "The person who this history concerns.",
      "short": "Patient history is about",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "participation[typeCode=SBJ].role",
        "identity": "rim"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ],
      "alias": [ "Proband" ],
      "max": "1",
      "id": "FamilyMemberHistory.patient",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.date",
      "requirements": "Allows determination of how current the summary is.",
      "min": 0,
      "definition": "The date (and possibly time) when the family member history was recorded or last updated.",
      "short": "When history was recorded or last updated",
      "mapping": [ {
        "map": "FiveWs.recorded",
        "identity": "w5"
      }, {
        "map": "participation[typeCode=AUT].time",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.date",
      "comment": "This should be captured even if the same as the date on the List aggregating the full family history.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.name",
      "requirements": "Allows greater ease in ensuring the same person is being talked about.",
      "min": 0,
      "definition": "This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\".",
      "short": "The family member described",
      "mapping": [ {
        "map": "name",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.name",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.relationship",
      "min": 1,
      "definition": "The type of relationship this person has to the patient (father, mother, brother etc.).",
      "short": "Relationship to the subject",
      "mapping": [ {
        "map": "code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-FamilyMember",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilialRelationship"
        } ],
        "description": "The nature of the relationship between the patient and the related person being described in the family member history."
      },
      "max": "1",
      "id": "FamilyMemberHistory.relationship",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.gender",
      "requirements": "Not all relationship codes imply gender and the relative's gender can be relevant for risk assessments.",
      "min": 0,
      "definition": "The birth sex of the family member.",
      "short": "male | female | unknown",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/birth-sex",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BirthSex"
        } ],
        "description": "Codes describing the sex assigned at birth as documented on the birth registration."
      },
      "max": "1",
      "id": "FamilyMemberHistory.gender",
      "comment": "This element should ideally reflect whether the individual is genetically masculine or feminine.  However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported gender might not be totally accurate.  E.g. 'Aunt Sue' might be XY rather than XX.  Questions soliciting this information should be phrased to encourage capture of genetic gender where known.  However, systems performing analysis should also allow for the possibility of imprecision with this element.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.born[x]",
      "requirements": "Allows calculation of the relative's age.",
      "min": 0,
      "definition": "The actual or approximate date of birth of the relative.",
      "short": "(approximate) date of birth",
      "mapping": [ {
        "map": "player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      }, {
        "code": "date"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.born[x]",
      "condition": [ "fhs-1" ]
    }, {
      "path": "FamilyMemberHistory.age[x]",
      "requirements": "While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians.",
      "min": 0,
      "definition": "The age of the relative at the time the family member history is recorded.",
      "short": "(approximate) age",
      "mapping": [ {
        "map": "participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code=\"age\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.age[x]",
      "condition": [ "fhs-1" ],
      "comment": "use estimatedAge to indicate whether the age is actual or not.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.estimatedAge",
      "requirements": "Clinicians often prefer to specify an estimaged age rather than an age range.",
      "min": 0,
      "definition": "If true, indicates that the age value specified is an estimated value.",
      "short": "Age is estimated?",
      "type": [ {
        "code": "boolean"
      } ],
      "meaningWhenMissing": "It is unknown whether the age is an estimate or not",
      "max": "1",
      "id": "FamilyMemberHistory.estimatedAge",
      "condition": [ "fhs-2" ],
      "comment": "This element is labeled as a modifier because the fact that age is estimated can/should change the results of any algorithm that calculates based on the specified age.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.deceased[x]",
      "min": 0,
      "definition": "Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.",
      "short": "Dead? How old/when?",
      "mapping": [ {
        "map": "player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)  For age, you'd hang an observation off the role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "date"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.deceased[x]",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.reasonCode",
      "min": 0,
      "definition": "Describes why the family member history occurred in coded or textual form.",
      "short": "Why was family member history performed?",
      "mapping": [ {
        "map": "Event.reasonCode",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      }, {
        "map": ".reasonCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FamilyHistoryReason"
        } ],
        "description": "Codes indicating why the family member history was done."
      },
      "max": "*",
      "id": "FamilyMemberHistory.reasonCode",
      "comment": "Textual reasons can be captured using reasonCode.text.",
      "isSummary": true
    }, {
      "path": "FamilyMemberHistory.reasonReference",
      "min": 0,
      "definition": "Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event.",
      "short": "Why was family member history performed?",
      "mapping": [ {
        "map": "Event.reasonReference",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      }, {
        "map": ".outboundRelationship[typeCode=RSON].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.reasonReference",
      "isSummary": true
    }, {
      "id": "FamilyMemberHistory.note",
      "max": "*",
      "min": 0,
      "path": "FamilyMemberHistory.note",
      "type": [ {
        "code": "Annotation"
      } ],
      "short": "General note about related person",
      "mapping": [ {
        "map": "Event.note",
        "identity": "workflow"
      }, {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value",
        "identity": "rim"
      } ],
      "definition": "This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible."
    }, {
      "path": "FamilyMemberHistory.condition",
      "min": 0,
      "definition": "The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.",
      "short": "Condition that the related person had",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value,
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "FamilyMemberHistory.condition",
      "comment": "If none of the conditions listed have an outcome of \"death\" specified, that indicates that none of the specified conditions are known to have been the primary cause of death."
    }, {
      "path": "FamilyMemberHistory.condition.code",
      "min": 1,
      "definition": "The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.",
      "short": "Condition suffered by relation",
      "mapping": [ {
        "map": ".value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConditionCode"
        } ],
        "description": "Identification of the Condition or diagnosis."
      },
      "max": "1",
      "id": "FamilyMemberHistory.condition.code"
    }, {
      "path": "FamilyMemberHistory.condition.outcome",
      "min": 0,
      "definition": "Indicates what happened as a result of this condition.  If the condition resulted in death, deceased date is captured on the relation.",
      "short": "deceased | permanent disability | etc.",
      "mapping": [ {
        "map": "outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-outcome",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConditionOutcome"
        } ],
        "description": "The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc."
      },
      "max": "1",
      "id": "FamilyMemberHistory.condition.outcome"
    }, {
      "path": "FamilyMemberHistory.condition.onset[x]",
      "requirements": "Age of onset of a condition in relatives is predictive of risk for the patient.",
      "min": 0,
      "definition": "Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence.",
      "short": "When condition first manifested",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"Subject Age at measurement\", value,
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Age"
      }, {
        "code": "Range"
      }, {
        "code": "Period"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "FamilyMemberHistory.condition.onset[x]"
    }, {
      "id": "FamilyMemberHistory.condition.note",
      "max": "*",
      "min": 0,
      "path": "FamilyMemberHistory.condition.note",
      "type": [ {
        "code": "Annotation"
      } ],
      "short": "Extra information about condition",
      "mapping": [ {
        "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value",
        "identity": "rim"
      } ],
      "definition": "An area where general notes can be placed about this specific condition."
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/fhir",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/patientcare/index.cfm",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}