ProfilePTPS/alergias_intolerancias/AllergyIntolerancePTPSRMV.StructureDefinition.json

idΣ1..1id
metaΣ0..1MetaPTCore
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
containedI0..*Resource
id0..1id
extensionI0..*Extension
url1..1uriFixed Value
valueDateTimedateTime
allergyIntoleranceTypePTExtensionI0..1Extension(CodeableConceptPTCore)
modifierExtension?! I0..*Extension
id0..1id
extensionI0..*Extension
useΣ ?!0..1codeBinding
id0..1id
extensionI0..*Extension
id0..1id
extensionI0..*Extension
systemΣ1..1uri
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
textΣ1..1string
systemΣ0..1uri
valueΣ1..1string
periodΣ I0..1PeriodPTCore
assignerΣ I0..0Reference(OrganizationPTCore)
clinicalStatusΣ ?! I0..0CodeableConceptPTCoreBinding
id0..1id
extensionI0..*Extension
id0..1id
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1codeFixed Value
displayΣ1..1stringFixed Value
userSelectedΣ0..0boolean
textΣ1..1string
typeΣ0..0codeBinding
categoryΣ I0..1codeBinding
criticalityΣ0..0codeBinding
id0..1idFixed Value
extensionI0..*Extension
codingΣ0..*CodingPTCore
textΣ1..1string
id0..1idFixed Value
extensionI0..*Extension
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
id0..1idFixed Value
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1code
displayΣ1..1string
userSelectedΣ0..0boolean
textΣ1..1string
patientS Σ I1..1ReferencePTCore(PatientPTPSSNC)
encounterI0..0ReferencePTCore(https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EncounterPTCore)
onsetDateTimedateTime
onsetAgeAgePTCore
onsetPeriodPeriodPTCore
onsetRangeRangePTCore
onsetStringstring
recordedDate0..1dateTime
recorderI0..1ReferencePTCore(PractitionerRolePTPSSNC)
asserterΣ I0..1ReferencePTCore(PractitionerPTPS | PractitionerRolePTPS | PatientPTPS | https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RelatedPersonPTPS)
lastOccurrence0..1dateTime
note0..*AnnotationPTCore
id0..1id
severityReactionPTExtensionI0..*Extension(CodeableConceptPTCore)
modifierExtensionΣ ?! I0..*Extension
substance0..0CodeableConceptPTCore
manifestationS1..*CodeableConceptPTCoreBinding
description0..1string
onset0..1dateTime
severity0..0codeBinding
exposureRoute0..1CodeableConceptPTCoreBinding
note0..*AnnotationPTCore

 

 

Binding

PathStrengthValueSetComment

Extension.value[x]

AllergyIntoleranceType

required

https://www.ctc.min-saude.pt/catalogos/alergias-e-outras-reacoes-adversas

Value Set Name: Allergy Intolerance Type

Extension.value[x]

SeverityReaction

required

https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-clinico

Value Set Name: Severity

Identifier.type

extensible

https://spms.min-saude.pt/iop/valueset/ExtensionIdentifierType

Value Set: ExtensionIdentifierType

AllergyIntolerance.code

allergenNoDrug

required

https://www.ctc.min-saude.pt/catalogos/alergias-e-outras-reacoes-adversas

Value Set Name: Allergen No Drug

AllergyIntolerance.reaction.manifestation

required

https://www.ctc.min-saude.pt/catalogos/alergias-e-outras-reacoes-adversas

Value Set Name: Reaction Manifestation

AllergyIntolerance.reaction.exposureRoute

required

https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-da-medicacao

Value Set Name: Route of Administration

Para mais informações sobre a utilização do elemento system consultar Systems.
 

Binding do FHIR Required

Path strength ValueSet

AllergyIntolerance.clinicalStatus

required

AllergyIntolerance Clinical Status Codes

AllergyIntolerance.verificationStatus

required

AllergyIntolerance Verification Status Codes

AllergyIntolerance.category

required

AllergyIntoleranceCategory

AllergyIntolerance: Identifier.use

required

IdentifierUse

Identifiers Type

Estes Identificadores devem ser utilizados no elemento

identifier.type.coding[*]

 

Regras de implementação

Para além das constraints identificadas pelo FHIR para este recurso devem ser consideradas as constraints que identificamos na tabela infra.

PathKeyDescricao

AllergyIntolerance

aitPtCore-01

Quando o código associado ao elemento AllergyIntolerance.category corresponde a 'medication' é obrigatório o envio de um código ATC no elemento AllergyIntolerance.code. Quando o código associado ao elemento AllergyIntolerance.category corresponde a 'food', 'environment', 'biologic' é obrigatório o envio, no elemento AllergyIntolerance.code, de um código pertencente ao value set Allergen No Drug. O desconhecimento de existência de alergias ou intolerância TERÁ de ser claramente documentado, enviando no elemento AllergyIntolerance.code, o código 716186003. Quando no elemento AllergyIntolerance.code é enviado o código 716186003, está dispensado o envio do elemento AllergyIntolerance.category e AllergyIntolerance.type.

(category.exists() and (code.id).exists() and code.id='drugAllergen' and category ='medication') or ( category.exists() and (code.id).exists() and code.id='allergenNoDrug' and (category='food' )) or (category.exists() and (code.id).exists() and code.id='allergenNoDrug' and (category='biologic' )) or ( (code.id).exists() and code.id='allergenNoDrug' and (category='environment' ) ) or ((code.id).exists() and code.id='absentOrUnknownAllergy' and (category.exists().not() or category .exists()))



Voltar ao início