erledigt

FQL on Depencencies don't work

Redering Profiles from Dependencies work:

{ {render:https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenSuchergebnisse}}

typeFixed Value
total1..
fullUrl1..
resource1..ISiKDokumentenMetadaten

FQLs from Dependencies don't work

Udate: fixed in Version 2024.5.3!!

"using closure" in FQL hinzufügen

using closure
from
	StructureDefinition
where
	url = 'https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenSuchergebnisse'
select
	Canonical: url, Status: status, Version: version, Basis: baseDefinition
Canonicalhttps://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenSuchergebnisse
Statusactive
Version3.0.0
Basishttp://hl7.org/fhir/StructureDefinition/Bundle

subject Variable in FQL

  • Is it even possible?
  • What's the correct syntax?

non condition (no subject filter is applied)

CanonicalStatusVersionBasis
https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenMetadatenactive3.0.0http://hl7.org/fhir/StructureDefinition/DocumentReference
http://example.org/StructureDefinition/MeineExtensionactivehttp://hl7.org/fhir/StructureDefinition/Extension
http://fhir.de/test/StructureDefinition/MeineExtensiondraft4.0.1http://hl7.org/fhir/StructureDefinition/Extension
http://example.org/StructureDefinition/MeinPatientProfilhttp://hl7.org/fhir/StructureDefinition/Patient
http://fhir.de/test/StructureDefinition/MeinPatientProfildraft4.0.1http://hl7.org/fhir/StructureDefinition/Patient

Plain

$

Compilation failed: Parsing failure: unexpected '='; expected end of input (Line 1, Column 5); recently consumed: url

%

Invocation of operator '=' failed: Unknown symbol 'subject'

Ticked

Double Curls

Query syntax is not valid. Location: url = |
Command 'subject' could not render: There is no placeholder called 'subject'

Single Curls

Query syntax is not valid. Location: url = |{subject}

Extension Trees in inactive Tabs don't show

This works

id0..1string
extensionC0..0Extension
url1..1uriFixed Value
valueStringstring
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeineExtension" />
<url value="http://example.org/StructureDefinition/MeineExtension" />
<name value="MeineExtension" />
<status value="active" />
<description value="Extension für IG Template" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<type value="element" />
<expression value="Patient" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<element id="Extension">
<path value="Extension" />
<definition value="Extension für IG Template" />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<max value="0" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://example.org/StructureDefinition/MeineExtension" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<code value="string" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeineExtension",
"url": "http://example.org/StructureDefinition/MeineExtension",
"name": "MeineExtension",
"status": "active",
"description": "Extension für IG Template",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Patient"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"element": [
{
"id": "Extension",
"path": "Extension",
"definition": "Extension für IG Template"
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://example.org/StructureDefinition/MeineExtension"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "string"
}
]
}
]
}
}

This works

<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeineExtension" />
<url value="http://example.org/StructureDefinition/MeineExtension" />
<name value="MeineExtension" />
<status value="active" />
<description value="Extension für IG Template" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<type value="element" />
<expression value="Patient" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<element id="Extension">
<path value="Extension" />
<definition value="Extension für IG Template" />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<max value="0" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://example.org/StructureDefinition/MeineExtension" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<code value="string" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeineExtension",
"url": "http://example.org/StructureDefinition/MeineExtension",
"name": "MeineExtension",
"status": "active",
"description": "Extension für IG Template",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Patient"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"element": [
{
"id": "Extension",
"path": "Extension",
"definition": "Extension für IG Template"
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://example.org/StructureDefinition/MeineExtension"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "string"
}
]
}
]
}
}
id0..1string
extensionC0..0Extension
url1..1uriFixed Value
valueStringstring

This doesn't work (tree doesn't render)

<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeineExtension" />
<url value="http://example.org/StructureDefinition/MeineExtension" />
<name value="MeineExtension" />
<status value="active" />
<description value="Extension für IG Template" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<type value="element" />
<expression value="Patient" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<element id="Extension">
<path value="Extension" />
<definition value="Extension für IG Template" />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<max value="0" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://example.org/StructureDefinition/MeineExtension" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<code value="string" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeineExtension",
"url": "http://example.org/StructureDefinition/MeineExtension",
"name": "MeineExtension",
"status": "active",
"description": "Extension für IG Template",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Patient"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"element": [
{
"id": "Extension",
"path": "Extension",
"definition": "Extension für IG Template"
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://example.org/StructureDefinition/MeineExtension"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "string"
}
]
}
]
}
}
id0..1string
extensionC0..0Extension
url1..1uriFixed Value
valueStringstring

