eKOK Dokumentacja Integracyjna
0.5.0 - draft Poland flag

Profil zasobu: PLeKOKCloseSPChangeRequestParametersIn

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-close-sp-change-request-parameters-in Wersja: 0.5.0
Active z dnia 2026-03-17 Nazwa: PLeKOKCloseSPChangeRequestParametersIn

Profil opisuje strukturę danych wejściowych operacji $close-service-provider-change-request obsługującej modyfikację w ramach wniosku o zmianę świadczeniodawcy.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Profil

Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.

Struktura bazuje na Parameters

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... meta
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-close-sp-change-request-parameters-in
... Slices for parameter 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
.... parameter:consideredOn 1..1 BackboneElement Data rozpatrzenia wniosku
..... name 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] 1..1 dateTime Data rozpatrzenia
..... resource 0..0
..... part 0..0
.... parameter:consideredBy 1..1 BackboneElement Pracownik rozpatrujący wniosek
..... name 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... reference 0..0
...... type 0..0
...... identifier 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... use 0..0
....... type 0..0
....... system 1..1 uri System identyfikacji pracownika medycznego
....... value 1..1 string Identyfikator pracownika medycznego
....... period 0..0
....... assigner 0..0
...... display 1..1 string Imię i nazwisko pracownika medycznego
..... resource 0..0
..... part 0..0
.... parameter:status 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
..... name 1..1 string Name from the definition
Required Pattern: status
..... value[x] 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
..... resource 0..0
..... part 0..0
.... parameter:statusReason 0..1 BackboneElement Przyczyna odrzucenia wniosku
..... name 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... coding 0..0
...... text 1..1 string Przyczyna odrzucenia
..... resource 0..0
..... part 0..0
.... parameter:supportingInfo 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
..... name 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... extension 0..0
...... reference 1..1 string Referencja do zasobu Encounter.
...... type 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Fixed Value: Encounter
...... identifier 0..0
...... display 0..0
..... resource 0..0
..... part 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
Constraints: inv-1
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
.... parameter:consideredOn ΣC 1..1 BackboneElement Data rozpatrzenia wniosku
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] ΣC 1..1 dateTime Data rozpatrzenia
.... parameter:consideredBy ΣC 1..1 BackboneElement Pracownik rozpatrujący wniosek
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] ΣC 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... identifier Σ 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... system Σ 1..1 uri System identyfikacji pracownika medycznego
Example General: http://www.acme.com/identifiers/patient
....... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
...... display Σ 1..1 string Imię i nazwisko pracownika medycznego
.... parameter:status ΣC 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: status
..... value[x] ΣC 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
.... parameter:statusReason ΣC 0..1 BackboneElement Przyczyna odrzucenia wniosku
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] ΣC 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... text Σ 1..1 string Przyczyna odrzucenia
.... parameter:supportingInfo ΣC 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] ΣC 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... extension 0..0
...... reference ΣC 1..1 string Referencja do zasobu Encounter.
...... type Σ 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG
Parameters.parameter:supportingInfo.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Parameters.parameter, Parameters.parameter:consideredOn, Parameters.parameter:consideredBy, Parameters.parameter:status, Parameters.parameter:statusReason, Parameters.parameter:supportingInfo A parameter must have one and only one of (value, resource, part) (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-close-sp-change-request-parameters-in
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
Constraints: inv-1
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:consideredOn ΣC 1..1 BackboneElement Data rozpatrzenia wniosku
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] ΣC 1..1 dateTime Data rozpatrzenia
.... parameter:consideredBy ΣC 1..1 BackboneElement Pracownik rozpatrujący wniosek
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] ΣC 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... identifier Σ 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri System identyfikacji pracownika medycznego
Example General: http://www.acme.com/identifiers/patient
....... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
...... display Σ 1..1 string Imię i nazwisko pracownika medycznego
.... parameter:status ΣC 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: status
..... value[x] ΣC 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
.... parameter:statusReason ΣC 0..1 BackboneElement Przyczyna odrzucenia wniosku
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] ΣC 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... text Σ 1..1 string Przyczyna odrzucenia
.... parameter:supportingInfo ΣC 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] ΣC 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..0
...... reference ΣC 1..1 string Referencja do zasobu Encounter.
...... type Σ 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Parameters.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Parameters.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Parameters.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG
Parameters.parameter:supportingInfo.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Parameters.parameter, Parameters.parameter:consideredOn, Parameters.parameter:consideredBy, Parameters.parameter:status, Parameters.parameter:statusReason, Parameters.parameter:supportingInfo A parameter must have one and only one of (value, resource, part) (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

Struktura bazuje na Parameters

Summary

Mandatory: 10 elements(5 nested mandatory elements)
Fixed: 2 elements
Prohibited: 20 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

Widok Differential

Struktura bazuje na Parameters

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... meta
.... profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-close-sp-change-request-parameters-in
... Slices for parameter 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
.... parameter:consideredOn 1..1 BackboneElement Data rozpatrzenia wniosku
..... name 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] 1..1 dateTime Data rozpatrzenia
..... resource 0..0
..... part 0..0
.... parameter:consideredBy 1..1 BackboneElement Pracownik rozpatrujący wniosek
..... name 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... reference 0..0
...... type 0..0
...... identifier 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... use 0..0
....... type 0..0
....... system 1..1 uri System identyfikacji pracownika medycznego
....... value 1..1 string Identyfikator pracownika medycznego
....... period 0..0
....... assigner 0..0
...... display 1..1 string Imię i nazwisko pracownika medycznego
..... resource 0..0
..... part 0..0
.... parameter:status 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
..... name 1..1 string Name from the definition
Required Pattern: status
..... value[x] 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
..... resource 0..0
..... part 0..0
.... parameter:statusReason 0..1 BackboneElement Przyczyna odrzucenia wniosku
..... name 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... coding 0..0
...... text 1..1 string Przyczyna odrzucenia
..... resource 0..0
..... part 0..0
.... parameter:supportingInfo 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
..... name 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... extension 0..0
...... reference 1..1 string Referencja do zasobu Encounter.
...... type 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Fixed Value: Encounter
...... identifier 0..0
...... display 0..0
..... resource 0..0
..... part 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
Constraints: inv-1
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
.... parameter:consideredOn ΣC 1..1 BackboneElement Data rozpatrzenia wniosku
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] ΣC 1..1 dateTime Data rozpatrzenia
.... parameter:consideredBy ΣC 1..1 BackboneElement Pracownik rozpatrujący wniosek
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] ΣC 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... identifier Σ 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... system Σ 1..1 uri System identyfikacji pracownika medycznego
Example General: http://www.acme.com/identifiers/patient
....... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
...... display Σ 1..1 string Imię i nazwisko pracownika medycznego
.... parameter:status ΣC 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: status
..... value[x] ΣC 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
.... parameter:statusReason ΣC 0..1 BackboneElement Przyczyna odrzucenia wniosku
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] ΣC 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... text Σ 1..1 string Przyczyna odrzucenia
.... parameter:supportingInfo ΣC 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
Constraints: inv-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] ΣC 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... extension 0..0
...... reference ΣC 1..1 string Referencja do zasobu Encounter.
...... type Σ 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG
Parameters.parameter:supportingInfo.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Parameters.parameter, Parameters.parameter:consideredOn, Parameters.parameter:consideredBy, Parameters.parameter:status, Parameters.parameter:statusReason, Parameters.parameter:supportingInfo A parameter must have one and only one of (value, resource, part) (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Parameters C 0..* Parameters Operation Request or Response
Constraints: REG.20198, REG.20199, REG.20200, REG.20201
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-close-sp-change-request-parameters-in
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Parametry żądania w ramach operacji $close-service-provider-change-request
Slice: Unordered, Open by value:name
Constraints: inv-1
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:consideredOn ΣC 1..1 BackboneElement Data rozpatrzenia wniosku
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredOn
..... value[x] ΣC 1..1 dateTime Data rozpatrzenia
.... parameter:consideredBy ΣC 1..1 BackboneElement Pracownik rozpatrujący wniosek
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: consideredBy
..... value[x] ΣC 1..1 Reference(Practitioner) Pracownik rozpatrujący wniosek
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... identifier Σ 1..1 Identifier Identyfikator pracownika rozpatrującego wniosek
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri System identyfikacji pracownika medycznego
Example General: http://www.acme.com/identifiers/patient
....... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
...... display Σ 1..1 string Imię i nazwisko pracownika medycznego
.... parameter:status ΣC 1..1 BackboneElement Nowy status wniosku o zmianę Świadczeniodawcy
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: status
..... value[x] ΣC 1..1 code Nowy status wniosku o zmianę Świadczeniodawcy (completed|revoked|entered-in-error)
Binding: PLeKOKServiceRequestCloseStatusVS (required)
.... parameter:statusReason ΣC 0..1 BackboneElement Przyczyna odrzucenia wniosku
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: statusReason
..... value[x] ΣC 1..1 CodeableConcept Przyczyna odrzucenia wniosku
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... text Σ 1..1 string Przyczyna odrzucenia
.... parameter:supportingInfo ΣC 0..1 BackboneElement Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
Constraints: inv-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: supportingInfo
..... value[x] ΣC 0..1 Reference(Encounter) Świadczenie medyczne, w ramach którego leczono pacjenta kardiologicznego przed wnioskiem o zmianę świadczeniodawcy ('assumption-of-care').
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..0
...... reference ΣC 1..1 string Referencja do zasobu Encounter.
...... type Σ 1..1 uri Typ zasobu z danymi świadczenia medycznego (Encounter)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Parameters.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Parameters.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Parameters.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Parameters.parameter:status.​value[x] Base required PLeKOKServiceRequestCloseStatusVS 📦0.5.0 This IG
Parameters.parameter:supportingInfo.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
REG.20198 error Parameters Zmiana statusu musi dotyczyć aktywnego wniosku o zmianę świadczeniodawcy. %server.getServiceRequest().status = 'active'
REG.20199 error Parameters Wskazane świadczenie medyczne musi być powiązane z aktywną kartą eKOK %resource.parameter.exists(name ='supportingInfo') implies %server.getEkokCardByEncounter(%resource.parameter.where(name='supportingInfo').value.reference).status = 'active'
REG.20200 error Parameters Zmiana statusu wniosku wymaga podania przyczyny odrzucenia wniosku o zmianę świadczeniodawcy (%resource.parameter.exists(name ='status' and value ='revoked') or %resource.parameter.exists(name ='status' and value ='entered-in-error')) implies %resource.parameter.exists(name ='statusReason')
REG.20201 error Parameters Zmiana statusu wniosku wymaga podania danych świadczenia medycznego %resource.parameter.exists(name ='status' and value ='completed') and getServiceRequest().intent='proposal' implies %resource.parameter.exists(name ='supportingInfo')
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Parameters.parameter, Parameters.parameter:consideredOn, Parameters.parameter:consideredBy, Parameters.parameter:status, Parameters.parameter:statusReason, Parameters.parameter:supportingInfo A parameter must have one and only one of (value, resource, part) (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

Struktura bazuje na Parameters

Summary

Mandatory: 10 elements(5 nested mandatory elements)
Fixed: 2 elements
Prohibited: 20 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

 

Inne struktury profilu: CSV, Excel, Schematron