Das Patient Profil

Das Profil für die Patient Resource

SpeciesI1..*Extension(CodeableConcept)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
activeΣ ?!0..1boolean
useΣ ?!0..1codeBinding
textΣ0..1string
familyΣ1..1string
givenΣ1..1string
prefixΣ0..*string
suffixΣ0..*string
periodΣ I0..1Period
telecomΣ I0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ0..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ1..1MyAddress
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photoI0..*Attachment
relationship0..*CodeableConceptBinding
nameS0..1HumanName
telecomI0..*ContactPoint
address0..1MyAddress
gender0..1codeBinding
organizationI0..1Reference(Organization)
periodI0..1Period
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitionerI0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ I0..1Reference(Organization)
otherΣ I1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

Beispiel:

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="81d94318-d775-4a82-bf18-8b11c0a5cf7b" />
    <meta>
        <lastUpdated value="2019-11-13T14:42:11.623+00:00" />
    </meta>
    <url value="http://meintest.de/fhir/StructureDefinition/MyPatient" />
    <name value="MyPatient" />
    <status value="draft" />
    <date value="2019-11-13T14:42:10.9819434+00:00" />
    <description value="Mein Patient" />
    <fhirVersion value="4.0.0" />
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <mapping>
        <identity value="cda" />
        <uri value="http://hl7.org/v3/cda" />
        <name value="CDA (R2)" />
    </mapping>
    <mapping>
        <identity value="w5" />
        <uri value="http://hl7.org/fhir/fivews" />
        <name value="FiveWs Pattern Mapping" />
    </mapping>
    <mapping>
        <identity value="v2" />
        <uri value="http://hl7.org/v2" />
        <name value="HL7 v2 Mapping" />
    </mapping>
    <mapping>
        <identity value="loinc" />
        <uri value="http://loinc.org" />
        <name value="LOINC code for the element" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="Patient" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
    <derivation value="constraint" />
    <differential>
        <element id="Patient">
            <path value="Patient" />
            <constraint>
                <key value="pat-kvid" />
                <severity value="error" />
                <human value="Deutsch mit KV" />
                <xpath value="Patient.identifier.where(system=&#39;http://fhir.de/NamingSystem/gkv/kvid-10&#39;).exists().not() or Patient.adress.exists(country=&#39;Deutschland&#39;)" />
            </constraint>
        </element>
        <element id="Patient.extension">
            <path value="Patient.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Patient.extension:Species">
            <path value="Patient.extension" />
            <sliceName value="Species" />
            <min value="1" />
            <max value="*" />
            <type>
                <code value="Extension" />
                <profile value="http://meintest.de/fhir/StructureDefinition/MyExtension" />
            </type>
        </element>
        <element id="Patient.identifier">
            <path value="Patient.identifier" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Patient.identifier:citizenid">
            <path value="Patient.identifier" />
            <sliceName value="citizenid" />
        </element>
        <element id="Patient.identifier:citizenid.system">
            <path value="Patient.identifier.system" />
            <min value="1" />
            <fixedUri value="http://fhir.ufp/NamingSystem/ufp-citizen-id" />
        </element>
        <element id="Patient.identifier:citizenid.value">
            <path value="Patient.identifier.value" />
            <min value="1" />
        </element>
        <element id="Patient.identifier:kvid">
            <path value="Patient.identifier" />
            <sliceName value="kvid" />
        </element>
        <element id="Patient.identifier:kvid.system">
            <path value="Patient.identifier.system" />
            <fixedUri value="http://fhir.de/NamingSystem/gkv/kvid-10" />
        </element>
        <element id="Patient.identifier:kvid.value">
            <path value="Patient.identifier.value" />
            <min value="1" />
        </element>
        <element id="Patient.name">
            <path value="Patient.name" />
            <min value="1" />
        </element>
        <element id="Patient.name.family">
            <path value="Patient.name.family" />
            <min value="1" />
        </element>
        <element id="Patient.name.given">
            <path value="Patient.name.given" />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Patient.address">
            <path value="Patient.address" />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="Address" />
                <profile value="http://meintest.de/fhir/StructureDefinition/MyAddress" />
            </type>
        </element>
        <element id="Patient.contact.name">
            <path value="Patient.contact.name" />
            <mustSupport value="true" />
        </element>
        <element id="Patient.contact.address">
            <path value="Patient.contact.address" />
            <type>
                <code value="Address" />
                <profile value="http://meintest.de/fhir/StructureDefinition/MyAddress" />
            </type>
        </element>
    </differential>
</StructureDefinition>

{
    "resourceType": "StructureDefinition",
    "id": "81d94318-d775-4a82-bf18-8b11c0a5cf7b",
    "meta": {
        "lastUpdated": "2019-11-13T14:42:11.623+00:00"
    },
    "url": "http://meintest.de/fhir/StructureDefinition/MyPatient",
    "name": "MyPatient",
    "status": "draft",
    "date": "2019-11-13T14:42:10.9819434+00:00",
    "description": "Mein Patient",
    "fhirVersion": "4.0.0",
    "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"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "Patient",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Patient",
                "path": "Patient",
                "constraint":  [
                    {
                        "key": "pat-kvid",
                        "severity": "error",
                        "human": "Deutsch mit KV",
                        "xpath": "Patient.identifier.where(system='http://fhir.de/NamingSystem/gkv/kvid-10').exists().not() or Patient.adress.exists(country='Deutschland')"
                    }
                ]
            },
            {
                "id": "Patient.extension",
                "path": "Patient.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Patient.extension:Species",
                "path": "Patient.extension",
                "sliceName": "Species",
                "min": 1,
                "max": "*",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://meintest.de/fhir/StructureDefinition/MyExtension"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.identifier",
                "path": "Patient.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Patient.identifier:citizenid",
                "path": "Patient.identifier",
                "sliceName": "citizenid"
            },
            {
                "id": "Patient.identifier:citizenid.system",
                "path": "Patient.identifier.system",
                "min": 1,
                "fixedUri": "http://fhir.ufp/NamingSystem/ufp-citizen-id"
            },
            {
                "id": "Patient.identifier:citizenid.value",
                "path": "Patient.identifier.value",
                "min": 1
            },
            {
                "id": "Patient.identifier:kvid",
                "path": "Patient.identifier",
                "sliceName": "kvid"
            },
            {
                "id": "Patient.identifier:kvid.system",
                "path": "Patient.identifier.system",
                "fixedUri": "http://fhir.de/NamingSystem/gkv/kvid-10"
            },
            {
                "id": "Patient.identifier:kvid.value",
                "path": "Patient.identifier.value",
                "min": 1
            },
            {
                "id": "Patient.name",
                "path": "Patient.name",
                "min": 1
            },
            {
                "id": "Patient.name.family",
                "path": "Patient.name.family",
                "min": 1
            },
            {
                "id": "Patient.name.given",
                "path": "Patient.name.given",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Patient.address",
                "path": "Patient.address",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "Address",
                        "profile":  [
                            "http://meintest.de/fhir/StructureDefinition/MyAddress"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.contact.name",
                "path": "Patient.contact.name",
                "mustSupport": true
            },
            {
                "id": "Patient.contact.address",
                "path": "Patient.contact.address",
                "type":  [
                    {
                        "code": "Address",
                        "profile":  [
                            "http://meintest.de/fhir/StructureDefinition/MyAddress"
                        ]
                    }
                ]
            }
        ]
    }
}