2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Familyhistory.profile.json

Raw JSON (canonical form)

Profile for familyhistory

{
  "resourceType": "Profile",
  "id": "FamilyHistory",
  "meta": {
    "lastUpdated": "2015-02-23T09:07:27.665+11:00"
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/Profile/FamilyHistory",
  "name": "FamilyHistory",
  "publisher": "HL7 FHIR Project (Patient Care)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/patientcare/index.cfm"
        }
      ]
    }
  ],
  "description": "Base Profile for FamilyHistory Resource",
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    }
  ],
  "type": "FamilyHistory",
  "snapshot": {
    "element": [
      {
        "path": "FamilyHistory",
        "short": "Information about patient's relatives, relevant for patient",
        "definition": "Significant health events and conditions for people related to the subject relevant in the context of care for the subject.",
        "min": 1,
        "max": "1",
        "mapping": [
          {
            "identity": "v2",
            "map": "Not in scope for v2"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "FamilyHistory.id",
        "short": "Logical id of this artefact",
        "definition": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "FamilyHistory.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Meta"
          }
        ]
      },
      {
        "path": "FamilyHistory.implicitRules",
        "short": "A set of rules under which this content was created",
        "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.",
        "comments": "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 as much as possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true
      },
      {
        "path": "FamilyHistory.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "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\n\nNot 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).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "name": "Language",
          "isExtensible": false,
          "conformance": "required",
          "description": "A human language",
          "referenceUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "FamilyHistory.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "synonym": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "FamilyHistory.contained",
        "short": "Contained, inline Resources",
        "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.",
        "comments": "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.",
        "synonym": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "FamilyHistory.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "FamilyHistory.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "FamilyHistory.identifier",
        "short": "External Id(s) for this record",
        "definition": "This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements": "Need to allow connection to a wider workflow.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "id"
          }
        ]
      },
      {
        "path": "FamilyHistory.patient",
        "short": "Patient history is about",
        "definition": "The person who this history concerns.",
        "synonym": [
          "Proband"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/Profile/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].role"
          }
        ]
      },
      {
        "path": "FamilyHistory.date",
        "short": "When history was captured/updated",
        "definition": "The date (and possibly time) when the family history was taken.",
        "requirements": "Allows determination of how current the summary is.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "path": "FamilyHistory.note",
        "short": "Additional details not covered elsewhere",
        "definition": "Conveys information about family history not specific to individual relations.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation",
        "short": "Relative described by history",
        "definition": "The related person. Each FamilyHistory resource contains the entire family history for a single person.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "fhs-1",
            "name": "Age or Birthdate",
            "severity": "error",
            "human": "Can have age[x] or birth[x], but not both",
            "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].role[classCode=PAT].player[classCode<LIV, moodCode=INSTANCE].scopedRole"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.name",
        "short": "The family member described",
        "definition": "This will either be a name or a description.  E.g. \"Aunt Susan\", \"my cousin with the red hair\".",
        "requirements": "Allows greater ease in ensuring the same person is being talked about.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "name"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.relationship",
        "short": "Relationship to the subject",
        "definition": "The type of relationship this person has to the patient (father, mother, brother etc.).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "FamilialRelationship",
          "isExtensible": true,
          "conformance": "preferred",
          "description": "The nature of the relationship between the patient and the related person being described in the family history",
          "referenceReference": {
            "reference": "http://hl7.org/fhir/v3/vs/FamilyMember"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.born[x]",
        "short": "(approximate) date of birth",
        "definition": "The actual or approximate date of birth of the relative.",
        "requirements": "Allows calculation of the relative's age.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "fhs-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.age[x]",
        "short": "(approximate) age",
        "definition": "The actual or approximate age of the relative at the time the family history is recorded.",
        "requirements": "While age can be calculated from date of birth, sometimes recording age directly is more natureal for clinicians.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "fhs-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code=\"age\"].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.deceased[x]",
        "short": "Dead? How old/when?",
        "definition": "If this resource is indicating that the related person is deceased, then an indicator of whether the person is deceased (yes) or not (no) or the age or age range or description of age at death - can be indicated here. If the reason for death is known, then it can be indicated in the outcome code of the condition - in this case the deceased property should still be set.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)\n\nFor age, you'd hang an observation off the role"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.note",
        "short": "General note about related person",
        "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.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition",
        "short": "Condition that the related person had",
        "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.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value<Diagnosis]"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "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 that contains it. Usually modifier elements provide negation or qualification. In order 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.",
        "comments": "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.",
        "synonym": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.type",
        "short": "Condition suffered by relation",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.outcome",
        "short": "deceased | permanent disability | etc.",
        "definition": "Indicates what happened as a result of this condition.  If the condition resulted in death, deceased date is captured on the relation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "ConditionOutcome",
          "isExtensible": true,
          "conformance": "preferred",
          "description": "The result of the condition for the patient.  E.g. death, permanent disability, temporary disability, etc."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.onset[x]",
        "short": "When condition first manifested",
        "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.",
        "requirements": "Age of onset of a condition in relatives is predictive of risk for the patient.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"Subject Age at measurement\", value<Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS']\n\nUse originalText for string"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.note",
        "short": "Extra information about condition",
        "definition": "An area where general notes can be placed about this specific condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "FamilyHistory",
        "short": "Information about patient's relatives, relevant for patient",
        "definition": "Significant health events and conditions for people related to the subject relevant in the context of care for the subject.",
        "min": 1,
        "max": "1",
        "mapping": [
          {
            "identity": "v2",
            "map": "Not in scope for v2"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "FamilyHistory.identifier",
        "short": "External Id(s) for this record",
        "definition": "This records identifiers associated with this family history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements": "Need to allow connection to a wider workflow.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "id"
          }
        ]
      },
      {
        "path": "FamilyHistory.patient",
        "short": "Patient history is about",
        "definition": "The person who this history concerns.",
        "synonym": [
          "Proband"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/Profile/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].role"
          }
        ]
      },
      {
        "path": "FamilyHistory.date",
        "short": "When history was captured/updated",
        "definition": "The date (and possibly time) when the family history was taken.",
        "requirements": "Allows determination of how current the summary is.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "path": "FamilyHistory.note",
        "short": "Additional details not covered elsewhere",
        "definition": "Conveys information about family history not specific to individual relations.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation",
        "short": "Relative described by history",
        "definition": "The related person. Each FamilyHistory resource contains the entire family history for a single person.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "fhs-1",
            "name": "Age or Birthdate",
            "severity": "error",
            "human": "Can have age[x] or birth[x], but not both",
            "xpath": "not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].role[classCode=PAT].player[classCode<LIV, moodCode=INSTANCE].scopedRole"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.name",
        "short": "The family member described",
        "definition": "This will either be a name or a description.  E.g. \"Aunt Susan\", \"my cousin with the red hair\".",
        "requirements": "Allows greater ease in ensuring the same person is being talked about.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "name"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.relationship",
        "short": "Relationship to the subject",
        "definition": "The type of relationship this person has to the patient (father, mother, brother etc.).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "FamilialRelationship",
          "isExtensible": true,
          "conformance": "preferred",
          "description": "The nature of the relationship between the patient and the related person being described in the family history",
          "referenceReference": {
            "reference": "http://hl7.org/fhir/v3/vs/FamilyMember"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.born[x]",
        "short": "(approximate) date of birth",
        "definition": "The actual or approximate date of birth of the relative.",
        "requirements": "Allows calculation of the relative's age.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "fhs-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.age[x]",
        "short": "(approximate) age",
        "definition": "The actual or approximate age of the relative at the time the family history is recorded.",
        "requirements": "While age can be calculated from date of birth, sometimes recording age directly is more natureal for clinicians.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "fhs-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code=\"age\"].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.deceased[x]",
        "short": "Dead? How old/when?",
        "definition": "If this resource is indicating that the related person is deceased, then an indicator of whether the person is deceased (yes) or not (no) or the age or age range or description of age at death - can be indicated here. If the reason for death is known, then it can be indicated in the outcome code of the condition - in this case the deceased property should still be set.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG)\n\nFor age, you'd hang an observation off the role"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.note",
        "short": "General note about related person",
        "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.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition",
        "short": "Condition that the related person had",
        "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.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value<Diagnosis]"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.type",
        "short": "Condition suffered by relation",
        "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.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.outcome",
        "short": "deceased | permanent disability | etc.",
        "definition": "Indicates what happened as a result of this condition.  If the condition resulted in death, deceased date is captured on the relation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "ConditionOutcome",
          "isExtensible": true,
          "conformance": "preferred",
          "description": "The result of the condition for the patient.  E.g. death, permanent disability, temporary disability, etc."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.onset[x]",
        "short": "When condition first manifested",
        "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.",
        "requirements": "Age of onset of a condition in relatives is predictive of risk for the patient.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Age"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"Subject Age at measurement\", value<Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS']\n\nUse originalText for string"
          }
        ]
      },
      {
        "path": "FamilyHistory.relation.condition.note",
        "short": "Extra information about condition",
        "definition": "An area where general notes can be placed about this specific condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value"
          }
        ]
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.