AllergyIntolerance Profiles

TODO: Project must be set to a specific FHIR version, therefore there will be issues rendering on or the other profile. Currently set to R4, other rendering issues with the CareConnect resource on top of this issue even when set to STU3 Current both profile tabs have R4 AllergyIntolerance.

TODO: Simplifier doesn't render diff blocks for markdown, therefore using html version of the markdown file which is a bit messy. Would be worth looking into what simplifier supports in terms of markdown, documentation seems a bit light.

This page provides the STU3 CareConnect and UKCore profile of the AllergyIntolerance resource and a generated StructureDefinition diff.


Command 'tree' could not render: Invalid resource structure: Type checking the data: Encountered unknown element 'valueSetReference' at location 'StructureDefinition.differential[0].element[7].binding[0].valueSetReference[0]' while parsing

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
allergyIntoleranceEndI0..1Extension(Complex)
evidenceI0..*Extension(Reference(UK Core DiagnosticReport))
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
clinicalStatusΣ ?! I0..1CodeableConceptBinding
verificationStatusΣ ?! I0..1CodeableConceptBinding
typeΣ0..1codeBinding
categoryΣ0..*codeBinding
criticalityΣ0..1codeBinding
codeΣ1..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
onsetDateTimedateTime
onsetAgeAge
onsetPeriodPeriod
onsetRangeRange
onsetStringstring
recordedDate0..1dateTime
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
lastOccurrence0..1dateTime
id0..1string
extensionI0..*Extension
authorStringstring
authorReferenceReference(UK Core Practitioner | UK Core Patient | UK Core RelatedPerson | UK Core Organization)
timeΣ0..1dateTime
textΣ1..1markdown
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
substance0..1CodeableConceptBinding
manifestation1..*CodeableConceptBinding
description0..1string
onset0..1dateTime
severity0..1codeBinding
exposureRoute0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
authorStringstring
authorReferenceReference(UK Core Practitioner | UK Core Patient | UK Core RelatedPerson | UK Core Organization)
timeΣ0..1dateTime
textΣ1..1markdown

