Home

Dit is een test

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textI0..1Narrative
contained0..*Resource
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueCodeableConcept0..1CodeableConceptBinding
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueAddress0..1Address
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!1..1codeBindingFixed Value
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
id0..1string
extensionI0..*Extension
useΣ ?!1..1codeBindingFixed Value
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
activeΣ ?!0..1boolean
id0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueCode0..1codeBinding
useΣ ?!0..1codeBinding
textΣ0..1string
id0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueString0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueString0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueString0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueString0..1string
value0..1
id0..1string
id0..1string
extensionI0..0Extension
url1..1uriFixed Value
valueCode0..1codeBinding
value0..1
prefixΣ0..1string
suffixΣ0..*string
periodΣ I0..1Period
id0..1string
extensionI0..*Extension
systemΣ I0..1codeBinding
valueΣ1..1string
useΣ ?!1..1codeBindingFixed Value
rankΣ0..1positiveInt
periodΣ I0..1Period
id0..1string
extensionI0..*Extension
systemΣ I0..1codeBinding
valueΣ1..1string
useΣ ?!1..1codeBindingFixed Value
rankΣ0..1positiveInt
periodΣ I0..1Period
genderS Σ0..1codeBinding
birthDateΣ1..1date
deceasedBooleanboolean
deceasedDateTimedateTime
id0..1string
extensionI0..*Extension
useΣ ?! I0..1codeBinding
typeΣ0..1codeBinding
textΣ0..1string
lineΣ0..*string
cityΣ0..1string
districtΣ0..1string
stateΣ0..1string
postalCodeΣ0..1string
countryΣ0..1string
periodΣ I0..1Period
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photoI0..*Attachment
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
relationship0..*CodeableConceptBinding
name0..1HumanName
telecomI0..*ContactPoint
address0..1Address
gender0..1codeBinding
organizationI0..1Reference(Organization)
periodI0..1Period
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
speciesΣ1..1CodeableConcept
breedΣ0..1CodeableConcept
genderStatusΣ0..1CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitionerI0..*Reference(nl-core-practitioner)
managingOrganizationΣ I0..1Reference(Organization)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
otherΣ I1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

{
    "resourceType": "StructureDefinition",
    "id": "64203e4c-0b0a-4712-af36-4a3655e66081",
    "meta": {
        "lastUpdated": "2019-10-15T14:53:19.810+00:00"
    },
    "url": "http://marcels.example.org/fhir/StructureDefinition/Oefening2",
    "name": "Oefening2",
    "status": "draft",
    "date": "2019-10-15T14:53:19.7564787+00:00",
    "description": "Profiel behorend bij oefening 2 van de FHIR profiling training",
    "fhirVersion": "3.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/w5",
            "name": "W5 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.extension",
                "path": "Patient.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Patient.extension:occupation",
                "path": "Patient.extension",
                "sliceName": "occupation",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "http://marcels.example.org/fhir/StructureDefinition/OccupationExtension"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Patient.extension:occupation.valueCodeableConcept:valueCodeableConcept",
                "path": "Patient.extension.valueCodeableConcept",
                "sliceName": "valueCodeableConcept",
                "binding": {
                    "strength": "required"
                }
            },
            {
                "id": "Patient.extension:geboortePlaats",
                "path": "Patient.extension",
                "sliceName": "geboortePlaats",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Patient.extension:geboortePlaats.valueAddress:valueAddress",
                "path": "Patient.extension.valueAddress",
                "sliceName": "valueAddress"
            },
            {
                "id": "Patient.identifier",
                "path": "Patient.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1
            },
            {
                "id": "Patient.identifier:officialIdentifier",
                "path": "Patient.identifier",
                "sliceName": "officialIdentifier",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Patient.identifier:officialIdentifier.use",
                "path": "Patient.identifier.use",
                "min": 1,
                "fixedCode": "official"
            },
            {
                "id": "Patient.identifier:officialIdentifier.system",
                "path": "Patient.identifier.system",
                "min": 1,
                "fixedUri": "http://national.registry.org/ids"
            },
            {
                "id": "Patient.identifier:officialIdentifier.value",
                "path": "Patient.identifier.value",
                "min": 1
            },
            {
                "id": "Patient.identifier:hospitalIdentifier",
                "path": "Patient.identifier",
                "sliceName": "hospitalIdentifier"
            },
            {
                "id": "Patient.identifier:hospitalIdentifier.use",
                "path": "Patient.identifier.use",
                "min": 1,
                "fixedCode": "official"
            },
            {
                "id": "Patient.identifier:hospitalIdentifier.system",
                "path": "Patient.identifier.system",
                "min": 1,
                "fixedUri": "http://erasmusmc.nl/pid"
            },
            {
                "id": "Patient.identifier:hospitalIdentifier.value",
                "path": "Patient.identifier.value",
                "min": 1
            },
            {
                "id": "Patient.name",
                "path": "Patient.name",
                "min": 1,
                "type":  [
                    {
                        "code": "HumanName",
                        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
                    }
                ]
            },
            {
                "id": "Patient.name.family",
                "path": "Patient.name.family",
                "min": 1
            },
            {
                "id": "Patient.name.given",
                "path": "Patient.name.given",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Patient.name.prefix",
                "path": "Patient.name.prefix",
                "max": "1"
            },
            {
                "id": "Patient.telecom",
                "path": "Patient.telecom",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "use"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1
            },
            {
                "id": "Patient.telecom:privateNumber",
                "path": "Patient.telecom",
                "sliceName": "privateNumber",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Patient.telecom:privateNumber.value",
                "path": "Patient.telecom.value",
                "min": 1
            },
            {
                "id": "Patient.telecom:privateNumber.use",
                "path": "Patient.telecom.use",
                "min": 1,
                "fixedCode": "home"
            },
            {
                "id": "Patient.telecom:workNumber",
                "path": "Patient.telecom",
                "sliceName": "workNumber",
                "max": "1"
            },
            {
                "id": "Patient.telecom:workNumber.value",
                "path": "Patient.telecom.value",
                "min": 1
            },
            {
                "id": "Patient.telecom:workNumber.use",
                "path": "Patient.telecom.use",
                "min": 1,
                "fixedCode": "work"
            },
            {
                "id": "Patient.gender",
                "path": "Patient.gender",
                "mustSupport": true
            },
            {
                "id": "Patient.birthDate",
                "path": "Patient.birthDate",
                "min": 1
            },
            {
                "id": "Patient.address",
                "path": "Patient.address",
                "constraint":  [
                    {
                        "key": "temp-adres-period-exists",
                        "severity": "error",
                        "human": "If the patient has a temporary address, the period this address is in use should be filled in",
                        "expression": "(use = 'temp') implies period.exists()"
                    }
                ]
            },
            {
                "id": "Patient.address.use",
                "path": "Patient.address.use",
                "condition":  [
                    "temp-adres-period-exists"
                ]
            },
            {
                "id": "Patient.address.period",
                "path": "Patient.address.period",
                "condition":  [
                    "temp-adres-period-exists"
                ]
            },
            {
                "id": "Patient.generalPractitioner",
                "path": "Patient.generalPractitioner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
                    }
                ]
            }
        ]
    }
}