My xml content
<StructureDefinition xmlns="http://hl7.org/fhir"> <url value="https://example.org/fhir/StructureDefinition/MyPatientz" /> <name value="MyPatientz" /> <status value="draft" /> <fhirVersion value="4.0.1" /> <kind value="resource" /> <abstract value="false" /> <type value="Patient" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" /> <derivation value="constraint" /> <differential> <element id="Patient.name"> <path value="Patient.name" /> <slicing> <discriminator> <type value="value" /> <path value="$this" /> </discriminator> <rules value="open" /> </slicing> </element> <element id="Patient.name.extension:narrativeLink"> <path value="Patient.name.extension" /> <sliceName value="narrativeLink" /> <type> <code value="Extension" /> <profile value="https://example.org/fhir/StructureDefinition/narrativeLink" /> </type> <isModifier value="false" /> </element> <element id="Patient.name:PieceOfCake"> <path value="Patient.name" /> <sliceName value="PieceOfCake" /> </element> <element id="Patient.name:PieceOfCake.extension:narrativeLink1"> <path value="Patient.name.extension" /> <sliceName value="narrativeLink1" /> <type> <code value="Extension" /> <profile value="https://example.org/fhir/StructureDefinition/narrativeLink" /> </type> <isModifier value="false" /> </element> <element id="Patient.name:PieceOfCake.extension:narrativeLink2"> <path value="Patient.name.extension" /> <sliceName value="narrativeLink2" /> <type> <code value="Extension" /> <profile value="https://example.org/fhir/StructureDefinition/narrativeLink" /> </type> <isModifier value="false" /> </element> <element id="Patient.name:SecondPieceOfCake"> <path value="Patient.name" /> <sliceName value="SecondPieceOfCake" /> </element> <element id="Patient.name:SecondPieceOfCake.extension:narrativeLink1"> <path value="Patient.name.extension" /> <sliceName value="narrativeLink1" /> <type> <code value="Extension" /> <profile value="https://example.org/fhir/StructureDefinition/narrativeLink" /> </type> <isModifier value="false" /> </element> </differential> </StructureDefinition>
My json content
{ "resourceType": "StructureDefinition", "url": "https://example.org/fhir/StructureDefinition/MyPatientz", "name": "MyPatientz", "status": "draft", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "Patient", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient", "derivation": "constraint", "differential": { "element": [ { "id": "Patient.name", "path": "Patient.name", "slicing": { "discriminator": [ { "type": "value", "path": "$this" } ], "rules": "open" } }, { "id": "Patient.name.extension:narrativeLink", "path": "Patient.name.extension", "sliceName": "narrativeLink", "type": [ { "code": "Extension", "profile": [ "https://example.org/fhir/StructureDefinition/narrativeLink" ] } ], "isModifier": false }, { "id": "Patient.name:PieceOfCake", "path": "Patient.name", "sliceName": "PieceOfCake" }, { "id": "Patient.name:PieceOfCake.extension:narrativeLink1", "path": "Patient.name.extension", "sliceName": "narrativeLink1", "type": [ { "code": "Extension", "profile": [ "https://example.org/fhir/StructureDefinition/narrativeLink" ] } ], "isModifier": false }, { "id": "Patient.name:PieceOfCake.extension:narrativeLink2", "path": "Patient.name.extension", "sliceName": "narrativeLink2", "type": [ { "code": "Extension", "profile": [ "https://example.org/fhir/StructureDefinition/narrativeLink" ] } ], "isModifier": false }, { "id": "Patient.name:SecondPieceOfCake", "path": "Patient.name", "sliceName": "SecondPieceOfCake" }, { "id": "Patient.name:SecondPieceOfCake.extension:narrativeLink1", "path": "Patient.name.extension", "sliceName": "narrativeLink1", "type": [ { "code": "Extension", "profile": [ "https://example.org/fhir/StructureDefinition/narrativeLink" ] } ], "isModifier": false } ] } }
6.6.2.1. 12
##12
6.6.2.1.0.1. 12
####12