{
    "resourceType": "StructureDefinition",
    "meta": {
        "lastUpdated": "2018-03-28T14:03:26.156+01:00"
    },
    "extension":  [
        {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
            "valueCode": "pc"
        }
    ],
    "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-AllergyIntolerance-1",
    "version": "1.2.0",
    "name": "CareConnect-AllergyIntolerance-1",
    "status": "draft",
    "date": "2018-11-05",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "INTEROPen",
            "telecom":  [
                {
                    "system": "email",
                    "value": "admin@interopen.org",
                    "use": "work"
                }
            ]
        }
    ],
    "description": "This AllergyIntolerance Resource records Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.",
    "purpose": "CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/",
    "copyright": "Copyright © 2016 HL7 UK\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\nHL7® FHIR® standard Copyright © 2011+ HL7\n\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\n\nhttps://www.hl7.org/fhir/license.html",
    "fhirVersion": "3.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "AllergyIntolerance",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "AllergyIntolerance.extension",
                "path": "AllergyIntolerance.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.extension:encounter",
                "path": "AllergyIntolerance.extension",
                "sliceName": "encounter",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.extension:allergyEnd",
                "path": "AllergyIntolerance.extension",
                "sliceName": "allergyEnd",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.extension:evidence",
                "path": "AllergyIntolerance.extension",
                "sliceName": "evidence",
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.identifier.system",
                "path": "AllergyIntolerance.identifier.system",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.identifier.value",
                "path": "AllergyIntolerance.identifier.value",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.identifier.assigner",
                "path": "AllergyIntolerance.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.verificationStatus",
                "path": "AllergyIntolerance.verificationStatus",
                "short": "unconfirmed | confirmed",
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceVerificationStatus"
                        }
                    ],
                    "strength": "required",
                    "valueSetReference": {
                        "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyVerificationStatus-1"
                    }
                }
            },
            {
                "id": "AllergyIntolerance.code.coding",
                "path": "AllergyIntolerance.code.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT",
                "path": "AllergyIntolerance.code.coding",
                "sliceName": "snomedCT",
                "max": "1",
                "binding": {
                    "strength": "example",
                    "description": "A code from the SNOMED Clinical Terminology UK or a code from the v3 Code System NullFlavor specifying why a valid value is not present.",
                    "valueSetReference": {
                        "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyCode-1"
                    }
                }
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT.extension",
                "path": "AllergyIntolerance.code.coding.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT.extension:snomedCTDescriptionID",
                "path": "AllergyIntolerance.code.coding.extension",
                "sliceName": "snomedCTDescriptionID",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT.system",
                "path": "AllergyIntolerance.code.coding.system",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT.code",
                "path": "AllergyIntolerance.code.coding.code",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.code.coding:snomedCT.display",
                "extension":  [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                        "valueBoolean": true
                    }
                ],
                "path": "AllergyIntolerance.code.coding.display",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.patient",
                "path": "AllergyIntolerance.patient",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.onset[x]",
                "path": "AllergyIntolerance.onset[x]",
                "mustSupport": true
            },
            {
                "id": "AllergyIntolerance.assertedDate",
                "path": "AllergyIntolerance.assertedDate",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.recorder",
                "path": "AllergyIntolerance.recorder",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.asserter",
                "path": "AllergyIntolerance.asserter",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.note.author[x]",
                "path": "AllergyIntolerance.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                    },
                    {
                        "code": "string"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding",
                "path": "AllergyIntolerance.reaction.substance.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "ordered": false,
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT",
                "path": "AllergyIntolerance.reaction.substance.coding",
                "sliceName": "snomedCT",
                "max": "1"
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT.extension",
                "path": "AllergyIntolerance.reaction.substance.coding.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT.extension:snomedCTDescriptionID",
                "path": "AllergyIntolerance.reaction.substance.coding.extension",
                "sliceName": "snomedCTDescriptionID",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT.system",
                "path": "AllergyIntolerance.reaction.substance.coding.system",
                "min": 1,
                "fixedUri": "http://snomed.info/sct"
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT.code",
                "path": "AllergyIntolerance.reaction.substance.coding.code",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.substance.coding:snomedCT.display",
                "extension":  [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                        "valueBoolean": true
                    }
                ],
                "path": "AllergyIntolerance.reaction.substance.coding.display",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation",
                "path": "AllergyIntolerance.reaction.manifestation",
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "Manifestation"
                        }
                    ],
                    "strength": "extensible",
                    "valueSetReference": {
                        "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyManifestation-1"
                    }
                }
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding",
                "path": "AllergyIntolerance.reaction.manifestation.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "ordered": false,
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT",
                "path": "AllergyIntolerance.reaction.manifestation.coding",
                "sliceName": "snomedCT",
                "max": "1"
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension",
                "path": "AllergyIntolerance.reaction.manifestation.coding.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension:snomedCTDescriptionID",
                "path": "AllergyIntolerance.reaction.manifestation.coding.extension",
                "sliceName": "snomedCTDescriptionID",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT.system",
                "path": "AllergyIntolerance.reaction.manifestation.coding.system",
                "min": 1,
                "fixedUri": "http://snomed.info/sct"
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT.code",
                "path": "AllergyIntolerance.reaction.manifestation.coding.code",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation.coding:snomedCT.display",
                "extension":  [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                        "valueBoolean": true
                    }
                ],
                "path": "AllergyIntolerance.reaction.manifestation.coding.display",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.severity",
                "path": "AllergyIntolerance.reaction.severity",
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "AllergyIntoleranceSeverity"
                        }
                    ],
                    "strength": "required",
                    "valueSetReference": {
                        "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ReactionEventSeverity-1"
                    }
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute",
                "path": "AllergyIntolerance.reaction.exposureRoute",
                "binding": {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                            "valueString": "RouteOfAdministration"
                        }
                    ],
                    "strength": "example",
                    "valueSetReference": {
                        "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyExposureRoute-1"
                    }
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "ordered": false,
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding",
                "sliceName": "snomedCT",
                "max": "1"
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension:snomedCTDescriptionID",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding.extension",
                "sliceName": "snomedCTDescriptionID",
                "type":  [
                    {
                        "code": "Extension",
                        "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.system",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding.system",
                "min": 1,
                "fixedUri": "http://snomed.info/sct"
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.code",
                "path": "AllergyIntolerance.reaction.exposureRoute.coding.code",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.display",
                "extension":  [
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                        "valueBoolean": true
                    }
                ],
                "path": "AllergyIntolerance.reaction.exposureRoute.coding.display",
                "min": 1
            },
            {
                "id": "AllergyIntolerance.reaction.note.author[x]",
                "path": "AllergyIntolerance.reaction.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
                    },
                    {
                        "code": "string"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
                    },
                    {
                        "code": "Reference",
                        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
                    }
                ]
            }
        ]
    }
}