This doesn't work (tree doesn't render)

id0..1string
extensionC0..0Extension
url1..1uriFixed Value
valueStringstring
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeineExtension" />
<url value="http://example.org/StructureDefinition/MeineExtension" />
<name value="MeineExtension" />
<status value="active" />
<description value="Extension für IG Template" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
<abstract value="false" />
<type value="element" />
<expression value="Patient" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<element id="Extension">
<path value="Extension" />
<definition value="Extension für IG Template" />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<max value="0" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="http://example.org/StructureDefinition/MeineExtension" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<code value="string" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeineExtension",
"url": "http://example.org/StructureDefinition/MeineExtension",
"name": "MeineExtension",
"status": "active",
"description": "Extension für IG Template",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Patient"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"element": [
{
"id": "Extension",
"path": "Extension",
"definition": "Extension für IG Template"
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://example.org/StructureDefinition/MeineExtension"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "string"
}
]
}
]
}
}

Profile Trees in inactive tabs don't show

This works (tree tab is first in sequence and active by default)

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeinPatientProfil" />
<url value="http://example.org/StructureDefinition/MeinPatientProfil" />
<name value="MeinPatientProfil" />
<title value="Mein Patienten-Profil" />
<description value="Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<identity value="cda" />
<uri value="http://hl7.org/v3/cda" />
<name value="CDA (R2)" />
</mapping>
<identity value="w5" />
<uri value="http://hl7.org/fhir/fivews" />
<name value="FiveWs Pattern Mapping" />
</mapping>
<identity value="v2" />
<uri value="http://hl7.org/v2" />
<name value="HL7 v2 Mapping" />
</mapping>
<identity value="loinc" />
<uri value="http://loinc.org" />
<name value="LOINC code for the element" />
</mapping>
<identity value="meinErstesPatientenMapping" />
<uri value="Meine Datenbank" />
<comment value="Mapping der Patientenressource auf meine Datenbank" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<uri value="Meine andere Datenbank" />
<comment value="Mapping der Patientenressource auf meine andere Datenbank" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Patient" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
<derivation value="constraint" />
<element id="Patient.name">
<path value="Patient.name" />
<short value="Name" />
<comment value="Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können" />
<min value="1" />
<mustSupport value="true" />
</element>
<element id="Patient.name.family">
<path value="Patient.name.family" />
<short value="Nachnname" />
<comment value="Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**" />
<min value="1" />
<key value="nachname-check" />
<severity value="warning" />
<human value="Der Nachname sollte nicht länger sein als 50 Zeichen!" />
<expression value="length() < 50" />
<source value="http://example.org/StructureDefinition/MeinPatientProfil" />
</constraint>
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
</element>
<element id="Patient.name.given">
<path value="Patient.name.given" />
<short value="Vorname" />
<comment value="Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden" />
<min value="1" />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
</element>
<element id="Patient.name.prefix">
<path value="Patient.name.prefix" />
<short value="Titel" />
<comment value="Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt." />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
</element>
<element id="Patient.birthDate">
<path value="Patient.birthDate" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeinPatientProfil",
"url": "http://example.org/StructureDefinition/MeinPatientProfil",
"name": "MeinPatientProfil",
"title": "Mein Patienten-Profil",
"description": "Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "cda",
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "loinc",
"uri": "http://loinc.org",
"name": "LOINC code for the element"
},
{
"identity": "meinErstesPatientenMapping",
"uri": "Meine Datenbank",
"comment": "Mapping der Patientenressource auf meine Datenbank"
},
{
"identity": "meinZweitesPatientenMapping",
"uri": "Meine andere Datenbank",
"comment": "Mapping der Patientenressource auf meine andere Datenbank"
}
],
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"derivation": "constraint",
"element": [
{
"id": "Patient.name",
"path": "Patient.name",
"short": "Name",
"comment": "Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können",
"min": 1,
"mustSupport": true
},
{
"id": "Patient.name.family",
"path": "Patient.name.family",
"short": "Nachnname",
"comment": "Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**",
"min": 1,
{
"key": "nachname-check",
"severity": "warning",
"human": "Der Nachname sollte nicht länger sein als 50 Zeichen!",
"expression": "length() < 50",
"source": "http://example.org/StructureDefinition/MeinPatientProfil"
}
],
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Nachname"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Nachname"
}
]
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"short": "Vorname",
"comment": "Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden",
"min": 1,
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
}
]
},
{
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"short": "Titel",
"comment": "Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt.",
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
}
]
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
}
]
}
]
}
}

