@@ -32,6 +32,7 @@ import {
3232 validateExcluded ,
3333 validateFixedValue ,
3434 validateSliceCardinality ,
35+ validateSliceFields ,
3536 validateEnum ,
3637 validateReference ,
3738 validateChoiceRequired ,
@@ -280,7 +281,9 @@ export class observation_bpProfile {
280281 ...validateReference ( res , profileName , "hasMember" , [ "MolecularSequence" , "QuestionnaireResponse" , "Observation" ] ) ,
281282 ...validateReference ( res , profileName , "derivedFrom" , [ "DocumentReference" , "ImagingStudy" , "Media" , "MolecularSequence" , "QuestionnaireResponse" , "Observation" ] ) ,
282283 ...validateSliceCardinality ( res , profileName , "component" , { "code" :{ "coding" :[ { "code" :"8480-6" , "system" :"http://loinc.org" } ] } } , "SystolicBP" , 1 , 1 ) ,
284+ ...validateSliceFields ( res , profileName , "component" , { "code" :{ "coding" :[ { "code" :"8480-6" , "system" :"http://loinc.org" } ] } } , "SystolicBP" , [ "valueQuantity" ] ) ,
283285 ...validateSliceCardinality ( res , profileName , "component" , { "code" :{ "coding" :[ { "code" :"8462-4" , "system" :"http://loinc.org" } ] } } , "DiastolicBP" , 1 , 1 ) ,
286+ ...validateSliceFields ( res , profileName , "component" , { "code" :{ "coding" :[ { "code" :"8462-4" , "system" :"http://loinc.org" } ] } } , "DiastolicBP" , [ "valueQuantity" ] ) ,
284287 ] ,
285288 warnings : [
286289 ...validateEnum ( res , profileName , "category" , [ "social-history" , "vital-signs" , "imaging" , "laboratory" , "procedure" , "survey" , "exam" , "therapy" , "activity" ] ) ,
0 commit comments