<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2018-08-22T15:23:46.571+00:00" />
  </meta>
  <url value="https://medico-emr.net/medico/r4/sd/Identifier_medicoResourceId_1" />
  <name value="Identifier_MedicoResourceId_1" />
  <status value="draft" />
  <date value="2018-08-22T15:23:46.446+00:00" />
  <description value="Defines how medico identifiers are made up - usued within slices in each FHIR resource." />
  <fhirVersion value="4.0.0" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Identifier" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Identifier" />
  <derivation value="constraint" />
  <differential>
    <element id="Identifier">
      <path value="Identifier" />
      <definition value="An identifier for medico internal resources" />
    </element>
    <element id="Identifier.id">
      <path value="Identifier.id" />
      <max value="0" />
    </element>
    <element id="Identifier.use">
      <path value="Identifier.use" />
      <max value="0" />
    </element>
    <element id="Identifier.type">
      <path value="Identifier.type" />
      <max value="0" />
    </element>
    <element id="Identifier.system">
      <path value="Identifier.system" />
      <definition value="The resulting value will be https://medico-emr.net/medico/%KUNDE%/sid1/*   &#xD;&#xA; - where * is the in code.code  - see below&#xD;&#xA; - and %KUNDE&amp; is a tenant specific 2-3 character id&#xD;&#xA;for automatic calculation the Code with the system &quot;https://medico-emr.net/medico/cs/customerdefinedsystem&quot; is used" />
      <min value="1" />
    </element>
    <element id="Identifier.value">
      <path value="Identifier.value" />
      <definition value="medico's internal id for this type of medico resource&#xD;&#xA;This value must be unique within medico - for a given value of &quot;system&quot;" />
      <min value="1" />
    </element>
    <element id="Identifier.period">
      <path value="Identifier.period" />
      <max value="0" />
    </element>
    <element id="Identifier.assigner">
      <path value="Identifier.assigner" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>