This doesn't work (tree tab is not first in sequence and hence not active by default, tree only renders after toggeling buttons)

<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeinPatientProfil" />
<url value="http://example.org/StructureDefinition/MeinPatientProfil" />
<name value="MeinPatientProfil" />
<title value="Mein Patienten-Profil" />
<description value="Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<identity value="cda" />
<uri value="http://hl7.org/v3/cda" />
<name value="CDA (R2)" />
</mapping>
<identity value="w5" />
<uri value="http://hl7.org/fhir/fivews" />
<name value="FiveWs Pattern Mapping" />
</mapping>
<identity value="v2" />
<uri value="http://hl7.org/v2" />
<name value="HL7 v2 Mapping" />
</mapping>
<identity value="loinc" />
<uri value="http://loinc.org" />
<name value="LOINC code for the element" />
</mapping>
<identity value="meinErstesPatientenMapping" />
<uri value="Meine Datenbank" />
<comment value="Mapping der Patientenressource auf meine Datenbank" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<uri value="Meine andere Datenbank" />
<comment value="Mapping der Patientenressource auf meine andere Datenbank" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Patient" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
<derivation value="constraint" />
<element id="Patient.name">
<path value="Patient.name" />
<short value="Name" />
<comment value="Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können" />
<min value="1" />
<mustSupport value="true" />
</element>
<element id="Patient.name.family">
<path value="Patient.name.family" />
<short value="Nachnname" />
<comment value="Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**" />
<min value="1" />
<key value="nachname-check" />
<severity value="warning" />
<human value="Der Nachname sollte nicht länger sein als 50 Zeichen!" />
<expression value="length() < 50" />
<source value="http://example.org/StructureDefinition/MeinPatientProfil" />
</constraint>
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
</element>
<element id="Patient.name.given">
<path value="Patient.name.given" />
<short value="Vorname" />
<comment value="Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden" />
<min value="1" />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
</element>
<element id="Patient.name.prefix">
<path value="Patient.name.prefix" />
<short value="Titel" />
<comment value="Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt." />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
</element>
<element id="Patient.birthDate">
<path value="Patient.birthDate" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeinPatientProfil",
"url": "http://example.org/StructureDefinition/MeinPatientProfil",
"name": "MeinPatientProfil",
"title": "Mein Patienten-Profil",
"description": "Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "cda",
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "loinc",
"uri": "http://loinc.org",
"name": "LOINC code for the element"
},
{
"identity": "meinErstesPatientenMapping",
"uri": "Meine Datenbank",
"comment": "Mapping der Patientenressource auf meine Datenbank"
},
{
"identity": "meinZweitesPatientenMapping",
"uri": "Meine andere Datenbank",
"comment": "Mapping der Patientenressource auf meine andere Datenbank"
}
],
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"derivation": "constraint",
"element": [
{
"id": "Patient.name",
"path": "Patient.name",
"short": "Name",
"comment": "Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können",
"min": 1,
"mustSupport": true
},
{
"id": "Patient.name.family",
"path": "Patient.name.family",
"short": "Nachnname",
"comment": "Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**",
"min": 1,
{
"key": "nachname-check",
"severity": "warning",
"human": "Der Nachname sollte nicht länger sein als 50 Zeichen!",
"expression": "length() < 50",
"source": "http://example.org/StructureDefinition/MeinPatientProfil"
}
],
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Nachname"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Nachname"
}
]
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"short": "Vorname",
"comment": "Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden",
"min": 1,
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
}
]
},
{
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"short": "Titel",
"comment": "Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt.",
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
}
]
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
}
]
}
]
}
}
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

This works (tree tab is fixed to snapshot view, works in any tab order)