{
    "resourceType": "StructureDefinition",
    "id": "UKCore-AllergyIntolerance",
    "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance",
    "version": "2.2.0",
    "name": "UKCoreAllergyIntolerance",
    "title": "UK Core AllergyIntolerance",
    "status": "active",
    "date": "2022-03-01",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "secretariat@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        },
        {
            "name": "NHS Digital",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 2
                }
            ]
        }
    ],
    "description": "Defines the UK Core constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.",
    "purpose": "This profile allows a record of a clinical assessment of an allergy or intolerance; a propensity, or a potential risk to an individual, to have an adverse reaction on future exposure to the specified substance, or class of substance. \nWhere a propensity is identified, to record information or evidence about a reaction event that is characterised by any harmful or undesirable physiological response that is specific to the individual and triggered by exposure of an individual to the identified substance or class of substance. \nSubstances include but are not limited to a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.",
    "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        },
        {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
        },
        {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "AllergyIntolerance",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "AllergyIntolerance.extension",
                "path": "AllergyIntolerance.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "AllergyIntolerance.extension:allergyIntoleranceEnd",
                "path": "AllergyIntolerance.extension",
                "sliceName": "allergyIntoleranceEnd",
                "min": 0,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.extension:evidence",
                "path": "AllergyIntolerance.extension",
                "sliceName": "evidence",
                "short": "A reference to results of investigations that confirmed the certainty of the diagnosis.",
                "min": 0,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.identifier.assigner",
                "path": "AllergyIntolerance.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.code",
                "path": "AllergyIntolerance.code",
                "min": 1,
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-AllergyCode"
                }
            },
            {
                "id": "AllergyIntolerance.patient",
                "path": "AllergyIntolerance.patient",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.patient.identifier.assigner",
                "path": "AllergyIntolerance.patient.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.encounter",
                "path": "AllergyIntolerance.encounter",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.encounter.identifier.assigner",
                "path": "AllergyIntolerance.encounter.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.recorder",
                "path": "AllergyIntolerance.recorder",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.recorder.identifier.assigner",
                "path": "AllergyIntolerance.recorder.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.asserter",
                "path": "AllergyIntolerance.asserter",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.asserter.identifier.assigner",
                "path": "AllergyIntolerance.asserter.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.note.author[x]",
                "path": "AllergyIntolerance.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    },
                    {
                        "code": "string"
                    }
                ]
            },
            {
                "id": "AllergyIntolerance.reaction.substance",
                "path": "AllergyIntolerance.reaction.substance",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-AllergySubstance"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.manifestation",
                "path": "AllergyIntolerance.reaction.manifestation",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-AllergyManifestation"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.exposureRoute",
                "path": "AllergyIntolerance.reaction.exposureRoute",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute"
                }
            },
            {
                "id": "AllergyIntolerance.reaction.note.author[x]",
                "path": "AllergyIntolerance.reaction.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    },
                    {
                        "code": "string"
                    }
                ]
            }
        ]
    }
}

AllergyIntolerance Profile Diff

Base profile: AllergyIntolerance

Lefthand Profile Version
CareConnect-AllergyIntolerance-1 3.0.1
Righthand Profile Version
UKCoreAllergyIntolerance 4.0.1

Element level diff

Profiles:

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance

Diff:

 AllergyIntolerance.extension  
-AllergyIntolerance.extension:encounter  
-AllergyIntolerance.extension:allergyEnd  
+AllergyIntolerance.extension:allergyIntoleranceEnd  
 AllergyIntolerance.extension:evidence  
-AllergyIntolerance.identifier.system  
-AllergyIntolerance.identifier.value  
 AllergyIntolerance.identifier.assigner  
-AllergyIntolerance.verificationStatus  
-AllergyIntolerance.code.coding  
-AllergyIntolerance.code.coding:snomedCT  
-AllergyIntolerance.code.coding:snomedCT.extension  
-AllergyIntolerance.code.coding:snomedCT.extension:snomedCTDescriptionID  
-AllergyIntolerance.code.coding:snomedCT.system  
-AllergyIntolerance.code.coding:snomedCT.code  
-AllergyIntolerance.code.coding:snomedCT.display  
+AllergyIntolerance.code  
 AllergyIntolerance.patient  
-AllergyIntolerance.onset[x]  
-AllergyIntolerance.assertedDate  
+AllergyIntolerance.patient.identifier.assigner  
+AllergyIntolerance.encounter  
+AllergyIntolerance.encounter.identifier.assigner  
 AllergyIntolerance.recorder  
+AllergyIntolerance.recorder.identifier.assigner  
 AllergyIntolerance.asserter  
+AllergyIntolerance.asserter.identifier.assigner  
 AllergyIntolerance.note.author[x]  
