MII-Initiative

MII IG Meta v2025

MII PR Meta SearchParameter

Das Profil legt die Mindestanforderungen fest, die SearchParameter-Ressourcen im Kerndatensatz erfüllen müssen.

NameStatusVersionLizenzCanonicalBasis
MII_PR_Meta_SearchParameteractive2025.0.0CC-BY-4.0https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameterhttp://hl7.org/fhir/StructureDefinition/SearchParameter

Folgende Invariante MUSS bei der Erstellung von Custom SearchParameter-Ressourcen berücksichtigt werden.

keyseverityhumanexpression
search-param-code-regexerrorIn SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`.matches('[^\\s.$|]+')

Inhalt

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
urlΣ1..1uri
versionΣ1..1string
nameΣ I1..1string
derivedFrom0..1canonical(SearchParameter)
statusΣ ?!1..1codeBinding
experimentalΣ1..1boolean
dateΣ1..1dateTime
publisherΣ1..1string
contactΣ1..*ContactDetail
descriptionΣ1..1markdown
useContextΣ0..*UsageContext
jurisdictionΣ0..*CodeableConceptBinding
purpose0..1markdown
codeΣ I1..1code
baseΣ1..*codeBinding
typeΣ1..1codeBinding
expressionI0..1string
xpathI0..1string
xpathUsageI0..1codeBinding
target0..*codeBinding
multipleOr0..1boolean
multipleAnd0..1boolean
comparator0..*codeBinding
modifier0..*codeBinding
chain0..*string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
definition1..1canonical(SearchParameter)
expression1..1string

Das Profil legt die Mindestanforderungen fest, die SearchParameter-Ressourcen im Kerndatensatz erfüllen müssen.

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="mii-pr-meta-searchparameter" />
    <extension url="https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-ex-meta-license-codeable">
        <valueCodeableConcept>
            <coding>
                <system value="http://hl7.org/fhir/spdx-license" />
                <code value="CC-BY-4.0" />
                <display value="Creative Commons Attribution 4.0 International" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <url value="https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameter" />
    <version value="2025.0.0" />
    <name value="MII_PR_Meta_SearchParameter" />
    <title value="MII PR Meta SearchParameter" />
    <status value="active" />
    <experimental value="true" />
    <date value="2024-07-01" />
    <publisher value="Medizininformatik Initiative" />
    <contact>
        <telecom>
            <system value="url" />
            <value value="https://www.medizininformatik-initiative.de" />
        </telecom>
    </contact>
    <description value="Das Profil legt die Mindestanforderungen fest, die SearchParameter-Ressourcen im Kerndatensatz erf&#252;llen m&#252;ssen." />
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="SearchParameter" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/SearchParameter" />
    <derivation value="constraint" />
    <differential>
        <element id="SearchParameter.version">
            <path value="SearchParameter.version" />
            <min value="1" />
        </element>
        <element id="SearchParameter.experimental">
            <path value="SearchParameter.experimental" />
            <min value="1" />
        </element>
        <element id="SearchParameter.date">
            <path value="SearchParameter.date" />
            <min value="1" />
        </element>
        <element id="SearchParameter.publisher">
            <path value="SearchParameter.publisher" />
            <min value="1" />
        </element>
        <element id="SearchParameter.contact">
            <path value="SearchParameter.contact" />
            <min value="1" />
        </element>
        <element id="SearchParameter.code">
            <path value="SearchParameter.code" />
            <constraint>
                <key value="search-param-code-regex" />
                <severity value="error" />
                <human value="In SearchParameter.code D&#220;RFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`." />
                <expression value="matches(&#39;[^\\s.$|]+&#39;)" />
                <source value="https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameter" />
            </constraint>
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "id": "mii-pr-meta-searchparameter",
    "extension":  [
        {
            "url": "https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-ex-meta-license-codeable",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "code": "CC-BY-4.0",
                        "system": "http://hl7.org/fhir/spdx-license",
                        "display": "Creative Commons Attribution 4.0 International"
                    }
                ]
            }
        }
    ],
    "url": "https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameter",
    "version": "2025.0.0",
    "name": "MII_PR_Meta_SearchParameter",
    "title": "MII PR Meta SearchParameter",
    "status": "active",
    "experimental": true,
    "date": "2024-07-01",
    "publisher": "Medizininformatik Initiative",
    "contact":  [
        {
            "telecom":  [
                {
                    "system": "url",
                    "value": "https://www.medizininformatik-initiative.de"
                }
            ]
        }
    ],
    "description": "Das Profil legt die Mindestanforderungen fest, die SearchParameter-Ressourcen im Kerndatensatz erfüllen müssen.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "SearchParameter",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/SearchParameter",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "SearchParameter.version",
                "path": "SearchParameter.version",
                "min": 1
            },
            {
                "id": "SearchParameter.experimental",
                "path": "SearchParameter.experimental",
                "min": 1
            },
            {
                "id": "SearchParameter.date",
                "path": "SearchParameter.date",
                "min": 1
            },
            {
                "id": "SearchParameter.publisher",
                "path": "SearchParameter.publisher",
                "min": 1
            },
            {
                "id": "SearchParameter.contact",
                "path": "SearchParameter.contact",
                "min": 1
            },
            {
                "id": "SearchParameter.code",
                "path": "SearchParameter.code",
                "constraint":  [
                    {
                        "key": "search-param-code-regex",
                        "severity": "error",
                        "human": "In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`.",
                        "expression": "matches('[^\\\\s.$|]+')",
                        "source": "https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameter"
                    }
                ]
            }
        ]
    }
}