<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeinPatientProfil" />
<url value="http://example.org/StructureDefinition/MeinPatientProfil" />
<name value="MeinPatientProfil" />
<title value="Mein Patienten-Profil" />
<description value="Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<identity value="cda" />
<uri value="http://hl7.org/v3/cda" />
<name value="CDA (R2)" />
</mapping>
<identity value="w5" />
<uri value="http://hl7.org/fhir/fivews" />
<name value="FiveWs Pattern Mapping" />
</mapping>
<identity value="v2" />
<uri value="http://hl7.org/v2" />
<name value="HL7 v2 Mapping" />
</mapping>
<identity value="loinc" />
<uri value="http://loinc.org" />
<name value="LOINC code for the element" />
</mapping>
<identity value="meinErstesPatientenMapping" />
<uri value="Meine Datenbank" />
<comment value="Mapping der Patientenressource auf meine Datenbank" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<uri value="Meine andere Datenbank" />
<comment value="Mapping der Patientenressource auf meine andere Datenbank" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Patient" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
<derivation value="constraint" />
<element id="Patient.name">
<path value="Patient.name" />
<short value="Name" />
<comment value="Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können" />
<min value="1" />
<mustSupport value="true" />
</element>
<element id="Patient.name.family">
<path value="Patient.name.family" />
<short value="Nachnname" />
<comment value="Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**" />
<min value="1" />
<key value="nachname-check" />
<severity value="warning" />
<human value="Der Nachname sollte nicht länger sein als 50 Zeichen!" />
<expression value="length() < 50" />
<source value="http://example.org/StructureDefinition/MeinPatientProfil" />
</constraint>
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
</element>
<element id="Patient.name.given">
<path value="Patient.name.given" />
<short value="Vorname" />
<comment value="Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden" />
<min value="1" />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
</element>
<element id="Patient.name.prefix">
<path value="Patient.name.prefix" />
<short value="Titel" />
<comment value="Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt." />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
</element>
<element id="Patient.birthDate">
<path value="Patient.birthDate" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeinPatientProfil",
"url": "http://example.org/StructureDefinition/MeinPatientProfil",
"name": "MeinPatientProfil",
"title": "Mein Patienten-Profil",
"description": "Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "cda",
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "loinc",
"uri": "http://loinc.org",
"name": "LOINC code for the element"
},
{
"identity": "meinErstesPatientenMapping",
"uri": "Meine Datenbank",
"comment": "Mapping der Patientenressource auf meine Datenbank"
},
{
"identity": "meinZweitesPatientenMapping",
"uri": "Meine andere Datenbank",
"comment": "Mapping der Patientenressource auf meine andere Datenbank"
}
],
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"derivation": "constraint",
"element": [
{
"id": "Patient.name",
"path": "Patient.name",
"short": "Name",
"comment": "Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können",
"min": 1,
"mustSupport": true
},
{
"id": "Patient.name.family",
"path": "Patient.name.family",
"short": "Nachnname",
"comment": "Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**",
"min": 1,
{
"key": "nachname-check",
"severity": "warning",
"human": "Der Nachname sollte nicht länger sein als 50 Zeichen!",
"expression": "length() < 50",
"source": "http://example.org/StructureDefinition/MeinPatientProfil"
}
],
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Nachname"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Nachname"
}
]
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"short": "Vorname",
"comment": "Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden",
"min": 1,
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
}
]
},
{
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"short": "Titel",
"comment": "Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt.",
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
}
]
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
}
]
}
]
}
}
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

This works (tree tab is last in sequence but forced active)