-AllergyIntolerance.reaction.substance.coding  
-AllergyIntolerance.reaction.substance.coding:snomedCT  
-AllergyIntolerance.reaction.substance.coding:snomedCT.extension  
-AllergyIntolerance.reaction.substance.coding:snomedCT.extension:snomedCTDescriptionID  
-AllergyIntolerance.reaction.substance.coding:snomedCT.system  
-AllergyIntolerance.reaction.substance.coding:snomedCT.code  
-AllergyIntolerance.reaction.substance.coding:snomedCT.display  
+AllergyIntolerance.reaction.substance  
 AllergyIntolerance.reaction.manifestation  
-AllergyIntolerance.reaction.manifestation.coding  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension:snomedCTDescriptionID  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT.system  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT.code  
-AllergyIntolerance.reaction.manifestation.coding:snomedCT.display  
-AllergyIntolerance.reaction.severity  
 AllergyIntolerance.reaction.exposureRoute  
-AllergyIntolerance.reaction.exposureRoute.coding  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension:snomedCTDescriptionID  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.system  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.code  
-AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.display  
 AllergyIntolerance.reaction.note.author[x]  


Component level diff

Element: AllergyIntolerance.extension

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined 0

Base

“min” == 0

Element: AllergyIntolerance.extension:evidence

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined 0

Base

“min” == 0

Element: AllergyIntolerance.identifier.assigner

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"  
+    ]  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
  }
]

Element: AllergyIntolerance.patient

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Patient"  
+    ]  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
  }
]

Element: AllergyIntolerance.recorder

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Practitioner",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-PractitionerRole",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Patient",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-RelatedPerson"  
+    ]  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
  }
]

Element: AllergyIntolerance.asserter

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Patient",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-RelatedPerson",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Practitioner",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-PractitionerRole"  
+    ]  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
  }
]

Element: AllergyIntolerance.note.author[x]

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Practitioner",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Patient",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-RelatedPerson",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"  
+    ]  
   },  
   {  
     "code": "string"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
  },
  {
    "code": "string"
  }
]

Element: AllergyIntolerance.reaction.manifestation

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 {  
-  "extension": [  
-    {  
-      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",  
-      "valueString": "Manifestation"  
-    }  
-  ],  
   "strength": "extensible",  
-  "valueSetReference": {  
-    "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyManifestation-1"  
-  }  
+  "valueSet": "https://fhir.simplifier.net/HL7FHIRUKCoreR4/ValueSet/UKCore-AllergyManifestation"  
 }  
  

Base

{
  "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "Manifestation"
    }
  ],
  "strength": "example",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/clinical-findings"
  }
}

Element: AllergyIntolerance.reaction.exposureRoute

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 {  
-  "extension": [  
-    {  
-      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",  
-      "valueString": "RouteOfAdministration"  
-    }  
-  ],  
-  "strength": "example",  
-  "valueSetReference": {  
-    "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyExposureRoute-1"  
-  }  
+  "strength": "extensible",  
+  "valueSet": "https://fhir.simplifier.net/HL7FHIRUKCoreR4/ValueSet/UKCore-SubstanceOrProductAdministrationRoute"  
 }  
  

Base

{
  "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "RouteOfAdministration"
    }
  ],
  "strength": "example",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/route-codes"
  }
}

Element: AllergyIntolerance.reaction.note.author[x]

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
See diff See diff

Diff

 [  
   {  
     "code": "Reference",  
-    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"  
+    "targetProfile": [  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Practitioner",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Patient",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-RelatedPerson",  
+      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"  
+    ]  
   },  
   {  
     "code": "string"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"  
-  },  
-  {  
-    "code": "Reference",  
-    "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"  
   }  
 ]  
  

Base

[
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
  },
  {
    "code": "Reference",
    "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
  },
  {
    "code": "string"
  }
]

Element: AllergyIntolerance.extension:encounter

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.extension:allergyEnd

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.identifier.system

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.identifier.value

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.verificationStatus

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "AllergyIntoleranceVerificationStatus"
    }
  ],
  "strength": "required",
  "valueSetReference": {
    "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyVerificationStatus-1"
  }
}  

Base

{
  "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "AllergyIntoleranceVerificationStatus"
    }
  ],
  "strength": "required",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status"
  }
}

Element: AllergyIntolerance.code.coding

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "system",
      "type": "value"
    }
  ],
  "rules": "open"
}  

Base

“slicing” is not defined in the base element definition.

Element: AllergyIntolerance.code.coding:snomedCT

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "description": "A code from the SNOMED Clinical Terminology UK or a code from the v3 Code System NullFlavor specifying why a valid value is not present.",
  "strength": "example",
  "valueSetReference": {
    "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AllergyCode-1"
  }
}  

Base

“binding” is not defined in the base element definition.

Element: AllergyIntolerance.code.coding:snomedCT.extension

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}  

Base

{
  "description": "Extensions are always sliced by (at least) url",
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}

Element: AllergyIntolerance.code.coding:snomedCT.extension:snomedCTDescriptionID

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.code.coding:snomedCT.system

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.code.coding:snomedCT.code

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.code.coding:snomedCT.display

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.onset[x]

Component: mustSupport

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
True Not defined

Base

“mustSupport” is not defined in the base element definition.

Element: AllergyIntolerance.assertedDate

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.substance.coding

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "system",
      "type": "value"
    }
  ],
  "ordered": false,
  "rules": "open"
}  

Base

“slicing” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.substance.coding:snomedCT

Component: max

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“max” == *

Element: AllergyIntolerance.reaction.substance.coding:snomedCT.extension

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}  

Base

{
  "description": "Extensions are always sliced by (at least) url",
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}

Element: AllergyIntolerance.reaction.substance.coding:snomedCT.extension:snomedCTDescriptionID

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.reaction.substance.coding:snomedCT.system

Component: fixedUri

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
http://snomed.info/sct Not defined

Base

“fixedUri” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.substance.coding:snomedCT.code

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.substance.coding:snomedCT.display

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.manifestation.coding

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "system",
      "type": "value"
    }
  ],
  "ordered": false,
  "rules": "open"
}  

Base

“slicing” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT

Component: max

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“max” == *

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}  

Base

{
  "description": "Extensions are always sliced by (at least) url",
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT.extension:snomedCTDescriptionID

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT.system

Component: fixedUri

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
http://snomed.info/sct Not defined

Base

“fixedUri” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT.code

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.manifestation.coding:snomedCT.display

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.severity

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "AllergyIntoleranceSeverity"
    }
  ],
  "strength": "required",
  "valueSetReference": {
    "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ReactionEventSeverity-1"
  }
}  

Base

{
  "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "AllergyIntoleranceSeverity"
    }
  ],
  "strength": "required",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity"
  }
}

Element: AllergyIntolerance.reaction.exposureRoute.coding

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "system",
      "type": "value"
    }
  ],
  "ordered": false,
  "rules": "open"
}  

Base

“slicing” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT

Component: max

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“max” == *

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension

Component: slicing

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

{
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}  

Base

{
  "description": "Extensions are always sliced by (at least) url",
  "discriminator": [
    {
      "path": "url",
      "type": "value"
    }
  ],
  "rules": "open"
}

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.extension:snomedCTDescriptionID

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Nothing to diff, value below Not defined

Diff

[
  {
    "code": "Extension",
    "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
  }
]  

Base

[
  {
    "code": "Extension"
  }
]

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.system

Component: fixedUri

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
http://snomed.info/sct Not defined

Base

“fixedUri” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.code

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.reaction.exposureRoute.coding:snomedCT.display

Component: min

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
1 Not defined

Base

“min” == 0

Element: AllergyIntolerance.extension:allergyIntoleranceEnd

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Extension",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.code

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

{
  "strength": "extensible",
  "valueSet": "https://fhir.simplifier.net/HL7FHIRUKCoreR4/ValueSet/UKCore-AllergyCode"
}  

Base

{
  "description": "Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "AllergyIntoleranceCode"
    }
  ],
  "strength": "example",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/allergyintolerance-code"
  }
}

Element: AllergyIntolerance.patient.identifier.assigner

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Reference",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.encounter

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Reference",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Encounter"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.encounter.identifier.assigner

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Reference",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.recorder.identifier.assigner

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Reference",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.asserter.identifier.assigner

Component: type

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

[
  {
    "code": "Reference",
    "targetProfile": [
      "https://fhir.simplifier.net/HL7FHIRUKCoreR4/StructureDefinition/UKCore-Organization"
    ]
  }
]  

Base

“type” is not defined in the base element definition.

Element: AllergyIntolerance.reaction.substance

Component: binding

CareConnect-AllergyIntolerance-1 UKCoreAllergyIntolerance
Not defined Nothing to diff, value below

Diff

{
  "strength": "extensible",
  "valueSet": "https://fhir.simplifier.net/HL7FHIRUKCoreR4/ValueSet/UKCore-AllergySubstance"
}  

Base

{
  "description": "Codes defining the type of the substance (including pharmaceutical products).",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "valueString": "SubstanceCode"
    }
  ],
  "strength": "example",
  "valueSetReference": {
    "reference": "http://hl7.org/fhir/ValueSet/substance-code"
  }
}