Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zib-FamilyHistory #443

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added mappings in nl-core layer and zib layer
  • Loading branch information
Ashwin-nictiz committed Jan 31, 2024
commit 73f189102e0fa516070f479932d36c98b847bdbd
14 changes: 14 additions & 0 deletions resources/nl-core/nl-core-FamilyHistory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,18 @@
<type value="FamilyMemberHistory" />
<baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-FamilyHistory" />
<derivation value="constraint" />
<differential>
<element id="FamilyMemberHistory">
<path value="FamilyMemberHistory" />
<alias value="nl-core-FamilyHistory" />
</element>
<element id="FamilyMemberHistory.patient">
<path value="FamilyMemberHistory.patient" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
<targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" />
</type>
</element>
</differential>
</StructureDefinition>
84 changes: 84 additions & 0 deletions resources/zib/zib-FamilyHistory.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,68 @@
<comment value="FamilyHistory" />
</mapping>
</element>
<element id="FamilyMemberHistory.date">
<path value="FamilyMemberHistory.date" />
<short value="Date" />
<definition value="Date on which the family history was entered. A ‘vague’ date is permitted." />
<alias value="Datum" />
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.2" />
<comment value="Date" />
</mapping>
</element>
<element id="FamilyMemberHistory.relationship">
<path value="FamilyMemberHistory.relationship" />
<short value="BiologicalRelationship" />
<definition value="Indicates the biological relationship of the family member to the patient." />
<alias value="BiologischeRelatie" />
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.4" />
<comment value="BiologicalRelationship" />
</mapping>
</element>
<element id="FamilyMemberHistory.deceased[x]">
<path value="FamilyMemberHistory.deceased[x]" />
<slicing>
<discriminator>
<type value="type" />
<path value="$this" />
</discriminator>
<rules value="open" />
</slicing>
</element>
<element id="FamilyMemberHistory.deceased[x]:deceasedBoolean">
<path value="FamilyMemberHistory.deceased[x]" />
<sliceName value="deceasedBoolean" />
<short value="DeathIndicator" />
<definition value="An indication stating whether the family member has died." />
<alias value="OverlijdensIndicator" />
<type>
<code value="boolean" />
</type>
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.10" />
<comment value="DeathIndicator" />
</mapping>
</element>
<element id="FamilyMemberHistory.deceased[x]:deceasedAge">
<path value="FamilyMemberHistory.deceased[x]" />
<sliceName value="deceasedAge" />
<short value="AgeAtDeath" />
<definition value="The age at which the family member died." />
<alias value="LeeftijdBijOverlijden" />
<type>
<code value="Age" />
</type>
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.12" />
<comment value="AgeAtDeath" />
</mapping>
</element>
<element id="FamilyMemberHistory.note">
<path value="FamilyMemberHistory.note" />
<max value="1" />
Expand All @@ -54,5 +116,27 @@
<comment value="Comment" />
</mapping>
</element>
<element id="FamilyMemberHistory.condition">
<path value="FamilyMemberHistory.condition" />
<short value="Problem" />
<definition value="The health problem of the family member in question, which is recorded for the family history." />
<alias value="Probleem" />
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.7" />
<comment value="Problem" />
</mapping>
</element>
<element id="FamilyMemberHistory.condition.contributedToDeath">
<path value="FamilyMemberHistory.condition.contributedToDeath" />
<short value="IsCauseOfDeath" />
<definition value="Indication stating whether the described health problem was the cause of death of the family member." />
<alias value="IsDoodsoorzaak" />
<mapping>
<identity value="zib-familyhistory-v3.1-2020EN" />
<map value="NL-CM:6.1.9" />
<comment value="IsCauseOfDeath" />
</mapping>
</element>
</differential>
</StructureDefinition>