<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MeinPatientProfil" />
<url value="http://example.org/StructureDefinition/MeinPatientProfil" />
<name value="MeinPatientProfil" />
<title value="Mein Patienten-Profil" />
<description value="Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung" />
<fhirVersion value="4.0.1" />
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<identity value="cda" />
<uri value="http://hl7.org/v3/cda" />
<name value="CDA (R2)" />
</mapping>
<identity value="w5" />
<uri value="http://hl7.org/fhir/fivews" />
<name value="FiveWs Pattern Mapping" />
</mapping>
<identity value="v2" />
<uri value="http://hl7.org/v2" />
<name value="HL7 v2 Mapping" />
</mapping>
<identity value="loinc" />
<uri value="http://loinc.org" />
<name value="LOINC code for the element" />
</mapping>
<identity value="meinErstesPatientenMapping" />
<uri value="Meine Datenbank" />
<comment value="Mapping der Patientenressource auf meine Datenbank" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<uri value="Meine andere Datenbank" />
<comment value="Mapping der Patientenressource auf meine andere Datenbank" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="Patient" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
<derivation value="constraint" />
<element id="Patient.name">
<path value="Patient.name" />
<short value="Name" />
<comment value="Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können" />
<min value="1" />
<mustSupport value="true" />
</element>
<element id="Patient.name.family">
<path value="Patient.name.family" />
<short value="Nachnname" />
<comment value="Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**" />
<min value="1" />
<key value="nachname-check" />
<severity value="warning" />
<human value="Der Nachname sollte nicht länger sein als 50 Zeichen!" />
<expression value="length() < 50" />
<source value="http://example.org/StructureDefinition/MeinPatientProfil" />
</constraint>
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Nachname" />
</mapping>
</element>
<element id="Patient.name.given">
<path value="Patient.name.given" />
<short value="Vorname" />
<comment value="Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden" />
<min value="1" />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Vorname" />
<comment value="Meine DB kann nur einen Vornamen speichern" />
</mapping>
</element>
<element id="Patient.name.prefix">
<path value="Patient.name.prefix" />
<short value="Titel" />
<comment value="Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt." />
<mustSupport value="true" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Titel" />
<comment value="In meiner DB ist nur Dr. oder Prof. erlaubt!" />
</mapping>
</element>
<element id="Patient.birthDate">
<path value="Patient.birthDate" />
<identity value="meinErstesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
<identity value="meinZweitesPatientenMapping" />
<map value="Person.Geburtsdatum" />
<comment value="muss in das Format DD.MM.YYYY konvertiert werden" />
</mapping>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "MeinPatientProfil",
"url": "http://example.org/StructureDefinition/MeinPatientProfil",
"name": "MeinPatientProfil",
"title": "Mein Patienten-Profil",
"description": "Beispielprofil für IG Template. Mit noch mehr Text zu Testzwecken: Hier ist ein [link](http://gefyra.de), und eine \n # Überschrift \n sowie \n * eine \n * Aufzählung",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "cda",
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "loinc",
"uri": "http://loinc.org",
"name": "LOINC code for the element"
},
{
"identity": "meinErstesPatientenMapping",
"uri": "Meine Datenbank",
"comment": "Mapping der Patientenressource auf meine Datenbank"
},
{
"identity": "meinZweitesPatientenMapping",
"uri": "Meine andere Datenbank",
"comment": "Mapping der Patientenressource auf meine andere Datenbank"
}
],
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"derivation": "constraint",
"element": [
{
"id": "Patient.name",
"path": "Patient.name",
"short": "Name",
"comment": "Der Name muss angegeben werden, um die Identität des Patienten verifizieren zu können",
"min": 1,
"mustSupport": true
},
{
"id": "Patient.name.family",
"path": "Patient.name.family",
"short": "Nachnname",
"comment": "Der Nachname des Patienten mit allen Bestandteilen (Vorsatzwort, Namenszusatz, Postfix etc.) muss stets asl ein *vollständiger* [String](http://hl7.org/fhir/datatypes.html#string) angegeben werden. **MARKDOWN-TEST!!!**",
"min": 1,
{
"key": "nachname-check",
"severity": "warning",
"human": "Der Nachname sollte nicht länger sein als 50 Zeichen!",
"expression": "length() < 50",
"source": "http://example.org/StructureDefinition/MeinPatientProfil"
}
],
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Nachname"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Nachname"
}
]
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"short": "Vorname",
"comment": "Der Vorname des Patienten muss stets angegeben werden. Sollte der Vorname in Ausnahmefällen nicht bekannt sein, kann die data-absent-reason-Extension verwendet werden",
"min": 1,
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Vorname",
"comment": "Meine DB kann nur einen Vornamen speichern"
}
]
},
{
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"short": "Titel",
"comment": "Die Angabe eines Titels ist optional, muss jedoch übermittelt werden, sofern bekannt.",
"mustSupport": true,
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Titel",
"comment": "In meiner DB ist nur Dr. oder Prof. erlaubt!"
}
]
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"mapping": [
{
"identity": "meinErstesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
},
{
"identity": "meinZweitesPatientenMapping",
"map": "Person.Geburtsdatum",
"comment": "muss in das Format DD.MM.YYYY konvertiert werden"
}
]
}
]
}
}
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

render/tree expansion for examples

Neither form changes the expand level if subject is an instance instead of a profile

render command

page default expand level

Patient

expand: 1

Patient

expand: 3

Patient

tree command

page default expand level

Patient

expand: 1

Patient

expand: 3

Patient

render/tree expansion for profiles

Neither form changes the expand level if subject is an instance instead of a profile

render command

page default expand level

familyS C1..
givenS1..
prefixS
birthDate

expand: 1

familyS C1..
givenS1..
prefixS
birthDate

expand: 3

familyS C1..
givenS1..
prefixS
birthDate

tree command

page default expand level

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

expand: 1

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

expand: 3

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!0..1boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ0..1string
familyS Σ C1..1string
givenS Σ1..*string
prefixS Σ0..*string
suffixΣ0..*string
periodΣ0..1Period
telecomΣ0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ0..*Address
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photo0..*Attachment
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecom0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationC0..1Reference(Organization)
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitioner0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
otherΣ1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding